Reply Please
I am taking radiobutton, checkbox and dropdownlist field in a design page , how to write the same in a databse while creating a table for the same , please help me with the help of some example
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Nimit JoshiRank #75 · 24.7K reputationPosted Sep 12, 2013, 7:09 AM EDT
Kiran Kumar TalikotiRank #814 · 2.8K reputationPosted Sep 12, 2013, 8:36 PM EDT
Rushal Arora191 reputationPosted Sep 12, 2013, 8:53 PM EDT
Male
Married : Yes
Martial Status : DropdownList
Now i want to create a table in which i want to mention the above fields using SQL Server 2008 , how to do it ?
Sanjeeb LenkaRank #301 · 8.3K reputationPosted Sep 12, 2013, 9:06 PM EDT
try this
Make RegId as primary key and set it as Indentity column
Nimit JoshiRank #75 · 24.7K reputationPosted Sep 13, 2013, 3:15 AM EDT
If you want to design the table on sql server 2008 then follow this:
create table Table_Name
(
ID int primary key identity(1,1),
Gender char(10) not null,
IsMarried char(5) not null,
Marital Status varchar(15) not null
)
Press F5 to execute
Insert into Table_Name values('Male', 'No', 'Unmarried')
Suthish NairRank #92 · 22.8K reputationPosted Sep 13, 2013, 3:55 AM EDT