|
-
Jun 9th, 2004, 10:38 AM
#1
Thread Starter
Lively Member
How can I capture DataGrid Cell value?
Hi,
I have a DataGrid and there is a Delete button. When I press the Delete button, I want to capture 4th cell value from the data grid and use it, but no value is returned. What do you think my problem?
Button is defined as:
<asp:ButtonColumn Text="Delete" CommandName="Delete"></asp:ButtonColumn>
Private Sub dgConsultants_ItemCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridCommandEventArgs) Handles dgConsultants.ItemCommand
Dim item As String = e.Item.Cells(4).Text
End Sub
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|