can a dg be added to an ascx? ascx call a ws?

  • Thread starter Thread starter Jason Shohet
  • Start date Start date
J

Jason Shohet

We have some db-search functionality that we need in several asp.net apps.
How to get reuse out of this...
I was thinking of putting the search criteria, and the datagrid that
displays the results, in an ascx control that can be plopped down in any of
our apps.

1. I'm just not sure about putting a datagrid in an ascx -- any minuses to
doing this?

2. Can an ascx can call a web service (thats where we put our ADO stuff --
where I would retrieve the ds and send it back to be put in the datagrid).
I recall trying to do this once a year ago, and it couldn't call a
service...

Thanks
Jason Shohet
 
1. I'm just not sure about putting a datagrid in an ascx -- any minuses
to
doing this?

None whatsoever.
2. Can an ascx can call a web service (thats where we put our ADO stuff --
where I would retrieve the ds and send it back to be put in the datagrid).
I recall trying to do this once a year ago, and it couldn't call a
service...

Sure can.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
http://www.takempis.com
Big Things are made up of
Lots of Little Things.
 

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

Similar Threads


Back
Top