Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

First entry In database when ID Text box is hidden

$
0
0

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 butI 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 don't have any problem if I add manually to IDTextbox.Text =1 for first entry and select from query.

Sunil


Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>