0
我想这段代码在VB.NET我无法将它转换...在C#转换代码段VB.Net
代码1
Response.Redirect("user.aspx?val=" + txtBox.Text);
string strVal = Request.QueryString["val"];
代码2
Session["val"] = txtBox.Text;
Response.Redirect("user.aspx");
String strVal = (string) Session["val"];
为什么不呢?你尝试了什么? – SLaks 2011-12-30 03:52:13
检查此链接。
[http://www.developerfusion.com/tools/convert/csharp-to-vb/](http://www.developerfusion.com/tools/convert/csharp-to-vb/) – 2011-12-30 03:51:00