![]() |
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. |
I think I am mixing run time code with compiled stuff. Umpf!
|
Is this for a school project or something?
|
It is for me to learn a little ASP.NET C# :)
|
old post, but if you're using sql server it would look something like this....
Code:
<% |
| All times are GMT -7. The time now is 06:55 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123