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
Hi,In my app. I have a datastructure that has dynamic number of columns (and rows). It is a report. I retrieve data from the database and build a DataSet runtime to hold the data. I define the tables, columns in eahc table, etc. Actualy there is only one table, but as I say the number of columns is dynamic. Then I bind this DataSet to a WebGrid. All works fine untill the number of rows x columns increases, building the WebGrid is very time consuming on the web server (typicaly when rows x columns > 168 x 8.So I thought the solution would be to bind the WebGrid with a ISDataSource in code. But how can I create a ISDataSource in code when there is no schema name. There is no need for a GetData method ad the DataSet table is already populated, when I want to bind the WebGrid to the ISDataSource in the InitializeDataSource event.
Is there any solution to this?
Hi Jonsson,
You can make ISDataSource programmatically in server side event. But still you need SchemaName to bind the DataSet to ISDataSource. But I don't think it will be faster than you are using dynamic DataSet. You doesn't need too much code behind if you're using Data source control because the code will be handled by Data Source control in this case ISDataSource. Also for this case, I think it will be the same as you used dynamic DataSet. Hope this helps.
Regards,
Bernard
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