hi every one i wanted to get some information on how to insert data into sql server through combo box selection.
i have 2 values in combo box. 1 is admin and 2nd is employee. basically its an employee registration form. could any 1 help me if during registration the value is combo box is selected as employee to that value in combobox should be saved in sql server usertype field.
please help. and code can you provide would be great for my understanding thanks

5 Years
Discussion Span
Last Post by kingsonprisonic

On Combobox SelectedIndexChanged event just create a sqlcommand where u can easyly insert the value of the combobox and the execute the command as nonquery...

Thats all.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.