Hi everyone,
We are planning to use Infragistics 2010 Vol. 1 for our development.
Is there any example/sample that demonstrates WebDataGrid Add/Update/Delete/Paging/Sorting/Filtering features using DataSet. We have business layers implemented that accepts/returns DataTable/DataSet.
I would appreciate if someone can please point me in the right direction.
Thanks
Hi,
Which Infragistics version are you using? Can you attach a sample with which we can replicate this?
Regards,
Lyuba
Developer Support Engineer
Infragistics
www.infragistics.com/support
Hi Lyuba,
Thanks for the reply.
I think my question little confused for you,sorry for that.
My question is how we get the cell value from webdatagrid which we edited.I give the code for row updated event which is fired but i didn't get the cell values.
protected void WebDataGrid1_RowUpdated(object sender,Infragistics.Web.UI.GridControls.RowUpdatedEventArgs e) {IDPair id = e.RowID; GridRecord row = this.WebDataGrid1.Rows.FromIDPair(id);
}In row i get null.Please help.
You can use different methods for updating database, for example you can use DataAdapter.Update. More information about this you can find here:
http://msdn.microsoft.com/en-us/library/system.data.common.dataadapter.update.aspx
Hope this helps.
protected
e) {
{
id = e.RowID;
.WebDataGrid1.Rows.FromIDPair(id);
//update the row in the database
}
Can You please give the code for update it into the database.I didn't know hove we get the column valuse.Plaese Help..........
Hey Lyuba,
I am adding a link to the other thread - http://community.infragistics.com/forums/p/43644/239271.aspx#239271
I will appreciate if you could please respond either on this or the other thread.
Thanking you