hi every one . when my form gets load it automatically fills th data using these two line
Me.CustomerTableAdapter.Fill(Me.NewBookingDataSet1.Customer) "Customer info is displayed in text boxes on same form" Me.BookingTableAdapter.Fill(Me.NewBookingDataSet1.Booking) "Booking is displayed in data gridview"
when i use the the above two lines as comment then i get the empty form which i want. But problem is i have to click on plus(+) sign on binding navigator to get the fields and datagridview ready to enter the new record. when i click on (+) it gives me the next incremented id, i want to generate the id bu using click of a button. i dont want to use the plus sign. I want to have a button Add new booking. when i click there i get all fields and booking gridview ready to enter new records.
Edited 4 Years Ago by Ezzaral: Code formatting.