User2103319870 posted
I want to save dropdown value in Database . DataValue Field DataType is int
You can use Dropdownlist SelectedItem property to get the selected value from dropdownlist
DropDownList1.SelectedItem.Value
To save the value in database, you just need to add the value to command property like below
//Add the value from dropdownlist to parameter
cmd.Parameters.AddWithValue("@YourParameter", Convert.ToInt32(DropDownList1.SelectedItem.Value));
//Your code to save value in database