7
Reply

Query String on Gridview

Raul Juarez

Raul Juarez

Jan 19 2010 10:34 AM
6.4k

Would some one help me to find out what am doing wrong? I added
& currentUser=<%txtCurrentUser.Text%> and I had the error below
Code:
<ItemTemplate>
<a href="OrderShoeRepairByCompany.aspx?VendorID=<%# ((Vendor)Container.DataItem).VendorID.ToString()%>& currentUser=<%txtCurrentUser.Text%>">Go to Services</a>
</ItemTemplate>
Error:
Compiler Error Message: CS1002: ; expected
Line 946:            #line default
Line 947:            #line hidden
Line 948:            @__w.Write("\">Go to Services</a>\r\n                        \r\n                        \r\n       " +
Line 949:                    "             ");
Line 950:        }

Answers (7)