RE: Parameterized components?
- From: "Jorge L Matos" <matos_jorge(NOSPAM)@hotmail.com>
- Date: Fri, 15 Apr 2005 21:26:01 -0700
Steve,
Its not too hard to do that, in the designer,
1) Right-click the DataAdapter,
2) Click on the SelectCommand property
3) Click on elipsis button [...] on the CommandText property
a designer will popup that looks like the MS Access SQL designer,
you can now modify the SQL to your hearts content.
HTH,
Jorge L Matos
"Steve N." wrote:
> I'm following the walkthroughfor creating a Web Application:
> ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/vsintro7/html/vxwlkWalkthroughCreatingWebApplicationUsingVisualCOrVisualBasic.htm
>
> The application uses a component where data adapters are dropped onto the
> component designer, and then code behind is used to fill the datasets, which
> are then accessed by dropping a dataset onto the designer view of the .aspx
> page. What if I wanted to parameterize the data adapter's SQL statement, so
> that rather than getting ALL the records in the table, I could get only the
> records I wanted through the .aspx page?
>
> I haven't seen anything about this in any of the walkthrough's and it seems
> like I'm the only person posting this question on the internet. Is it
> possible, or was there a faux pas in using components to develop a web app?
.
- Follow-Ups:
- RE: Parameterized components?
- From: Steve N.
- RE: Parameterized components?
- References:
- Parameterized components?
- From: Steve N.
- Parameterized components?
- Prev by Date: Parameterized components?
- Next by Date: RE: New company architecture
- Previous by thread: Parameterized components?
- Next by thread: RE: Parameterized components?
- Index(es):