hey..m a student of last year of BCA...i m making my project on crime management system...i had made my database in ACCESS 2003 n using the C# language...in database i hd taken the auto number as datatype in my serial number column.
bt when m accessing my code in C# at dat tym an error is coming dat syntax error in INSERT query.
Please STOP posting as though you were texting on your cellphone. This is a forum, not a cellphone. If you expect people to take you seriously then you need to spell out the words. There are lots of people here who do not know Engligh well enough to understand what you wrote.
hey thanks for ur suggestion...but we have also tried this thing....in this it allows us only one entry during insertion....but when we tried next tym to insert new record in our database...it generates the duplication error....according to the error ..it again n agin took the 0 as a serial number. it doesn't incremented itself.
For Each ctrl As Control In Me.Controls("pnlMainPanel").Controls
If ctrl.GetType Is GetType(System.Windows.Forms.Panel) Then
For Each subCtrl As Control In ctrl.Controls
If subCtrl.GetType Is GetType(System.Windows.Forms.TextBox) Then
If subCtrl.GetType Is ...