Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

i want display a given number into Rupees Format

Like
Given number is : 156735

my Expected output is 1,56,735.

how to display?

Answer Posted / esarmca65

For win forms .....


private void button1_Click(object sender, EventArgs e)
{
string s = textBox1.Text;
textBox2.Text = string.Format("{0:c}",
Convert.ToInt32(s));
}

Input: 65536

Out Put:$65,536.00

Is This Answer Correct ?    5 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can an array be null c#?

919


Define delay signing?

913


What does typeof return c#?

902


Is unboxing an implicit conversion?

1009


What is assembly c#?

869


What is JIT (just in time)? how it works?

985


What is marshalling and what are different kinds of marshalling?

902


What is string method in c#?

892


Can we override interface method?

954


Which is executed if an exception has not occurred?

937


Can class inherit from struct c#?

956


What is session and cookies in c#?

948


Who benefits from ajax?

965


Is .net and c# the same?

967


What are the extension methods in c#?

898