Solved

c#, asp.net, request.form

Posted on 2014-03-31
1
251 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
Comment Utility
Get the column name first from db and store it in a variable. Then use that variable inside Request.Form[Variable]
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
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!
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

772 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now