|
VanessaBurgess -> RE: DreamweaverCS3 asp.net asp:dropdownlist (3/1/2008 12:17:57)
|
Hi Again Thanks again ... one step forward. Yes, using two datasets has helped but still I am unable to select from the dropdown (DispSize)and display the appropriate dataset. I have reflected again on the FP webpage above and figured that both Datasets need the parameters added so have included those. What I think is missing is some means of the dropdown searching for DispSize and displaying the dataset in a table below. I don't understand what you mean by look up. The Repeater only diplays all the dataset so I have deleted this. Without, it displays the first dataset entry only. What I am trying to achieve is the same functionality as the FP DataBase Results Wizard version above. <MM:DataSet id="DataSet1" runat="Server" IsStoredProcedure="false" ConnectionString='<%# System.Configuration.ConfigurationSettings.AppSettings("MM_CONNECTION_STRING_connprodACCESS") %>' DatabaseType='<%# System.Configuration.ConfigurationSettings.AppSettings("MM_CONNECTION_DATABASETYPE_connprodACCESS") %>' CommandText='<%# "SELECT DispSize FROM HiVisCoat WHERE DispSize = DispSize" %>' Debug="true" > <Parameters> <Parameter Name="@DispSize" Value='<%# IIf((Request.QueryString("DispSize") <> Nothing), Request.QueryString("DispSize"), "DispSize") %>' Type="WChar" /> </Parameters> </MM:DataSet> <MM:DataSet id="DataSet2" runat="Server" IsStoredProcedure="false" ConnectionString='<%# System.Configuration.ConfigurationSettings.AppSettings("MM_CONNECTION_STRING_connprodACCESS") %>' DatabaseType='<%# System.Configuration.ConfigurationSettings.AppSettings("MM_CONNECTION_DATABASETYPE_connprodACCESS") %>' CommandText='<%# "SELECT ""Description"", Discount, DispDepth, DispPrice, DispSize, GirthSizecm, Orderid, Part, Price, ProdSize, Quantity, Taxed, Units, Upsell, URL, Weight FROM HiVisCoat WHERE DispSize = DispSize" %>' CurrentPage='<%# IIf((Request.QueryString("DataSet2_CurrentPage") <> Nothing), Request.QueryString("DataSet2_CurrentPage"), 0) %>' PageSize="10" Debug="true" > <Parameters> <Parameter Name="@DispSize" Value='<%# IIf((Request.QueryString("DispSize") <> Nothing), Request.QueryString("DispSize"), "DispSize") %>' Type="WChar" /> </Parameters> </MM:DataSet> <MM:PageBind runat="server" PostBackBind="true" />
|
|
|
|