Click here to Skip to main content
15,896,154 members
Home / Discussions / C#
   

C#

 
AnswerRe: Need help in regex replace method. Pin
OriginalGriff4-May-10 22:39
mveOriginalGriff4-May-10 22:39 
GeneralRe: Need help in regex replace method. Pin
Rohit16db5-May-10 1:40
Rohit16db5-May-10 1:40 
GeneralRe: Need help in regex replace method. Pin
OriginalGriff5-May-10 3:54
mveOriginalGriff5-May-10 3:54 
QuestionHow to retrive message list from p2p Pin
Saiyed Alam4-May-10 20:56
Saiyed Alam4-May-10 20:56 
QuestionListBox Controls Pin
Illegal Operation4-May-10 20:22
Illegal Operation4-May-10 20:22 
AnswerRe: ListBox Controls [modified] Pin
Dan Mos4-May-10 20:43
Dan Mos4-May-10 20:43 
AnswerRe: ListBox Controls Pin
Henry Minute5-May-10 2:56
Henry Minute5-May-10 2:56 
QuestionAdd column to excel Pin
yadlaprasad4-May-10 20:03
yadlaprasad4-May-10 20:03 
HI,

in my code, I am checking for a excel file exists or not. if it doesn't exists i am trying to creating new one along with some columns. here i am able to create the excel file but i don't know how to add columns to it. can any one please help??

below is my code block.

private void CheckExcelfile()
       {
           string path = @"C:\Servicedeatils.xls";
           if (!File.Exists(path))
           {
               using (StreamWriter sw = File.CreateText(path))
               {
               How to add columns to the created excel file??

               }
           }


       }

fttyhtrhyfytrytrysetyetytesystryrty

AnswerRe: Add column to excel Pin
Dan Mos4-May-10 20:16
Dan Mos4-May-10 20:16 
AnswerRe: Add column to excel Pin
yadlaprasad4-May-10 20:22
yadlaprasad4-May-10 20:22 
GeneralRe: Add column to excel Pin
Estys4-May-10 21:07
Estys4-May-10 21:07 
QuestionReg: Crystal Report Pin
Dotnetkanna4-May-10 19:21
Dotnetkanna4-May-10 19:21 
AnswerRe: Reg: Crystal Report Pin
Eddy Vluggen4-May-10 23:27
professionalEddy Vluggen4-May-10 23:27 
GeneralRe: Reg: Crystal Report Pin
Dotnetkanna5-May-10 0:17
Dotnetkanna5-May-10 0:17 
GeneralRe: Reg: Crystal Report Pin
Eddy Vluggen5-May-10 0:56
professionalEddy Vluggen5-May-10 0:56 
GeneralRe: Reg: Crystal Report Pin
Dotnetkanna5-May-10 2:56
Dotnetkanna5-May-10 2:56 
GeneralRe: Reg: Crystal Report Pin
Eddy Vluggen5-May-10 5:00
professionalEddy Vluggen5-May-10 5:00 
QuestionINotifyPropertyChanged Question. Pin
Siddhartha S.4-May-10 19:04
Siddhartha S.4-May-10 19:04 
AnswerRe: INotifyPropertyChanged Question. Pin
Dan Mos4-May-10 19:19
Dan Mos4-May-10 19:19 
AnswerRe: INotifyPropertyChanged Question. Pin
AspDotNetDev4-May-10 19:57
protectorAspDotNetDev4-May-10 19:57 
QuestionUsing List for combo box collection [modified] Pin
mprice2144-May-10 17:53
mprice2144-May-10 17:53 
AnswerRe: Using List for combo box collection Pin
Luc Pattyn4-May-10 18:19
sitebuilderLuc Pattyn4-May-10 18:19 
GeneralRe: Using List for combo box collection Pin
mprice2144-May-10 18:40
mprice2144-May-10 18:40 
GeneralRe: Using List for combo box collection Pin
Dan Mos4-May-10 18:56
Dan Mos4-May-10 18:56 
QuestionCalibration and Tolerance Pin
jokerleo4-May-10 17:32
jokerleo4-May-10 17:32 

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.