Hey,
I am not able to Populate dropdownlist with sql data source--aspx is
Ans datasource is--
I am trying to populate ddl from ProductName column of my tblProducts.
Does'nt seem to be workin'.I am getting this error--
'System.Data.Common.DataRecordInternal' does not contain a property with the name 'Pid'
Plz help..
Thanks
Amit
I am not able to Populate dropdownlist with sql data source--aspx is
<telerik:GridDropDownColumn HeaderText="Items" UniqueName="column1" DataSourceID="SqlDataSource1" ListTextField="ProductName" ListValueField="Pid" DataField="ProductName" > </telerik:GridDropDownColumn><asp:SqlDataSource ID="SqlDataSource1" runat="server" DataSourceMode="DataReader" ConnectionString="<%$ ConnectionStrings:ChalkHillConnectionString3 %>" SelectCommand="SELECT [ProductName] FROM [tblProducts] ORDER BY [Pid]"></asp:SqlDataSource>Does'nt seem to be workin'.I am getting this error--
'System.Data.Common.DataRecordInternal' does not contain a property with the name 'Pid'
Plz help..
Thanks
Amit