Click here to Skip to main content
15,908,768 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Was this course material is effective Dropdownlist1 (Poor)
was this course practical is effective Dropdownlist2 (poor)


When user select the poor from the dropdownlist1 the pop screen will open.
popup screen as follows.


Negativ_Feedback

textbox
Submit (Button)

in the above textbox user types the reason and click the submit button.i want to save the record as follows in database.

Table structure as follows
Type reason

in database i want to save the dropdownlist name and comments.


I want the output as follows in table.

Type reason
Dropdownlist1 the course material is not effective one.
Posted

1 solution

Bring Dropdownlist value and Textbox value into two different string variables then concatinate both the variables and pass this value to database...
like...

string str= ddl.SelectedItem.Text;
string str1=txt.Text.ToString();

and pass to database as

propertylayer.property=str+str1;
you can get the both the values combindly
 
Share this answer
 

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