Click here to Skip to main content
15,889,281 members
Home / Discussions / C#
   

C#

 
AnswerRe: Unformatted text in grid row when saved from rich txt box Pin
Calla19-Mar-10 1:25
Calla19-Mar-10 1:25 
AnswerRe: Unformatted text in grid row when saved from rich txt box Pin
MathewPV19-Mar-10 1:34
MathewPV19-Mar-10 1:34 
GeneralRe: Unformatted text in grid row when saved from rich txt box Pin
Calla19-Mar-10 1:37
Calla19-Mar-10 1:37 
GeneralRe: Unformatted text in grid row when saved from rich txt box Pin
MathewPV21-Mar-10 18:57
MathewPV21-Mar-10 18:57 
QuestionFill string Array to Excel Pin
Mschauder19-Mar-10 0:09
Mschauder19-Mar-10 0:09 
AnswerRe: Fill string Array to Excel Pin
Dave Kreskowiak19-Mar-10 3:14
mveDave Kreskowiak19-Mar-10 3:14 
GeneralRe: Fill string Array to Excel Pin
Mschauder19-Mar-10 3:25
Mschauder19-Mar-10 3:25 
GeneralRe: Fill string Array to Excel Pin
Dave Kreskowiak19-Mar-10 12:17
mveDave Kreskowiak19-Mar-10 12:17 
Mschauder wrote:
Office Excel 2007 can hold 1.048.576 rows.


Which not everyone has... But then again, you haven't said anything about your client base, so I'm, assuming you have to support more than a "corporate standard load".


Mschauder wrote:
Should have a .xls or .xlsx format and should can autosize cols and edit backcolor from the header


You cannot write an .XLS file without using the Excel object model or a third party control, filing in all the cells, formatting them, then saving it.

An .XLSX file is just an XML file, so there's a bit of work there to get the data in the correct format surrounded by the required XML Excel wants to see. Not every Excel can open an .XLSX file either. Again, it depends on your clients...


Mschauder wrote:
There must be an another way...


You've got your options. There is no "bulk insert" option for Excel.


Mschauder wrote:
//Application.DoEvents();


I wish DoEvents was never allowed to be created...

A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008
But no longer in 2009...




GeneralRe: Fill string Array to Excel Pin
Dan Mos19-Mar-10 21:06
Dan Mos19-Mar-10 21:06 
AnswerRe: Fill string Array to Excel Pin
CikaPero18-Jul-10 22:27
CikaPero18-Jul-10 22:27 
Questiondll registration Pin
sindhumahe18-Mar-10 23:06
sindhumahe18-Mar-10 23:06 
AnswerRe: dll registration Pin
#realJSOP18-Mar-10 23:21
mve#realJSOP18-Mar-10 23:21 
AnswerRe: dll registration Pin
Anubhava Dimri18-Mar-10 23:21
Anubhava Dimri18-Mar-10 23:21 
AnswerRe: dll registration Pin
Hristo-Bojilov19-Mar-10 0:02
Hristo-Bojilov19-Mar-10 0:02 
AnswerRe: dll registration Pin
Pete O'Hanlon19-Mar-10 1:13
mvePete O'Hanlon19-Mar-10 1:13 
GeneralRe: dll registration Pin
#realJSOP19-Mar-10 1:54
mve#realJSOP19-Mar-10 1:54 
GeneralRe: dll registration Pin
Pete O'Hanlon19-Mar-10 2:07
mvePete O'Hanlon19-Mar-10 2:07 
GeneralRe: dll registration Pin
Wes Aday19-Mar-10 4:48
professionalWes Aday19-Mar-10 4:48 
QuestionGetChanges() & AcceptChanges() not working.... Pin
sjs4u18-Mar-10 23:00
sjs4u18-Mar-10 23:00 
AnswerRe: GetChanges() & AcceptChanges() not working.... Pin
Som Shekhar19-Mar-10 1:18
Som Shekhar19-Mar-10 1:18 
GeneralRe: GetChanges() & AcceptChanges() not working.... Pin
sjs4u19-Mar-10 1:48
sjs4u19-Mar-10 1:48 
GeneralRe: GetChanges() & AcceptChanges() not working.... Pin
Som Shekhar19-Mar-10 1:51
Som Shekhar19-Mar-10 1:51 
GeneralRe: GetChanges() & AcceptChanges() not working.... Pin
sjs4u19-Mar-10 2:04
sjs4u19-Mar-10 2:04 
GeneralRe: GetChanges() & AcceptChanges() not working.... Pin
Som Shekhar19-Mar-10 2:41
Som Shekhar19-Mar-10 2:41 
GeneralRe: GetChanges() & AcceptChanges() not working.... Pin
sjs4u19-Mar-10 2:56
sjs4u19-Mar-10 2:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.