Click here to Skip to main content
15,917,321 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Dear Experts,

I have a problem in making a simple as i am a new born in Asp.net
I need to create a simple report in which i have two parameters (TABLE NAME & COLUMN NAME)and a button.

Report.aspx
1. Region (table name)       -> TextBox
2. SearchParam (column name) -> TextBox
3. Searchbtn                 -> Button



Database: ntc
Table: region (ctr,ftr)
1. ctr
TelephoneNumber
Name
Address
Amount

2. ftr
TelephoneNumber
Name
Address
Amount


Now i would like to ask if the user enter region name in region.textbox as parameter value like ctr and then enter number in searchparam.textbox so it will display all record in report.

How can be the easiest way to do it?

Your kind help is required in this matter.
Best Regards,
Hasan

[edit]SHOUTING removed - OriginalGriff[/edit]
Posted
Updated 6-Jun-13 5:38am
v4
Comments
OriginalGriff 6-Jun-13 11:38am    
DON'T SHOUT. Using all capitals is considered shouting on the internet, and rude (using all lower case is considered childish). Use proper capitalisation if you want to be taken seriously.
Sunasara Imdadhusen 11-Jun-13 1:41am    
Have you done anything for the same?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900