Posted on: 9/29/2012 3:53:24 AM | Views : 244


        DSDataContext db = new DSDataContext();

        var bulldetail = from b in db.MilkingDetails
                         where b.CowNo == TextBox1.Text
                         select new { Total = ?????? };              
        GridView1.DataSource = bulldetail;
        GridView1.DataBind();
MilkingDetails has a column Total.. i wan to show the total. what should i write in place of ???

...

Go to the complete details ...