i have a textbox in which i will display id from database
i want if last record added in database have id 10. next time a click to add button it display id 11
by checking last id in database is 10. in database i use id auto increment. the text box will only dispaly id.
bacause database will automatically increase id no.
Loading
ta muPosted Sep 3, 2013, 6:29 AM
Kunal VaishyaPosted Sep 3, 2013, 12:37 AM
Nimit JoshiPosted Sep 2, 2013, 11:57 AM
So, what do you want? You want to show the added 11th id from the database or add 11th id in the database by clicking new Add Button?
If you want to add next row by Add button, then it will automatically increase into 11 as you described in your post.
Please post your cs file code to know more about.