View Single Post
Old 01-24-2006, 04:49 AM  
Validus
Confirmed User
 
Industry Role:
Join Date: Jul 2001
Location: Calgary, Canada
Posts: 4,012
Simple ASP.NET C# Question

Greetings guys, maybe somebody can help. I am working with C#.

This is what I got:

<%
string MyVar; // define a variable
MyVar = Request.QueryString["MyVar_url"]; // add value
%>

I am trying to grab the MyVar_url value from the URL and asign it to the MyVar varaible. I want to add it to a to this later one...


SelectCommand="SELECT * FROM users WHERE user_id = @ MyVar "


But that is the second step.

Any help would be appreciated.
Validus is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote