|
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.
|