We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Plz solve my problem, it''s urgent

Thread ID:

Created:

Updated:

Platform:

Replies:

55060 Jan 23,2007 03:13 PM UTC Jan 24,2007 05:24 AM UTC ASP.NET Web Forms (Classic) 1
loading
Tags: GridGroupingControl
Sachin
Asked On January 23, 2007 03:13 PM UTC

Hi,
How can i add column to excel sheet using the syncfusion control. I want to add one more column to the alredy present excel sheet.
Thanks in advance

Melba Winshia [Syncfusion]
Replied On January 24, 2007 05:24 AM UTC

Hi Sachin,

By using Essential XlsIO you can insert a column into the worksheet at any location by calling the InsertColumn method. InsertColumn method takes the index of the column where the new column will be inserted. Please refer the following code snippet that illustrates the above:

[C#]

//Inserting a column into the worksheet
sheet.InsertColumn(1);

// Insert Multiple Columns.
sheet.InsertColumn(3,5);

[VB.NET]

'Inserting a column into the worksheet
sheet.InsertColumn(1)

'Insert Multiple columns.
sheet.InsertColumn(3,5)

Please refer the following sample which implements the above said feature:

InsertColumn.zip

Please take a look at the sample above and let me know if you have any other questions.

Best Regards,
Melba

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;