This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.IO;
|
||||
|
||||
namespace W2PGrid
|
||||
{
|
||||
public class MyGrid : C1.Win.C1FlexGrid.C1FlexGrid
|
||||
{
|
||||
public string GetXML()
|
||||
{
|
||||
string retstr = null;
|
||||
using (StringWriter sw = new StringWriter())
|
||||
{
|
||||
this.WriteXml(sw);
|
||||
retstr = sw.GetStringBuilder().ToString();
|
||||
sw.Close();
|
||||
}
|
||||
return retstr;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user