during a peer review, my co-worker told me to eliminate my code and replace it with code of this type. Where can I find a good resource for creating a dataset in App_Code, creating teh query, filling the dataset, then filling the grid view using something like this?
<asp:Label ID="ddlInspType" runat="server" Text='<%# DataBinder.Eval(((System.Data.DataRowView)Container.DataItem).Row.GetParentRow("tableName"),"fieldName") %>'></asp:Label>
I've read so much and cannot find instructions for creating and filing a dataset in the app_code section of my website.
I need to read three Oracle tables and fill a datagrid with values from each. There is one parent and two children for a relationship. How do I fill the datagrid using code as above?