PC Review


Reply
Thread Tools Rate Thread

Data Form Wizard Question.

 
 
Henry
Guest
Posts: n/a
 
      18th Jun 2004
Hello,

Is there a way to make the data form wizard create windows forms using
sqlConnection, sqlDataAdapter and sqlCommand instead of OleDBConnection,
OleDbDataAdapter since all my projects deal with SQL 2k server? Thank you in
advance.


 
Reply With Quote
 
 
 
 
Sahil Malik
Guest
Posts: n/a
 
      18th Jun 2004
Yes it is possible.

When the wizard asks you for "new connection" - just tab over to the
provider and select SQL Server instead of what is selected.

- Sahil Malik
Independent consultant
You can reach me thru my blog -
http://www.dotnetjunkies.com/weblog/sahilmalik

"Henry" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Hello,
>
> Is there a way to make the data form wizard create windows forms using
> sqlConnection, sqlDataAdapter and sqlCommand instead of OleDBConnection,
> OleDbDataAdapter since all my projects deal with SQL 2k server? Thank you

in
> advance.
>
>



 
Reply With Quote
 
Henry
Guest
Posts: n/a
 
      18th Jun 2004
Thanks for the reply but that did not do it. I do not have a connection
established and when I try to establish one the wizard gives me the OLE DB
type only.


"Sahil Malik" <(E-Mail Removed)> wrote in message
news:%23CkK4%(E-Mail Removed)...
> Yes it is possible.
>
> When the wizard asks you for "new connection" - just tab over to the
> provider and select SQL Server instead of what is selected.
>
> - Sahil Malik
> Independent consultant
> You can reach me thru my blog -
> http://www.dotnetjunkies.com/weblog/sahilmalik
>
> "Henry" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
> > Hello,
> >
> > Is there a way to make the data form wizard create windows forms using
> > sqlConnection, sqlDataAdapter and sqlCommand instead of OleDBConnection,
> > OleDbDataAdapter since all my projects deal with SQL 2k server? Thank

you
> in
> > advance.
> >
> >

>
>



 
Reply With Quote
 
Sahil Malik
Guest
Posts: n/a
 
      18th Jun 2004
Professional ADO.NET - David Sceppa - Chapter #2 - Everyone loves a wizard.
(Something like that).

- Sahil Malik
Independent Consultant
You can reach me thru my blog - http://dotnetjunkies.com/WebLog/sahilmalik/



"Henry" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Thanks for the reply but that did not do it. I do not have a connection
> established and when I try to establish one the wizard gives me the OLE DB
> type only.
>
>
> "Sahil Malik" <(E-Mail Removed)> wrote in message
> news:%23CkK4%(E-Mail Removed)...
> > Yes it is possible.
> >
> > When the wizard asks you for "new connection" - just tab over to the
> > provider and select SQL Server instead of what is selected.
> >
> > - Sahil Malik
> > Independent consultant
> > You can reach me thru my blog -
> > http://www.dotnetjunkies.com/weblog/sahilmalik
> >
> > "Henry" <(E-Mail Removed)> wrote in message
> > news:%(E-Mail Removed)...
> > > Hello,
> > >
> > > Is there a way to make the data form wizard create windows forms using
> > > sqlConnection, sqlDataAdapter and sqlCommand instead of

OleDBConnection,
> > > OleDbDataAdapter since all my projects deal with SQL 2k server? Thank

> you
> > in
> > > advance.
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
Henry
Guest
Posts: n/a
 
      18th Jun 2004
I found the answer. According to MS documentation Data Forms use OLE DB data
objects only. Thanks for your help.

"Sahil Malik" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Professional ADO.NET - David Sceppa - Chapter #2 - Everyone loves a

wizard.
> (Something like that).
>
> - Sahil Malik
> Independent Consultant
> You can reach me thru my blog -

http://dotnetjunkies.com/WebLog/sahilmalik/
>
>
>
> "Henry" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Thanks for the reply but that did not do it. I do not have a connection
> > established and when I try to establish one the wizard gives me the OLE

DB
> > type only.
> >
> >
> > "Sahil Malik" <(E-Mail Removed)> wrote in message
> > news:%23CkK4%(E-Mail Removed)...
> > > Yes it is possible.
> > >
> > > When the wizard asks you for "new connection" - just tab over to the
> > > provider and select SQL Server instead of what is selected.
> > >
> > > - Sahil Malik
> > > Independent consultant
> > > You can reach me thru my blog -
> > > http://www.dotnetjunkies.com/weblog/sahilmalik
> > >
> > > "Henry" <(E-Mail Removed)> wrote in message
> > > news:%(E-Mail Removed)...
> > > > Hello,
> > > >
> > > > Is there a way to make the data form wizard create windows forms

using
> > > > sqlConnection, sqlDataAdapter and sqlCommand instead of

> OleDBConnection,
> > > > OleDbDataAdapter since all my projects deal with SQL 2k server?

Thank
> > you
> > > in
> > > > advance.
> > > >
> > > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do you save a form created with the data form wizard FrankC Microsoft Excel Programming 1 25th Feb 2008 09:06 PM
changing key field in Data Form Wizard form Marty Microsoft ADO .NET 0 31st Mar 2006 02:00 AM
Adding new records when databinding and using data relation win forms / data form wizard Developer Microsoft ADO .NET 0 16th Aug 2004 07:28 PM
Data Form Wizard Question =?Utf-8?B?Sm9l?= Microsoft ADO .NET 4 26th Jan 2004 04:36 AM
Data Form Wizard Question Luis Mendes Microsoft VB .NET 0 6th Jan 2004 11:22 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:29 AM.