Jump to content

how to access column value of gridview under rowdatabound event

Recommended Posts

please suggest me how i can access Gridview's column value under rowdatabound event.


I have tried below


Protected Sub GridView2_RowDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles GridView2.RowDataBound


Dim asbcdval As String


asbcdval = e.Row.Cells(0).Text


end sub


but this returns "" means nothing.


please solve my problem

Edited by rhishi20
Link to post
Share on other sites
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...