Solved

c#, asp.net, request.form

Posted on 2014-03-31
1
254 Views
Last Modified: 2014-04-01
i have string x = Request.Form["engine"]; and my question is i want something like

string x = Request.Form[ 'this is column name 'name' ];

Basically, I will query from MS SQL and get the column name which is the variable name.
Is it possible? If yes, how to do that?

Thanks
0
Comment
Question by:CoolDev2014
1 Comment
 
LVL 5

Accepted Solution

by:
jayakrishnabh earned 500 total points
ID: 39968495
Get the column name first from db and store it in a variable. Then use that variable inside Request.Form[Variable]
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question