W
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
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