콤마찍기

string.Format("{0:#,0}", 값)
string.Format("{0,9:N0}", row["field"]) + "원"; 



콤마제거

string[] itemAmount = null;  //금액(Split처리용)
string itemAmount2 = null;   //금액(,제거한 값)

itemAmount = ItemChild.ChildNodes[4].InnerText.Split(new Char[] { ',' });

for (int j = 0; j < itemAmount.Length; j++)
{
 itemAmount2 += itemAmount[j];
}


Posted by 뭉치냐옹
: