First entry In database when ID Text box is hidden

  • Thread starter Thread starter Sunilsb
  • Start date Start date
S

Sunilsb

Guest
Dear all

I have created Access database and manually attach to windows form and no records are in database . I want to use insert statement to add data but I want to keep IDTextBox hidden and still my button_click should add 1 for first entry in to it. what are codes I have to use in button_click.

I dont have any problem if I add manually to IDTextbox.Text =1 for first entry and select from query.

Sunil

Continue reading...
 
Back
Top