The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Hi ,
Q1. If I want to Put some information On page number 2 , How I can access a page by C# code?
Q.2 Or If I want to add a new page to the entier work sheet , I want to know the page number How I can do this by c# code.
ADAdministrator Syncfusion Team June 21, 2005 02:11 PM UTC
Hi Mohammad,
Here is some code snippet with comments
IWorkbook myWorkbook = excelEngine.Excel.Workbooks.Create(1);
//Accessing first sheet
IWorksheet mySheetOne = myWorkbook.Worksheets[0];
mySheetOne.Range["A1"].Text = "One";
//Insert one more sheet
myWorkbook.Worksheets.Create();
//Accessing second sheet[Newly added sheet]
IWorksheet mySheetTwo = myWorkbook.Worksheets[1];
mySheetTwo.Range["A1"].Text = "Two";
http://www.syncfusion.com/support/user/uploads/insertingpages.zip
Let me know if you have any questions.
Thanks,
Stephen.
>Hi ,
>
>Q1. If I want to Put some information On page number 2 , How I can access a page by C# code?
>
>Q.2 Or If I want to add a new page to the entier work sheet , I want to know the page number How I can do this by c# code.
>