Displaying textbox value as currency?

luckystars

Member
Joined
Mar 15, 2005
Messages
14
Programming Experience
1-3
I am developing a windows application in vb.net

I have declared an integer variable

(dim amount1 as integer)

and initialize it from a dataset

(amount1 = RevCodesdataset.Tables("Rev Codes").Rows(0).Item("Amount 1"))

I then display this in a textbox. (txtAmount1.Text = amount1)

How can I display as a currency?

thanks in advance

 

luckystars

Member
Joined
Mar 15, 2005
Messages
14
Programming Experience
1-3
I realized I was in the wrong area and found the answer to my question in the Windows Forms forum. Thanks
 
Top Bottom