Click here to Skip to main content
15,897,334 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
string n = Request.QueryString[0].ToString();
is work on locally..but after deploy on server it not works..I can see query string value on address bar..but cant use in code..How to recover that problem?
Posted
Comments
Thanks7872 9-Oct-13 1:53am    
First of all,no need to use ToString() here. Further,Post the actual query string and code how you try to get value out of it.
Member 10315373 9-Oct-13 2:32am    
ok....but also not work on server...........
Thanks7872 9-Oct-13 2:34am    
That is not what i asked for? I asked you to post actual query string and code how you try to retrieve value from that query string. If you need help,you should always post smallest possible code snippet you faced problem with.
Member 10315373 9-Oct-13 4:07am    
<asp:HyperLinkField DataNavigateUrlFields="InvoiceNumber"
DataNavigateUrlFormatString="InvoiceDetails.aspx?InvNo={0}"
DataTextField="InvoiceNumber" HeaderText="Invoice Number"
NavigateUrl="~/InvoiceDetails.aspx">

1 solution

Hey dear, if possible then please use try catch statement and put your code inside them to check which kind of error generated. So, it's be easy to find out actual problem..otherwise send me your code with snapshot becz any time each functionality not working properly on hosted server. so, we have to find out actual problem...so send me your code with snapshot.....
 
Share this answer
 
Comments
Member 10315373 9-Oct-13 5:34am    
Its work fine............Thank You very much...
Chintan Desai1988 9-Oct-13 5:36am    
you always welcome dear....:-)
Member 10315373 9-Oct-13 5:37am    
sending gridview data to excel works fine...but i want to send lable text and textbox text to excel as header with grid view.how to do it?

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


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