Home » VB.NetRSS

To generate sequence numbers in textbox using vb.net

I am working on student application form in vb.net. I designed a form with fields like firstname,Middlename,Lastname,age,____,DOB,Education.Height and Weight. Back end as SQL Server 2005. I just want to generate sequence numbers in textbox using vb.net. While loading the form,i should generate number as '1' and second time,if the form gets loading it shows '2' and goes on... Please Help me...
 

2 Answers Found

 

Answer 1

The best answer could depend on how you are doing your data access, as there are a few different ways it can be accomplished.

Does your table in the SQL Server have an ID field that is set to identity?

 

Answer 2

Duplicate post.

Generate sequence  number in textbox  using vb.net

 

 
 
 

<< Previous      Next >>


Microsoft   |   Windows   |   Visual Studio   |   Follow us on Twitter