IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-10-24 20:19:38
Channels: 41
Logged Lines: 6230436
Size: 1822.56 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-06-05
[17:26]<mjzymygo>Staz: that would be sucky
[17:28]<mjzymygo>Staz: take a look here... you might be able to find something useful ;) http://www.mywebca.com/infolibrary/taxes/taxes2.htm
[17:29]<svzz[wjzc]>okay i'll take a look thanks
[17:30]<svzz[wjzc]>well in the meanwhile, myu SP is NOT getting fired.
[17:30]<mjzymygo>Staz: you sure?
[17:30]<svzz[wjzc]>insert into A_Test(txt, dte) values('UpdateSuiviForm Fired', GETDATE());
[17:31]<svzz[wjzc]>this at the first line of my SP and A_Test is empty
[17:31]<mjzymygo>Staz: well... in that case. you need to rethink. =)
[17:31]<svzz[wjzc]>rethink what ?
[17:31]<-- rjrvcxrrr xrs fuy>http://www.jpg.com")
[17:31]<svzz[wjzc]>i just don't get why the changes are made in the dataset, but the .Update() doesn't do crap
[17:32]<ycnr_>StaZ[work]: You prolly lack an update command in the dataadapter.
[17:32]<ycnr_>StaZ[work]: or insert, or delete.
[17:32]<afd>ikea_: !!!!!!!!!!
[17:32]<ycnr_>Yeah, that's me.
[17:32]<mjzymygo>Staz: perhaps you need to run update on both adapters?
[17:32]<svzz[wjzc]>ikea_ i have my Updatecommand, but not insert/delete as ther will be no insert/delete
[17:32]<ycnr_>StaZ[work]: then it's prolly broken
[17:32]<svzz[wjzc]>Moridin8 i don't really see how the 2 adapters are connected, but actually it DOES update the 2
[17:34]<mjzymygo>my VS2k3 keeps freezing up... *grrr*
[17:35]<svzz[wjzc]>ikea_ how could it be "broken" ?
[17:35]<mjzymygo>Staz: I don't and won't use the binding functionality of ASP.NET anyway.
[17:35]<ycnr_>StaZ[work]: if you use XSD-schemas those suckers "disappear" from time to time. It's quite buggy.
[17:36]<svzz[wjzc]>ikea_ no Designer, all coded here
[17:37]<svzz[wjzc]>Moridin8 i'm not in ASP.NET, ADO.NET 2.0 yes, but not ASP
[17:39]<mjzymygo>Staz: have you tried a a try..catch around the update commend and pressed ctrl+alt+e and set break on all exceptions?
[17:39]<mjzymygo>Staz: that sometimes helps show you an exception that the framework doesn't normally bubble up to you that can be informative.
[17:43]<svzz[wjzc]>well i checked to throw ALL exceptions, also pu my .Update() in a try with 4 catches, 3 with the enumerated exceptions in the .Update() description and one simply catch(Exception e) and i get no exception at ALL
[17:43]<svzz[wjzc]>along with no result!
[17:43]<mjzymygo>Staz: then something hasn't hooked up correctly.
[17:43]<mjzymygo>you must be missing something
[17:44]<svzz[wjzc]>i tried browsing the dataset and bindingsource with the property inspector of VS and i see the rows are changed, but all the RowState are "unchanged" but i also check that with the main records that update correctly and row states are also unchanged
[17:45]<mjzymygo>you must be missing something
[17:45]<svzz[wjzc]>Moridin8 i *think* i miss the operation a bindingsource does on his row the the Position Property changed, must be some Save_And_Add_to_log_that_this_row_changed_for_the_update_to_see_it
[17:45]<svzz[wjzc]>* the the = when the
[17:46]<svzz[wjzc]>now that's not normal, i tried for fun to give a wrong name to the UpdateCommande stored proc, and guess what... no exception no errors, nothing nada null
[17:47]<svzz[wjzc]>so the .UpdateCommand object of my dataadapter is not called at all
[17:48]<mjzymygo>As i said: you must be missing something... or expecting it to do something it won't.
[17:49]<svzz[wjzc]>oh i think i got something here, give me a sec
[17:49]<svzz[wjzc]>okay got it, it's exactly what i though
[17:50]<svzz[wjzc]>i added MyBindingSource.Position++; right before my .Update() befopre removing my bindings to put up new bindings and then it updated
[17:51]<svzz[wjzc]>so the Position Changing triggers a .Save() method somwhere that i have to find cause changing position is very very very bad programming P







