Implementing IDataSource

A

Andrew

I need my own datasource control to connect to my business objects.

Interestingly when I implemented a descendant of
System.Web.UI.DataSourceControl it would never show up on my toolbox so I
have implemented System.Web.UI.Control descendant that supports the
System.Web.UI.IDataSource interface.

This works and I can connect my data source control up to grids etc and it
works fine.

The only problem is at design time it does not allow me to pick data fields
from a drop down list. I have to type in the field names manually.

Do I have to implement another interface other than IDataSource to make it
show the available fields in a drop down list at design time?

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

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top