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 Servicesa>
ItemTemplate>
Error:
Compiler Error Message: CS1002: ; expected
Line 946: #line default
Line 947: #line hidden
Line 948: @__w.Write("\">Go to Services\r\n \r\n \r\n " +
Line 949: " ");
Line 950: }
Loading
Raul JuarezPosted Jan 22, 2010, 4:02 PM
<a href="OrderShoeRepairByCompany.aspx?VendorID=<%# ((Vendor)Container.DataItem).VendorID.ToString()%>¤tUser=<%# txtCurrentUser.Text%>">Go to Servicesa>ItemTemplate>
Sam HobbsPosted Jan 22, 2010, 1:54 PM
Please ask the question you need help with instead of just wasting other people's time.
Raul JuarezPosted Jan 21, 2010, 5:13 PM
It is easy to see the error and answer YUPI semicolons is the problem. but in this case I was asking what I was doing wrong in passing the variables as quesrystring and no specifically about semicolons. Your answer didn't help me sorry.
Sam HobbsPosted Jan 21, 2010, 3:26 PM
Raul JuarezPosted Jan 19, 2010, 9:13 PM
<ItemTemplate>
<a href="OrderShoeRepairByCompany.aspx?VendorID=<%# ((Vendor)Container.DataItem).VendorID.ToString()%>¤tUser=<%# txtCurrentUser.Text%>">Go to Servicesa>ItemTemplate>
Raul JuarezPosted Jan 19, 2010, 8:13 PM
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS1026: ) expected
Line 105: --%>
Line 106:
Line 107: Go to Services
Line 108:
Line 109:
Source File: c:\Projectos\ShoeRepairNY\Default.aspx Line: 107
Sam HobbsPosted Jan 19, 2010, 4:32 PM