If you want to get information from a form, which submitted data using GET, just use Request.Params["id"]
string connString = "server=localhost;database=Frank;uid='sa';pwd='novell'";
SqlConnection conn = new SqlConnection(connString);
conn.Open();
string sql = "select * from addressbook where id=";
string id = Request.Params["id"];


0 Comments:
Post a Comment
<< Home