Daven81 Posted August 10, 2003 Posted August 10, 2003 guys i have a problem here.i am using vb.net and i have bind my textbox with data from my table and can display it, then i add a new record with the usual add command, but the record in the textbox didn't update( which the total record is still not added and i cannot find the record). however, in my database the record is added. When i close my vb and oepn it again, the data shows. should i close my connection and open it again? how? please help. Quote
Moderators Robby Posted August 11, 2003 Moderators Posted August 11, 2003 Are you adding the record to a Dataview or which object? Quote Visit...Bassic Software
Daven81 Posted August 11, 2003 Author Posted August 11, 2003 i don't think i use dataview. ok, it's like this, when i press the add button, my database will be updated. the coding runs fine. but the text boxes that i use to display data is not updated. i think it's because i call the values when i load the form. so after i add a new record the displayed data is still the same. so do i need to refresh the data or connection to the textbox? Quote
Phylum Posted August 11, 2003 Posted August 11, 2003 What object are you binding the text boxes to? A dataset? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.