18 Eylül 2007 Salı

SAYISAL İÇERİKLERE PARASAL FORMAT VERMEK

private void button1_Click(object sender, EventArgs e)

{
decimal deger = Convert.ToDecimal(textBox1.Text);
MessageBox.Show(deger.ToString("#,###.00"));

}

Hiç yorum yok: