Posted on: 1/8/2014 6:10:22 AM | Views : 645

i would like to know how can i use session variable inside sql command in aspx.cs.i m usin gridview uploading in page load.below is my code.
string str = "Select * from emp_complete_address where Employee_ID="+Session; da = new SqlDataAdapter(str,con); ds = new DataSet(); da.Fill(ds); gvDetails.DataSource = ds; gvDetails.DataBind();
how to create session for particular user after login.plz help me, i m a new user.

Go to the complete details ...