| Author: karthikeyanb 03 Jan 2007 | Member Level: Gold | Rating:  Points: 2 |
Hi How do u connect uvr application to db via tool or coding?
If u use coding, u should pass the parameter by using query string.
Ex: dim sql as string dim sqlc as sqlcommand sql="select * from tab1" sqlc=new sqlcommand(sql,connection) ok?
|
| Author: Sriman N Vangala 03 Jan 2007 | Member Level: Diamond | Rating:  Points: 2 |
The QueryString collection is used to retrieve the variable values in the HTTP query string.
The HTTP query string is specified by the values following the question mark (?), like this:
<a href= "test.asp?txt=this is a query string test">Link with a query string</a>
The line above generates a variable named txt with the value "this is a query string test".
Query strings are also generated by form submission, or by a user typing a query into the address bar of the browser.
Syntax
Request.QueryString(variable)[(index)|.Count]
Parameter Description
---------------------------------------------------------
variable : Required. The name of the variable in the HTTP query string to retrieve
index : Optional. Specifies one of multiple values for a variable. From 1 to Request.QueryString(variable).Count
refer:
http://www.w3schools.com/asp/coll_querystring.asp
|
| Author: Pankaj Mishra 03 Jan 2007 | Member Level: Diamond | Rating:  Points: 2 |
Hi, when you want to pass some value to the next page you can use querystring.
eg
www.mysite.com?val=anything
Regards Pankaj
|