Hello,
I have a datagrid with an EditCommandColumn. My oneditcommand is
Sub doEdit(ByVal sender As Object, ByVal e As DataGridCommandEventArgs)
dgUsers.EditItemIndex = e.Item.ItemIndex
queryAlpha(sort)
End Sub
When I rebind the data which is queryAlpha(sort as string),
I need to send the value of one of the cells of the row selected. How can I do this? I have tried
Dim sort as string = Ctype(e.item.columns(1).controls(0),textbox).text
I know this is the right column, but I just get a blank value.
Please help. =)
I have a datagrid with an EditCommandColumn. My oneditcommand is
Sub doEdit(ByVal sender As Object, ByVal e As DataGridCommandEventArgs)
dgUsers.EditItemIndex = e.Item.ItemIndex
queryAlpha(sort)
End Sub
When I rebind the data which is queryAlpha(sort as string),
I need to send the value of one of the cells of the row selected. How can I do this? I have tried
Dim sort as string = Ctype(e.item.columns(1).controls(0),textbox).text
I know this is the right column, but I just get a blank value.
Please help. =)