Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/vb.net/17.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
DataGrid VB.NET 2005 URL编写_.net_Vb.net - Fatal编程技术网

DataGrid VB.NET 2005 URL编写

DataGrid VB.NET 2005 URL编写,.net,vb.net,.net,Vb.net,我有DataGrid和一个超链接字段,但我想通过使用URLwriting发送一些与此链接相关的信息。我试过这个,但不起作用。所以,请帮帮我 ~/Logout.aspx?ID="row.Cells(1).Text" 我想发送数据网格列的值,但我得到的是row.Cells.Text,而不是此列的值。因此,我想知道如何获得此列的值。试试: "~/Logout.aspx?ID=" & row.Cells(1).Value 看看你能不能得到你想要的 如果这不是你想要的,再多澄清一点就好了。你被

我有DataGrid和一个超链接字段,但我想通过使用URLwriting发送一些与此链接相关的信息。我试过这个,但不起作用。所以,请帮帮我

~/Logout.aspx?ID="row.Cells(1).Text"
我想发送数据网格列的值,但我得到的是row.Cells.Text,而不是此列的值。因此,我想知道如何获得此列的值。

试试:

"~/Logout.aspx?ID=" & row.Cells(1).Value
看看你能不能得到你想要的


如果这不是你想要的,再多澄清一点就好了。

你被剪掉的代码甚至无法编译。。。我建议发布一个更有意义的部分。首先,请查看以下链接: