calling a cell in a datagrid...

son

Regular
Joined
Feb 21, 2004
Messages
67
hi i am using this code to retrieve an item from a datagrid and its working fine.. i would like to though call the cells name instead of calling the the cells id which has an integer... can someone help me out please.. thanks in advance...;)


the way i am calling the cells value is as follows

Visual Basic:
  If e.CommandName = "edetails" Then
            Response.Redirect("searchequipment.aspx?equipid=" + e.Item.Cells(0).Text())
        End If
 
hi thanks for your reply.. i am giving it my datafield but its not working..its not allowing me to add a column name.to the code i have below in my aspx file.


Visual Basic:
<asp:BoundColumn DataField="cjc_fk" HeaderText="Client ID">

have any suggestions...
 
Back
Top