Seperate large numbers with comma in asp.net gridview I Want to Seperate my Number using Seperate comma(Outstanding Colum). if (Session["dt1"] != null) dt1 = (DataTable)Session["dt1"]; DataRow dr = dt1.NewRow(); dr["CusCode"] =txtCusCode.Text;//1 dr["CusName"] = CustomerName;//2 dr["NoofINV"] = CDET.Rows[i][1].ToString();//3 dr["Outstanding"] = CDET.Rows[i][5].ToString();//4 dt1.Rows.Add(dr); DebtorsGridView.DataSource = dt1; DebtorsGridView.DataBind(); How to do it?? I try Flowing One it's not working dr["Outstanding"] = CDET.Rows[i][5].ToString("##,0.00");//4 Thank You
N
dr["Outstanding"] == Convert.ToDouble(CDET.Rows[i][5]).ToString("##,0.00");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)