Datasource Page

  • Thread starter José Newton Fernandes Ferreira
  • Start date
J

José Newton Fernandes Ferreira

Hi,

I am developing a ASP.NET application that has a custom base Page class,
so all my asp.net pages inherits from a non-default Page
like:
public class WebForm1: MyBasePage
{
...
}

I have a property on this class that I want to use as the DataSource
property for all DataGrid dropped on the Web Form Designer. What I want is
that each time developer drop a DataGrid on a page based on MyBasePage
openned on the designer, the DataSouce combo property of DataGrid (in the
property Browser) shows the name retorned by my custom base Page property.

Any idea?

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,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top