I've written a sub that refreshes the contents of a ComboBox when you select an item from another ComboBox.
It kinda works perfect, every second time however it doesn't work! This makes no sense since it calls the exact same sub. Now here is the strange part. If I comment out the Clear method...
I'm wondering if there is a build in way to refresh a DataTable?
Currently I just delete the table from the DataSet and then using the DataAdapter Fill the DataTable again. But I was hoping there was a built in method for doing this.
I've created a Sub that uses a row passed to it to add it to another table. However when I try and add the row to the other table I recieve an error stating that this row already belongs to another table. Well of course it does, I want a copy of it in this new table!!!!!
How do I get a copy...
I'm looping through a CheckedListBox and want to do one thing if it's checked and another if it's not checked. There isn't a Checked property so I can't tell. I realize that there is a CheckedItem collection, but I need to loop through the whole CheckedListBox not just the checked items. So...
I think you're going to be all on your own one this one.
It sounds like it's a problem with your computer. I don't think the blue screen of death is even in Windows 2000, XP anymore. If you're running 98... upgrade.
I have a CheckedListBox control on a TabPage and it's DataSource populates it with Rows. However after selecting items and then clicking on another TabPage it clears everything! Now when I go back it appears like I didn't check anything.
Has anyone come up with a work-around for this?
I just tried it and it didn't work=(.
I have however discovered an interesting issue. This error only occurs if the Table is empty. If I add a single row of data the New method will work correctly.
If I'm doing this correct this is a HUGE VB.NET - Access issue! But I can't believe...
I keep getting this error when I try to add a new row to a DataSet.
"Additional information: DataBinding could not find a row in the list that is suitable for all bindings"
The particular error is being caused by bound CheckBoxes. I'm sure because if I comment them out everything works fine...
I'm curious if you can execute a SQL script against a disconnected DataSet?
UPDATE tblFeature SET [Name]='New' WHERE uid=4
This would then update the DataSet so that when I execute the Update method on a DataAdapter it would update the database appropriately.