Hi Makhaai,
I am not using C# software. I am using VBNET2008 with ASPNET2008 within
Regarding your suggestion listed below:
protected void GridView1_SelectedIndexChanged(object sender, EventArgs e)
{
int selectedRow = GridView1.SelectedIndex;
string firstColumn = GridView1.Rows[selectedRow].Cells[0].Text;
string secondColumn = GridView1.Rows[selectedRow].Cells[1].Text;
}
-----------------------------------------------------------
I convert it to VB Scripting and tried to run it but it generate this error message:
'cells' is not a member of 'Integer'. :laugh:
This is the ASP Vb version
Protected Sub GridView1_SelectedIndexChanged(ByVal sender As Object, ByVal E As System.EventArgs)
Dim intSelectRow As Integer = GridView1.SelectedIndex
Dim GVRow As GridViewRow
Dim strCustID As String = GridView1.Rows(intSelectRow.cells(1).text)
End Sub