Click here to Skip to main content
15,884,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Query string error (i have a master page and i pass query string in a child page in asp.net)
<a href="../abc?i=<%#Eval("id")%>"> <%#Eval("username")%></a>

In child page in abc.aspx
string req=request.querystring["i"].tostring();

output appear in
4.css

But i want only
4 value 
Posted
Updated 13-Sep-13 22:25pm
v2
Comments
JoCodes 14-Sep-13 3:47am    
Whats the error you are getting?
Sandesh M Patil 14-Sep-13 4:23am    
Is this control on master page? If yes you can find the master control on child page. If not, store the value in session and retrieve it.
OriginalGriff 14-Sep-13 4:24am    
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind.
Use the "Improve question" widget to edit your question and provide better information.
Dholakiya Ankit 14-Sep-13 4:29am    
how css comes?

1 solution

try this hope this will help you


string[] req=request.querystring["i"].ToString().Split('.');
string req1=req[0].ToString();
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900