P
palmah11
Hi,
I have a Windows Application in which i am using Janus GRidEx for
displying data. In this Janus Grid i have a check box column.
i want a functionality if user selects checkbox for particula row(s)
and then hit delete button, the dat should get deleted.
For this i am using GetCheckedRows method to retrieve all checked
rows.
This method return an array of Janus.Windows.GridEX.GridEXRow.
I want to convert this array into datarow array or dataset.
How can i acheive this.
Dim drCollection() As Janus.Windows.GridEX.GridEXRow
Dim drRowCollection As DataRowCollection
Dim drRows() As DataRow
Dim DtRow As DataRow = Nothing
Dim iCount As Integer
drCollection = grdList.GetCheckedRows()
'For iCount = 0 To drCollection.Length - 1
'DtRow = CType(drCollection(iCount).DataRow, DataRowView).Row
'drRows(iCount) = DtRow
'drRowCollection.Add(DataRow) // I am getting error on this line
'Next
thanks
I have a Windows Application in which i am using Janus GRidEx for
displying data. In this Janus Grid i have a check box column.
i want a functionality if user selects checkbox for particula row(s)
and then hit delete button, the dat should get deleted.
For this i am using GetCheckedRows method to retrieve all checked
rows.
This method return an array of Janus.Windows.GridEX.GridEXRow.
I want to convert this array into datarow array or dataset.
How can i acheive this.
Dim drCollection() As Janus.Windows.GridEX.GridEXRow
Dim drRowCollection As DataRowCollection
Dim drRows() As DataRow
Dim DtRow As DataRow = Nothing
Dim iCount As Integer
drCollection = grdList.GetCheckedRows()
'For iCount = 0 To drCollection.Length - 1
'DtRow = CType(drCollection(iCount).DataRow, DataRowView).Row
'drRows(iCount) = DtRow
'drRowCollection.Add(DataRow) // I am getting error on this line
'Next
thanks