|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Your kidding me right?I just spend many days learning about Datasets and DataAdapters and spend most of two days trying to code an UPDATE command for the dataadapter along with the parameters for a large rowset-- and a 1/2 day getting all the typing errors out. I'm still not sure if it's going to work. Its this it? Is this how it's done? This is supposed to make me more productive? Please tell me there is an easier way to do this. ADO.NET has me longing for my Vb6 disconnected recordsets . Sorry for the vent. I'm very frustrated with the slowness of my conversions. Why don't you start by reading a book, such as Sahil Malik's Pro ado.net 2
(assuming you are on .net 2) -- Show quoteMiha Markic [MVP C#, INETA Country Leader for Slovenia] RightHand .NET consulting & development www.rthand.com Blog: http://cs.rthand.com/blogs/blog_with_righthand/ "Tony Van" <ton-jud-***@comcast.net> wrote in message news:tpCdnau4eePu2DnZnZ2dnUVZ_qidnZ2d@comcast.com... > > I'm a VB6 programmer trying to make the transition to .NET > > I just spend many days learning about Datasets and DataAdapters and > spend most of two days trying to code an UPDATE command for > the dataadapter along with the parameters for a large rowset-- and a 1/2 > day getting all > the typing errors out. > > I'm still not sure if it's going to work. > > Its this it? Is this how it's done? This is supposed to make me > more productive? Please tell me there is an easier way to do this. > > ADO.NET has me longing for my Vb6 disconnected recordsets . > > Sorry for the vent. I'm very frustrated with the slowness of my > conversions. > > > > Or my book that covers ADO to ADO.NET transitioning. (ADO and ADO.NET Best
Practices for VB Programmers (APress)). -- Show quote____________________________________ William (Bill) Vaughn Author, Mentor, Consultant Microsoft MVP INETA Speaker www.betav.com/blog/billva www.betav.com Please reply only to the newsgroup so that others can benefit. This posting is provided "AS IS" with no warranties, and confers no rights. __________________________________ "Miha Markic [MVP C#]" <miha at rthand com> wrote in message news:OxLSin8mGHA.4216@TK2MSFTNGP04.phx.gbl... > Why don't you start by reading a book, such as Sahil Malik's Pro ado.net 2 > (assuming you are on .net 2) > > -- > Miha Markic [MVP C#, INETA Country Leader for Slovenia] > RightHand .NET consulting & development www.rthand.com > Blog: http://cs.rthand.com/blogs/blog_with_righthand/ > > "Tony Van" <ton-jud-***@comcast.net> wrote in message > news:tpCdnau4eePu2DnZnZ2dnUVZ_qidnZ2d@comcast.com... >> >> I'm a VB6 programmer trying to make the transition to .NET >> >> I just spend many days learning about Datasets and DataAdapters and >> spend most of two days trying to code an UPDATE command for >> the dataadapter along with the parameters for a large rowset-- and a 1/2 >> day getting all >> the typing errors out. >> >> I'm still not sure if it's going to work. >> >> Its this it? Is this how it's done? This is supposed to make me >> more productive? Please tell me there is an easier way to do this. >> >> ADO.NET has me longing for my Vb6 disconnected recordsets . >> >> Sorry for the vent. I'm very frustrated with the slowness of my >> conversions. >> >> >> >> > > Sounds like a good book for him..
-- Show quoteMiha Markic [MVP C#, INETA Country Leader for Slovenia] RightHand .NET consulting & development www.rthand.com Blog: http://cs.rthand.com/blogs/blog_with_righthand/ "William (Bill) Vaughn" <billvaRemoveT***@nwlink.com> wrote in message news:u76kyu8mGHA.3576@TK2MSFTNGP02.phx.gbl... > Or my book that covers ADO to ADO.NET transitioning. (ADO and ADO.NET Best > Practices for VB Programmers (APress)). Tony,
Do you know about the Data Adapter Configuration wizard? http://msdn2.microsoft.com/en-us/library/kabecee2.aspx If you need to create code for a data class, you can use the above wizard to generate the code. And then copy the generated code (from hidden section) and then paste it into your data class. Of course you'll need to modify it a bit. But it's a lot faster than creating the code by hand. If you are using Visual Studio 2005, then make sure to check out the TableAdapter wizard http://msdn2.microsoft.com/en-us/library/dex7k4dw.aspx Show quote "Tony Van" <ton-jud-***@comcast.net> wrote in message news:tpCdnau4eePu2DnZnZ2dnUVZ_qidnZ2d@comcast.com... > > I'm a VB6 programmer trying to make the transition to .NET > > I just spend many days learning about Datasets and > DataAdapters and > spend most of two days trying to code an UPDATE command for > the dataadapter along with the parameters for a large > rowset-- and a 1/2 day getting all > the typing errors out. > > I'm still not sure if it's going to work. > > Its this it? Is this how it's done? This is supposed to > make me > more productive? Please tell me there is an easier way to > do this. > > ADO.NET has me longing for my Vb6 disconnected recordsets . > > Sorry for the vent. I'm very frustrated with the slowness > of my conversions. > > > > Tony,
Have a look at this, http://www.vb-tips.com/default.aspx?ID=1139f14a-c236-4ad7-8882-b1ed16424252 Do you know these two free books by the way http://www.vb-tips.com/default.aspx?ID=1b31f4f7-0596-4b8e-aaf5-e16db864a414 I hope this helps, Cor Show quote "Tony Van" <ton-jud-***@comcast.net> schreef in bericht news:tpCdnau4eePu2DnZnZ2dnUVZ_qidnZ2d@comcast.com... > > I'm a VB6 programmer trying to make the transition to .NET > > I just spend many days learning about Datasets and DataAdapters and > spend most of two days trying to code an UPDATE command for > the dataadapter along with the parameters for a large rowset-- and a 1/2 > day getting all > the typing errors out. > > I'm still not sure if it's going to work. > > Its this it? Is this how it's done? This is supposed to make me > more productive? Please tell me there is an easier way to do this. > > ADO.NET has me longing for my Vb6 disconnected recordsets . > > Sorry for the vent. I'm very frustrated with the slowness of my > conversions. > > > > Depending on your type of application ADO.NET datasets may not be
necessarily the best choice. Datasets work well where you need a completely disconnnected solution that can be scaled to hundreds or thousands of users. However, IMHO, for small business applications that support a few users where you would previously have used connected ADO recordsets then ADO.NET involves a lot of overhead - both programming and also runtime. You can of course still use ADODB in .NET for these type of applications - however you miss out on one of the major benefits of the ..NET architecture - data binding. If you are building this type of application or particularly if you are porting existing VB6 ADO code then Infralution has a solution that can help. Our Virtual Data Objects library allows you to bind .NET controls to ADODB recordsets. If you are interested you can find more information at www.infralution.com/virtualdata.html Regards Grant Frisken Infralution Tony Van wrote: Show quote > I'm a VB6 programmer trying to make the transition to .NET > > I just spend many days learning about Datasets and > DataAdapters and > spend most of two days trying to code an UPDATE command for > the dataadapter along with the parameters for a large > rowset-- and a 1/2 day getting all > the typing errors out. > > I'm still not sure if it's going to work. > > Its this it? Is this how it's done? This is supposed to > make me > more productive? Please tell me there is an easier way to > do this. > > ADO.NET has me longing for my Vb6 disconnected recordsets . > > Sorry for the vent. I'm very frustrated with the slowness > of my conversions. |
|||||||||||||||||||||||