| | |
Temporary Web Page problem
Please support our ASP.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Feb 2008
Posts: 4
Reputation:
Solved Threads: 0
I have question about Temporary Web Page.
When I click on link in my web application and redirect to ( for example)
mywebsite.com/12.aspx.
When event OnLoad() fire,I read value 12, which is Primary key and make query to the database,get record and represent on web page.
But,I need temporary web page with a address mywebsite.com/mynumber.aspx.
or whatever,where I can read value of mynumber ,make query and represents data to web page.
Is there any idea how can I solve this problem.
Thanks in advance
David
When I click on link in my web application and redirect to ( for example)
mywebsite.com/12.aspx.
When event OnLoad() fire,I read value 12, which is Primary key and make query to the database,get record and represent on web page.
But,I need temporary web page with a address mywebsite.com/mynumber.aspx.
or whatever,where I can read value of mynumber ,make query and represents data to web page.
Is there any idea how can I solve this problem.
Thanks in advance
David
•
•
Join Date: Feb 2008
Posts: 30
Reputation:
Solved Threads: 4
•
•
•
•
I have question about Temporary Web Page.
When I click on link in my web application and redirect to ( for example)
mywebsite.com/12.aspx.
When event OnLoad() fire,I read value 12, which is Primary key and make query to the database,get record and represent on web page.
But,I need temporary web page with a address mywebsite.com/mynumber.aspx.
or whatever,where I can read value of mynumber ,make query and represents data to web page.
Is there any idea how can I solve this problem.
Thanks in advance
David
You are talking about Querystring OR URL Rewriting. Querystring is some information attached on the end of the URL after question mark sign. For ex
http://www.mydomain.com/productdetails.aspx?pid=12
Quesrystring is pid=12
You can access querystring as follows
int i=Request.QueryString["pid"].ToInt32();
After that you can easily make database connection and access appropriate data from it.
Hope this will help you.
Thanks & Regards
Dilip Kumar Vishwakarma
Programmer
.Net Consulting
![]() |
Similar Threads
- Web Controls (ASP.NET)
- Page cannot be displayed (Web Browsers)
- trusted start page (Viruses, Spyware and other Nasties)
- Problem's checking e-mail (Viruses, Spyware and other Nasties)
- Prosearch.com Hijack My home Page (Viruses, Spyware and other Nasties)
- Removing MSHP.DLL problem - HJT log (Viruses, Spyware and other Nasties)
- Pop ups not working properly (Web Browsers)
- CommonName big problem (Windows NT / 2000 / XP)
- ie6 hangs and so does ie6setup.exe (Web Browsers)
Other Threads in the ASP.NET Forum
- Previous Thread: stored procedure problem
- Next Thread: back button disable
| Thread Tools | Search this Thread |
.net 2.0 activexcontrol advice ajax alltypeofvideos appliances application asp asp.net bc30451 beginner bottomasp.net box browser button c# cac checkbox click commonfunctions confirmationcodegeneration css dataaccesslayer database datagridview datagridviewcheckbox datalist deadlock development dgv dialog dropdownlist dynamically edit expose feedback fileuploader fill flash form formatdecimal forms formview gridview gudi iframe iis javascript listbox login microsoft mono mouse mssql multistepregistration news numerical objects opera panelmasterpagebuttoncontrols parent radio redirect registration relationaldatabases reportemail rotatepage save schoolproject search security select sessionvariables silverlight smartcard smoobjects software sql-server sqlserver2005 suse textbox tracking treeview unauthorized validatedate validation vb.net video videos virtualdirectory vista visualstudio web webapplications webdevelopemnt webprogramming webservice xsl youareanotmemberofthedebuggerusers






