Home All Groups Group Topic Archive Search About
Author
29 Jun 2006 9:26 PM
Tony Van
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.

Author
29 Jun 2006 10:17 PM
Miha Markic [MVP C#]
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/

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.
>
>
>
>
Author
29 Jun 2006 10:30 PM
William (Bill) Vaughn
Or my book that covers ADO to ADO.NET transitioning. (ADO and ADO.NET Best
Practices for VB Programmers (APress)).

--
____________________________________
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.
__________________________________

Show quote
"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.
>>
>>
>>
>>
>
>
Author
29 Jun 2006 11:04 PM
Miha Markic [MVP C#]
Sounds like a good book for him..

--
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/

Show quote
"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)).
Author
30 Jun 2006 4:33 AM
Carl Prothman
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

--

Thanks,
Carl Prothman
Microsoft ASP.NET MVP
http://www.CarlProthman.NET


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.
>
>
>
>
Author
30 Jun 2006 6:21 AM
Cor Ligthert [MVP]
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.
>
>
>
>
Author
7 Jul 2006 6:22 AM
grant
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.
Author
27 Jul 2006 8:23 PM
Tony Van
Thanks to all who replied -- all your suggestions were good
ones.


<

AddThis Social Bookmark Button