Hi ,
I need the data from the ultrawebgrid as a data table for verification. This i have done it in Window application. I need to do it in WebApp. Somebody can help me in this regards.
Thanks alot.
nrv,
ASP.NET applications do not provide the ability to directly use a DataSet object in the design view, starting with version 2.0 of the .NET Framework. This leaves you with two options - using ObjectDataSource for design-time support or using the DataSet entirely in code.
If you want to use ObjectDataSource, I strongly recommend that you look over the MSDN documentation provided for ObjectDataSource. This control works the same for WebGrid as it does for the .NET GridView. Remember that ObjectDataSource represents "flat" data; if your DataSet contains multiple DataTables linked by relations, you'll want to expose each table with its own ObjectDataSource and link these together using our WebHierarchicalDataSource.
The alternative is to instantiate, fill, and bind your DataSet in code. For WebGrid, the typical suggestion is to use the grid's InitializeDataSource event to fill your DataSet and set it as the DataSource of your grid.
Thanks for your reply. I have attached sample website where i want your help. This is also commented in the button event.
My requirement as follows :
I have assigned a data to the UltrawebGrid. On a button click event, i want get data from the Grid and assign it to a Data Table.
Thanks in advance.