944,147 Members | Top Members by Rank

Ad:
  • VB.NET Discussion Thread
  • Unsolved
  • Views: 2348
  • VB.NET RSS
Jul 10th, 2007
0

can't binding an autoincrement field of mysql data base from vb.net

Expand Post »
i face problem when i binid data from mysql dat base from vb.net 2005 using dotnet cinnector all data was show perfect except the auto increament field in the tables and i dont know why it didnt work please help
mahmoud
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
mbeshr is offline Offline
1 posts
since Jul 2007
Feb 21st, 2008
0

Re: can't binding an autoincrement field of mysql data base from vb.net

Click to Expand / Collapse  Quote originally posted by mbeshr ...
i face problem when i binid data from mysql dat base from vb.net 2005 using dotnet cinnector all data was show perfect except the auto increament field in the tables and i dont know why it didnt work please help
mahmoud
That's because the auto increment in VB doesn't exist, but there is a work around. Find the field and row for your auto increment field and get that value and in the field for the auto increment, add +1, when you save the data.
Reputation Points: 10
Solved Threads: 4
Junior Poster in Training
SolTec is offline Offline
65 posts
since Jan 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in VB.NET Forum Timeline: Calculator Logic
Next Thread in VB.NET Forum Timeline: SelectedIndexChanged in DropDownList won't trigger





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC