101 – Excel Number Formatting in C#

0
1



When programming with Microsoft Office Excel, you can interact with the objects provided by the Excel object model. You can programmatically create a worksheet, read worksheet, formatting cell etc. from your c# application. In this article we will take a closer look at manipulating Excel cells from your C# application.

Excel Number Formatting

Excel.Range formatRange;
formatRange = xlWorkSheet.get_Range(“a1”, “b1”);
formatRange.NumberFormat = “#,###,###”;
xlWorkSheet.Cells[1, 1] = “1234567890”;

Moreover, you should also visit our:

Website:
Blog:
Shop:
FbPage:
Twitter:
Google+ :
YouTube:
Email: help@theengineeringprojects.com
Skype: theenggprojects
Mobile / WhatsApp : +92-332-6062060

Thanks for Watching.

Nguồn:https://wijstaanvooronzegrondrechten.org/

Xem Thêm Bài Viết Khác:https://wijstaanvooronzegrondrechten.org/cong-nghe

LEAVE A REPLY

Please enter your comment!
Please enter your name here