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.59 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-06-01
[17:24]<svzz[wjzc]>ADO.NET 2.0 i have a DataAdapter that fills a Dataset, from which i get a BindingSource to the table. I need to find a row and bind some controls to this row... do i NEED a Dataview for that or there's another way ?
[17:24]<svzz[wjzc]>the table has 2 IDs and i need to find the row with the 2 values i have
[17:25]<mjzymygo>Staz: yeh, don't use that nasty binding model M$ have foisted on us all
[17:25]<mjzymygo>=)
[17:25]<svzz[wjzc]>Moridin8 up to now it works fine
[17:25]<svzz[wjzc]>had to work it a bit but i made it work
[17:25]<mjzymygo>Staz.. you can use the dataView and/or create a new dataset/datatable from it for binding to your other control.
[17:26]<mjzymygo>personally I prefer the manual approach, especially as I use a lot of ORM based models.
[17:26]<svzz[wjzc]>yeah but i need to find a row... is it only the Dataview that does that or there's a way with the dataset?
[17:26]<mjzymygo>no. DataView
[17:27]<svzz[wjzc]>okay... what's ORM?
[17:27]<mjzymygo>sucky huh?
[17:27]<mjzymygo>Object/Relationship Mapper.
[17:27]<mjzymygo>nHibernate is a well known example
[17:27]<svzz[wjzc]>ok... never heard of that
[17:27]<svzz[wjzc]>or i didn't hear it with that name
[17:28]<awjzdd>ActiveRecord is built ontop of NHibernate
[17:28]<svzz[wjzc]>Moridin8 i use the Binding Navigator, and i've got a lot of fields, the MS binding does a lot of job for me, that's perfect
[17:28]<svzz[wjzc]>i don't know either that is ActiveRecord :P
[17:29]<mjzymygo>if binding works for you than power to you.
[17:29]<mjzymygo>It's a high-level feature M$ have implemented into its controls, and it's good for productivity.
[17:29]<svzz[wjzc]>i even succeeded in making my own subform, completely OO based with no Reflection
[17:29]<mjzymygo>I just don't like the hands-off attitude
[17:29]<mjzymygo>I prefer getting my hands dirty.
[17:30]<mjzymygo>more control, less uncertainty, less problems
[17:31]<svzz[wjzc]>well yeah indeed but i like this way of working, it's more like from where i come
[17:31]<svzz[wjzc]>(MS Access)
[17:31]<mjzymygo>ASP?
[17:32]<svzz[wjzc]>no MS Access front-end/back-end
[17:32]<mjzymygo>ah
[17:32]<svzz[wjzc]>full application in VBA
[17:32]<mjzymygo>ah... VB background.
[17:32]<svzz[wjzc]>was working fine (but slow) until i put the backend in SQL Server
[17:32]<awjzdd>Binding Navigator, binding sources, etc etc get slow and crappy as project complexity increases
[17:33]<svzz[wjzc]>then... Access began to really fuck out crashing every 2 minutes for no reason
[17:33]<mjzymygo>when talking to SQL-Server instead?
[17:33]<mjzymygo>why?
[17:33]<svzz[wjzc]>to speed up the application
[17:33]<svzymnz>does VS.NET 2005 have some sort of a compatibility setting to develop ASP.NET 1.1 projects instead?
[17:33]<mjzymygo>jwormy: totally. harder to maintain over time too
[17:33]<svzz[wjzc]>my forms in access could take up to 30 seconds to load in local
[17:34]<mjzymygo>strider... not directly.
[17:34]<svzz[wjzc]>plus SQL server is more fun, i love working with Stored Procs :)
[17:34]<svzz[wjzc]>and triggers :P
[17:34]<mjzymygo>no.. you mis understand... its a damned good idea. I just got the impression from what you said that you are expereincing problems with the transfer
[17:34]<svzz[wjzc]>i don'T use triggers much, just to sync with our web application
[17:34]<mjzymygo>triggers... ick.... be careful with those
[17:35]<mjzymygo>to sync with web app? what the f?
[17:35]<awjzdd>Moridin8: we figured we'd give it a try here, and its been nothing but trouble
[17:35]<mjzymygo>jwormy: huh?
[17:35]<awjzdd>Moridin8: teh binding sources and such
[17:35]<svzz[wjzc]>Moridin8 yeah our website is independant from the office, so i sync it by uploading changes made in local, and i use triggers for that
[17:35]<mjzymygo>jwormy: yeh. it gets awkward
[17:36]<awjzdd>Moridin8: its awful, i'm pretty sure baby jesus is crying right now
[17:36]<mjzymygo>Staz... ever heard of replication?
[17:36]<svzz[wjzc]>Moridin8 i donT' want the WHOLE DB on the web
[17:36]<mjzymygo>using triggers to cross-chain db's remotely is NOT GOOD!
[17:36]<svzz[wjzc]>plus we don't use SQL Server on the web, it's an MS Access file that runs the website, not a big website
[17:36]<mjzymygo>Staz: since when do you need to replicate the whole db?
[17:36]<svzz[wjzc]>Moridin8 i don't know much about replication i must admit :P
[17:37]<mjzymygo>Staz... bad bad model
[17:37]<mjzymygo>not good
[17:37]<svzz[wjzc]>Moridin8 my model works very fine
[17:37]<svzz[wjzc]>i know it's bnot the best, but it fills our needs
[17:37]<mjzymygo>so... whats the web address ;)
[17:37]<svzz[wjzc]>www.richardperreault.ca :P
[17:38]<svzz[wjzc]>french, no english version
[17:38]<svzz[wjzc]>sorry :P
[17:38]<mjzymygo>I can read french
[17:38]<svzz[wjzc]>that's kewl, have fun then
[17:39]<svzz[wjzc]>Moridin8 in replication i guess you can tell which tables to replicate, but does it also allow me to say which records of a table gotta be copied?
[17:39]<svzymnz>Moridin8: i've come across MSBee. Is that the way?
[17:39]<mjzymygo>Staz: it depends on how its set up. but in principle yes.
[17:39]<mjzymygo>besides there are better ways of doing things.
[17:40]<svzz[wjzc]>therE's always a better way to do things
[17:40]<svzz[wjzc]>anyway i don'T really have time to change the whole set up for now
[17:41]<svzz[wjzc]>my triggers are at least something i won't have to rewrite while rewriting the front end in c#
[17:48]<mjzymygo>hmm FileZilla 0.9.8Beta
[18:09]<krffnjs>is it common to hide private methodes with #region ?







