Hey Perry,
>Or I was able to ask someone where I work for suggestions and given code that was simpler then what the teacher said. <I see this a lot in sample code that you find in articles, etc. They don't always show the best way to do things. Sometimes I'm sure it's more to just get the point across easier, but somewhere along the way they should also have examples of more accepted ways of accomplishing the same thing.
~~Bonnie
>I've been taking Java classes at UCLA. I'm on the second class, both with the same instructor. He says he does appreciate that I've occasionally let him know that the way he show is specifically not recommended by Sun. Typically cause he didn't know the method had been deprecated.
>
>Or I was able to ask someone where I work for suggestions and given code that was simpler then what the teacher said. Of course, the Java guys where I work are a bunch of aholes, and help from them is slow in coming.
>
>This is making me rethink taking Java to move into the Java dept here.
>
>PF
>
>>Your instructor has no suggestions???? I think I'd look to take a class with another instructor!!
>>
>>I'm betting that you're doing a DataSet.AcceptChanges() prior to the DataAdapter.Update(), whereas it should be the other way around. But if that's not it, post your code.
>>
>>~~Bonnie
>>
>>
>>
>>>To all,
>>>
>>>I'm taking an "advanced" VB.NET class and we're working with database updates. I've got the connection/dataAdaptor/dataSet things configured so that everything works UNTIL the dataAdaptor.Update() method is run. Nothing happens. No updates, no errors, no messages. NOTHING!
>>>
>>>The dataSet looks fine. The data in the dataSet is Inserting/Updating/Deleting OK. But nothing is going to the data source. Other than the obvious (no changes persisting on the data source) the only indication that something's wrong is a test memvar that I've added. I trap the value returned from the Update() method and that value is zero.
>>>
>>>My instructor has no suggestions. If this were Basket Weaving 101 or some such, I'd just blow it off, but I'm a professional database applications developer. I need to know what's wrong here.
>>>
>>>TIA,
>>>Thom C.