.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> C# >> Post New QuestionBookmark and Share Subscribe to Forum

How To Write Text in Empty Excel Sheet only in C#.net

Posted By: ssk     Posted Date: November 08, 2012    Points:5   Category :C#
Hi Friends,

I have Lot of Excel files in my folder.its contains data and empty files also.

i need to write text in only empty excel sheets only..using c#.net

Please post the code....

Thanks in advance...

Responses
Author: Narayanan             
Posted Date: December 12, 2012     Points: 20   

Hi,
try this way,
SELECT * FROM [Sheet1$] WHERE [Column Name] > 1

Condition:if return value is null 
{
// Write your code...
}

Check this link;
http://vbcity.com/forums/t/84915.aspx

Regards, Lakshmi Naraayanan.S
http://dotnettechrocks.blogspot.in/


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend