Datagridview for input purpose
I am fairly new to C# programming
I have a question , Noramlly to interact with database(SQL2000)
we use textboxes on form.
but I want to insert values into database with help of datagridview(DGV),
Advantage of using DGV is that I can have multiple entries at one shot which is not possible with textbox(TB)
if we use TB we enter first row, enter it in dbase with button click event, clear the TB and then add next records
Take an example there is dbase with 3fields & n records
fields are as follows
NAME ROLLNO ADDRESS(combobox column)
RAM 15 PUNE
SAM 45 SANGLI
DAM 10 MUMBAI
But with help of DGV all these values can be entered in one shot of a
button click event
How to do this, I want to do it with DGVtextbox column, a DGVcomboboxcolumn
How to program it?
Thanks to everybody in advance....
If you know any site where this is programmed please suggest.
|