using common data objects

J

John M

Hello,

In Microsoft Visual Studio .NET 2003

I am using in an aspx page,
the oleDBConnection, oleDBCommand and oleDBAdapter.
Objects are respectively :
oleDBConnection1, oleDBCommand1 and oleDBAdapter1.

1) To connect datagrid to datasource, I am using some code in VB.
In datagrid object, I see that datasource is an exposed property,
So, is there any way to connect datagrid to datasource at design time ?

2) How can I make the oleDBConnection1, oleDBCommand1 and oleDBAdapter1
for using in another aspx pages, and not to write them on each page,
(something like a common module) ?

Thanks :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,678
Members
48,796
Latest member
Greg L.

Latest Threads

Top