469,623 Members | 1,543 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,623 developers. It's quick & easy.

DataSourceControl implementation and SlectParameters

WT
Hello,
I am trying to implement a DataSourceControl and I need to simulate the same
functionality as the SqlDataSourceControl : being able to set declaratively
the select parameters to use when binding a DetailView to the Selected Row
in a GridView, but I have difficulties with the sample in MSDN concerning
DataSourceControl, Visual Studio give me an error on the
<Parameter><asp:ControlParameter...../> lines: My control doesn't accept
child controls ???
What am I missing to allow this declarative style ?
Should I simply name my properties SelectParameters, InsertParameters,
DeleteParemeters, etc. to allow DetailView to send these parameters in the
method
protected override IEnumerable ExecuteSelect(DataSourceSelectArguments
selectArgs)

Thanks for help
CS
Apr 21 '06 #1
2 1012
Hi CS,

Thank you for posting.

Regarding on this issue, I've found your another duplicated post in the
following newsgroup:

Subject: DataSourceControl and declarative SelectParameters
Date: Fri, 21 Apr 2006 12:30:14 +0200
Newsgroups: microsoft.public.dotnet.framework.aspnet.webcontro ls

I've posted my response there. And if you feel it convenient that we
continue to discuss in that thread, please feel free to post there.

Regards,

Steven Cheng
Microsoft Online Community Support
==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Apr 24 '06 #2
WT
Thyanks Steven, sorry for double posting.
CS
"Steven Cheng[MSFT]" <st*****@online.microsoft.com> a écrit dans le message
de news: uO**************@TK2MSFTNGXA01.phx.gbl...
Hi CS,

Thank you for posting.

Regarding on this issue, I've found your another duplicated post in the
following newsgroup:

Subject: DataSourceControl and declarative SelectParameters
Date: Fri, 21 Apr 2006 12:30:14 +0200
Newsgroups: microsoft.public.dotnet.framework.aspnet.webcontro ls

I've posted my response there. And if you feel it convenient that we
continue to discuss in that thread, please feel free to post there.

Regards,

Steven Cheng
Microsoft Online Community Support
==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Apr 24 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

29 posts views Thread by Enrico `Trippo' Porreca | last post: by
reply views Thread by Rune B | last post: by
3 posts views Thread by Peter | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.