On Mon, Jun 8, 2009 at 10:30 AM, BlueVista<[email protected]> wrote:
>
> Please see my source code here >  
> http://www.superboxhost.com/genericfiles/post.txt
>

Ok, so, no clsDataBindGrid in that code, so no idea what you're hiding
under the hood, but the FIRST reason I see is:

        clsDataBindGrid dsProducts = new clsDataBindGrid();

        //Prepare the query for Child GridView by passing the Customer
ID of the parent row
        int catID = Convert.ToInt32(DataBinder.Eval(e.Row.DataItem,
"subcatid"));
        gv.DataSource = dsProducts.FillProducts(catID);
        //ChildDataSource(((DataRowView)e.Row.DataItem)["subcatID"].ToString(),
strSort);
        //(e.Item.DataItem as
DataRowView).Row.Table.Columns.Contains("colName1" )


Commented out the sort line before the bind? Won't sort THAT way.

-- Jadawin

Reply via email to