[英]DataGrid VB.NET 2005 URL writing
I have DataGrid and I have a hyperlink field but I want to send some information with this link by using URLwriting. 我有DataGrid,并且有一个超链接字段,但是我想使用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. 我想发送数据网格的列的值,但是我收到的是“ row.Cells.Text”,而不是接收到它的值。 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. 如果这不是您想要的内容,请多做一些澄清。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.