Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
5549
RowSelectionChanged and then? how can i get the values of the selected row
posted

 

 

 

 

 

The following event is fired, i have a selected row.

Protected Sub WebDataGrid1_RowSelectionChanged(ByVal sender As Object, ByVal e As Infragistics.Web.UI.GridControls.SelectedRowEventArgs) Handles

WebDataGrid1.RowSelectionChanged

 

 

If e.CurrentSelectedRows.Count > 0 And Not IsNothing(e.CurrentSelectedRows(0))

Then

 

 

Dim selectedRows As

Infragistics.Web.UI.GridControls.SelectedRowCollection = e.CurrentSelectedRows

 

 

Dim dataItem As Object = e.CurrentSelectedRows(0).DataItem

when i click on a row of a webdatagrid i want get the current id of the dataset's current id
for example the customerid of the dataset.
i bind my webdatagrid to a dataset (everything i do in vb.net ! )
how can i ge the data through
e.CurrentSelectedRows ????