6 Topics

Member Avatar for
Member Avatar for cutebaboi

its been 6 days passed since i started making this assignment of mine it is to show how objectdatasource is used, until now, i still cannot getaway with this error, [B][U]The data source for GridView with id 'GridView1' did not have any properties or attributes from which to generate columns. …

Member Avatar for cutebaboi
0
1K
Member Avatar for k1robert

I have a DropDownList that is populated from an ObjectDataSource [CODE] <asp:DropDownList ID="ddlDepartment" runat="server" AutoPostBack="True" DataSourceID="odsGetDeptByFaculty" DataTextField="Dept" DataValueField="FID" onselectedindexchanged="ddlDepartment_SelectedIndexChanged"> </asp:DropDownList> <asp:ObjectDataSource ID="odsGetDeptByFaculty" runat="server" SelectMethod="usp_GetDeptByFaculty" TypeName="DataLayer.StoredProcs"> <SelectParameters> <asp:ControlParameter ControlID="ddlFaulty" Name="fCode" PropertyName="SelectedValue" Type="String" /> </SelectParameters> </asp:ObjectDataSource> [/CODE] My problem is when I run the program and select the option from the dropdownlist …

Member Avatar for Freon22
0
164
Member Avatar for ptemedia

Hi, I have an objectdatasource showing lots of details for a particular product. In the table of products, there is an extra field which is either 'yes' or 'no' Is there a way in the cs code or javascript to make an image visible="true" if the value is 'yes' thanks

0
75
Member Avatar for ptemedia

Hi. I am making page which in essence is like a recent history section. When an item is viewed, a cookie is set storing its ID. I have managed to read the cookie and make a pop-up to display its data so I know it works. Does anyone know how, …

Member Avatar for Baradaran
0
87
Member Avatar for croker10

Hi all, I have a grid view I am trying to use, and it displays a large number of pill codes, (thousands) that I would like to be able to filter down. I have set up a dropdown list that gives the different options to filter on, basically every letter …

0
144
Member Avatar for ptemedia

Hi, I have an objectdatasource as shown: [CODE] <asp:ObjectDataSource ID="ObjectDataSource2" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetProducts" TypeName="ProductsDALTableAdapters.ProductsDTTableAdapter" MaximumRowsParameterName=""> <SelectParameters> <asp:QueryStringParameter DefaultValue="" Name="Param2" QueryStringField="ID" Type="Int32" /> <asp:Parameter DefaultValue="???" Name="Param1" Type="String" /> </SelectParameters> </asp:ObjectDataSource> [/CODE] This returns products that include (in a particular field) what is placed instead of ??? with the exception of the …

0
103

The End.