Forum Moderators: open
Here's the code I'm working with:
<MM:DataSet
id="DataSet1"
runat="Server"
IsStoredProcedure="false"
ConnectionString='<%# System.Configuration.ConfigurationSettings.AppSettings("MM_CONNECTION_STRING_DocumentationServices") %>'
DatabaseType='<%# System.Configuration.ConfigurationSettings.AppSettings("MM_CONNECTION_DATABASETYPE_DocumentationServices") %>'
CommandText='<%# "SELECT dbo.tblChanges.EC, dbo.tblChanges.ICode, dbo.tblChanges.Change FROM dbo.tblChanges WHERE dbo.tblChanges.ICode = @reportInput " %>'
Debug="true"
>
<Parameters>
<Parameter Name="@reportInput" Value='<%# IIf((Request.Form("reportInput") <> Nothing), Request.Form("reportInput"), "") %>' Type="NChar" />
</Parameters>
</MM:DataSet>