Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
UPDATE isn't updating
Message
De
15/03/2005 21:36:58
 
 
À
15/03/2005 13:00:43
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Versions des environnements
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
00995762
Message ID:
00996172
Vues:
21
Perry,

I could understand where's he coming from if he wasn't supposed to be teaching a class. If you teach, you have an obligation to your students to be current. Now, if teaching isn't his profession and he's just doing it on the side to a few people here and there, that'd be one thing. But, it sounded to me like you meant he was teaching classes on a regular basis.

~~Bonnie


>I don't think it's as simple as that. I know in this case the teacher is no different from any other programmer I've met. He's an older guy, and thru the years has developed his style.
>
>I do know thru reading that Sun seems to deprecate a fair amount of methods/properties each new release. And my teacher is not reading the release notes to know what those methods/properties are. So he continues on his merry way.
>
>I understand where he's coming from.
>
>PF
>
>>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.
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform