Click here to Skip to main content
15,893,588 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHelp me make this code to Point to SQl Server that Access localy Pin
Vimalsoft(Pty) Ltd18-May-07 3:39
professionalVimalsoft(Pty) Ltd18-May-07 3:39 
AnswerRe: Help me make this code to Point to SQl Server that Access localy Pin
Dave Kreskowiak18-May-07 4:20
mveDave Kreskowiak18-May-07 4:20 
QuestionProblems add a new record to a DataSet using the BindingNavigator Control Pin
Quecumber25618-May-07 3:11
Quecumber25618-May-07 3:11 
AnswerRe: Problems add a new record to a DataSet using the BindingNavigator Control Pin
Marcus J. Smith18-May-07 4:36
professionalMarcus J. Smith18-May-07 4:36 
GeneralRe: Problems add a new record to a DataSet using the BindingNavigator Control Pin
Quecumber25618-May-07 5:13
Quecumber25618-May-07 5:13 
GeneralRe: Problems add a new record to a DataSet using the BindingNavigator Control Pin
Marcus J. Smith18-May-07 5:32
professionalMarcus J. Smith18-May-07 5:32 
GeneralRe: Problems add a new record to a DataSet using the BindingNavigator Control Pin
Quecumber25618-May-07 6:22
Quecumber25618-May-07 6:22 
GeneralRe: Problems add a new record to a DataSet using the BindingNavigator Control Pin
Marcus J. Smith18-May-07 7:20
professionalMarcus J. Smith18-May-07 7:20 
Quecumber256 wrote:
And in the case of a dataset which contains data I get the situation I decribed in my last post. In this case: How do I insure that; 1) the Record counter doesn’t skip from 5 to 7 leaving me an empty record which in turn throws a DbNull exception? 2) The new record is added at the end of the dataset so when I update the database there are no empty records?


If you set the numbering column to the Identity column in the database and let it get that schema it will automatically increment the numbers for you.

Im still not sure what you mean by an empty dataset because as long as you have the schema a new row object is the same whether or not there is data so getting the new row and filling it then adding it to the table should work either way.


CleaKO

"Now, a man would have opened both gates, driven through and not bothered to close either gate." - Marc Clifton (The Lounge)

GeneralRe: Problems add a new record to a DataSet using the BindingNavigator Control Pin
Quecumber25618-May-07 7:34
Quecumber25618-May-07 7:34 
GeneralRe: Problems add a new record to a DataSet using the BindingNavigator Control Pin
Marcus J. Smith18-May-07 8:10
professionalMarcus J. Smith18-May-07 8:10 
GeneralRe: Problems add a new record to a DataSet using the BindingNavigator Control Pin
Quecumber25618-May-07 8:47
Quecumber25618-May-07 8:47 
GeneralRe: Problems add a new record to a DataSet using the BindingNavigator Control Pin
Marcus J. Smith18-May-07 9:53
professionalMarcus J. Smith18-May-07 9:53 
GeneralRe: Problems add a new record to a DataSet using the BindingNavigator Control Pin
Quecumber25618-May-07 10:14
Quecumber25618-May-07 10:14 
Questioncreating stles for windows form controls Pin
MartyK200718-May-07 2:26
MartyK200718-May-07 2:26 
AnswerRe: creating stles for windows form controls Pin
Christian Graus18-May-07 3:04
protectorChristian Graus18-May-07 3:04 
GeneralRe: creating stles for windows form controls Pin
MartyK200718-May-07 3:06
MartyK200718-May-07 3:06 
QuestionHow to paste to the default mail client Pin
triley125818-May-07 1:08
triley125818-May-07 1:08 
AnswerRe: How to paste to the default mail client Pin
Xandip18-May-07 1:58
Xandip18-May-07 1:58 
GeneralRe: How to paste to the default mail client Pin
triley125818-May-07 3:43
triley125818-May-07 3:43 
Questionthreads Problem Pin
psiva198418-May-07 1:00
psiva198418-May-07 1:00 
AnswerRe: threads Problem Pin
MartyK200718-May-07 2:34
MartyK200718-May-07 2:34 
GeneralRe: threads Problem Pin
psiva198418-May-07 18:55
psiva198418-May-07 18:55 
QuestionExport data from grid to flat file Pin
jeya krishnan.v18-May-07 0:39
jeya krishnan.v18-May-07 0:39 
AnswerRe: Export data from grid to flat file Pin
Dave Kreskowiak18-May-07 4:11
mveDave Kreskowiak18-May-07 4:11 
GeneralRe: Export data from grid to flat file Pin
jeya krishnan.v18-May-07 18:47
jeya krishnan.v18-May-07 18:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.