Anil Kumar

Anil Kumar

  • 683
  • 1.2k
  • 129.6k

How to store for textBox value in one Column in table

Apr 7 2016 9:30 AM
Dear Friend, 
I am working on Exam Module.
i have four textbox for 4 option like  option A, option B,option C,option D
 
and i have create table Ans where i have three column and i want insert option like this in my database. 
 
   Id              QuesId                Option 
 1                  1                             A
2                     1                           B
3                     1                           C
4                     1                           D 
5                     2                           A
6                     2                            B   
7                     2                            C
8                     2                           D 
 i have post all value on my controller , but now i have confused that how to save four value in one in database 
 
i am using ASP.net MVC with .aspx page
 
please help 
 

Answers (1)