Dim dt As New DataTable("FarPoint")
dt.Columns.Add("Product")
dt.Rows.Add(New Object(){"SpreadWebv2"})
dt.Rows.Add(New Object(){"InputProforWinForms"})
Dim dm As New FarPoint.Web.Spread.Model.DefaultSheetDataModel(dt)
FpSpread1.ActiveSheetView.DataModel=dm
FpSpread1.ActiveSheetView.Columns(0).Width=240
DataTable dt = new DataTable("FarPoint");
dt.Columns.Add("Product");
dt.Rows.Add(new object[]{"SpreadWebv2"});
dt.Rows.Add(new object[]{"InputProforWinForms"});
FarPoint.Web.Spread.Model.DefaultSheetDataModel dm = new FarPoint.Web.Spread.Model.DefaultSheetDataModel(dt);
FpSpread1.ActiveSheetView.DataModel=dm;
FpSpread1.ActiveSheetView.Columns[0].Width=240;