Can someone explain what I'm doing wrong in my attempt to pass parameter values to my delete method. The first value that I get from the profile is passed, but the values taken from the selected row aren't passed (actually passing the default value of 0). I have attached a printscreen that may help. Thanks in advance.
Unable to pass parameters to method
Collapse
X
-
-
I guess what I'm trying to do is get the value of the cell (any cell) of the selected row. For some reason, I'm not getting that across to Visual Studio. I need to get two values from the selected grid row to pass along with the employee number to the delelte method.Comment
-
i couldnt get whats the problem is ?/ you could get all value from the row that is selected ?????Comment
-
Dim index As Integer = Convert.ToInt32 (e.rowindex)
Dim row As GridViewRow = GridViewSubject .Rows(index)
row.Cells(0).Te xtComment
Comment