URGENT!!! Generating a connetionstring property from the designer...

  • Thread starter Thread starter Christopher Calhoun
  • Start date Start date
C

Christopher Calhoun

This functionality is implemented in the SQLConnection control in the
connectionstring property. I am Building a custom control from an inherited
base class. (datagrid)

I have exposed a property for a connectionstring which I want the user of
this control to be able to use the way the connectionstring property is
implemented in the designer for the SQLConnection control.

Does anyone know how to invoke the designer property dropdown functionality
that builds a connection string from DataLinks?

Any help on this is GREATLY appreciated.
Thanks in advance!
 
Hi Christopher

In the pipelines form datagrid to connectionstring there are needed some
more components

from the datagrid to the connectionstring
the datasource (Ilist component)
the dataadapter (or reader/writer if you wish)
the commands for the dataadpter
the connection that uses the connectionstring

What am I missing that you can do it with only a connectionstring?

Cor
 
I understand all of want you wote in reply and Thank You.

But my requirement calls for the same connetion string property
functionality as comes with the SQLConnection control.

So simply put this control accepts many properties exposed in the designer
including provisions for everthing you mentioned in your reply.

But I really need a solution for this particular requirement .
Hopefully someone out there has the answer.

Thanks in Advance.....
 
Hi Christopher

Are you maybe talking about the dataadapterwizard?

Because the SQLconnection and OledbConnection when made with the designer
only make a connection.

Cor
 
Hi Christopher,

This is a part of Visual.Studio.Net not provided in VB.net, I do not know if
it is easy to build.

I never did that, and I also do not know how.

But when you have this you still have only the start of your pipeline to the
datagrid.
It is only the first thing, and that was with what I started to tell you.

Cor
 
Back
Top