A Question about "Response"
Index
‹
.NET Development
‹
.NET Base Class Library
Author
Message
GuoHouzuo
Posted: .NET Base Class Library, A Question about "Response"
Top
How to write a hyper link to another aspx page by using response.write method
I don't know how to write the " in the code....
Response.write("<a href="/welcome.aspx"");
there are some errors on it...
I 'm a Chinese,so I can't speak english very well.i am so sorry about that....
the code is here:
for (int i = 0; i < ds2.Tables[0].Rows.Count; i++)
{
Object[] objs = ds2.Tables[0].Rows
.ItemArray;
Session["CanQuery" + i.ToString()] = objs[0].ToString();
Response.Write("<br><a href=chakanxinxi.aspx tblname=" + Session["CanQuery" + i.ToString()]+"></a>");
}
.NET Development8
Mattias Sjogren
Posted: .NET Base Class Library, A Question about "Response"
Top
"<a href=\"/welcome.aspx\""
or
or
"<a href='/welcome.aspx'"
GuoHouzuo
Posted: .NET Base Class Library, A Question about "Response"
Top
Thank you.
Index
‹
.NET Development
‹
.NET Base Class Library