List<general> s = new List<general>(); foreach (DataRow r in supplier.Rows) { s.Add(new general { col1=r[quot;amcode"].ToString(), col2=r[quot;amname"].ToString(), col4=Convert.ToDouble(r["foc"].ToString()) }); } ViewData["group"] = g;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)