iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
How to add a datatable or dataview to isdatasource,or creat a isdatasource by the server code auto?
Such as IsDataSource.Tables.Add(DataTable);
Thanks!
Below is the snippet that shows how to create ISDataSource at runtime.
protected void Page_Load(object sender, EventArgs e) { ISDataSource isds = new ISDataSource(); isds.ID = "ISDataSource1"; isds.SchemaName = "dsNorthwind_ReadOnly"; isds.SchemaType = ISNet.WebUI.DataSource.SchemaType.DataSet; ISDataSourceTable ShippersTable = new ISDataSourceTable(); ShippersTable.TableName = "Shippers"; ShippersTable.SelectMethod = "GetData"; isds.Tables.Add(ShippersTable); isds.Tables[0].TypeName = "dsNorthwind_ReadOnlyTableAdapters.ShippersTableAdapter"; Page.Controls.Add(isds); }
Hope this helps.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname