Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Empty cells after assigning C# .NET strings

I am creating an Excel sheet using the Interop assembly in a C# program. I'm
populating cells A through Q, one row at a time.

After populating, I display the sheet. Some of the cell values are empty for
some of the columns in the sheet. However, I've written all of the source
object values to the debug output window to verify that the program has
values for the source properties and that the source properties are being
assigned to the cells in the program. Note, the values exported to are
integer, dateTime and string in type. The int and DateTime types are being
converted using ToString() prior to the assignment to a cell. The resultant
sheet contains empty cells for some of the integer and string types.

--
MSH
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Assigning a number value to strings JRD Excel Worksheet Functions 1 June 26th 09 07:00 PM
Assigning strings number values and adding them together JRD Excel Worksheet Functions 2 June 23rd 09 10:08 PM
Assigning number values to text strings [email protected] Excel Discussion (Misc queries) 0 December 8th 06 09:52 PM
VB Assigning Values to a Series of Strings cincode5 Excel Discussion (Misc queries) 1 August 4th 05 11:38 PM
How can I convert empty strings to empty cells? Shane Excel Discussion (Misc queries) 2 July 19th 05 12:10 PM


All times are GMT +1. The time now is 08:19 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"