I have DataGrid and I have a hyperlink field but I want to send some information with this link by using URLwriting. I have tried this, but it's not working. So, please help me out.
~/Logout.aspx?ID="row.Cells(1).Text"
I want to send the value of data grid's column but I am getting "row.Cells.Text" instead of receiving the value of this. So I want to know how I would be able to get the value of this column.
Try:
"~/Logout.aspx?ID=" & row.Cells(1).Value
See if that gets you what you want.
A little more clarification would be nice if this isn't what you are looking for.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.