Cretate SQL connection maually Using C#
This is one of the most asked questions by a beginner in the C# devlopment SqlConnection SqlCon = new SqlConnection(connectionString); SqlCon.Open(); SqlCommand SqlCmd = new SqlCommand(cmdtxt, SqlCon);...
View ArticleOpen Exel and Insert Data in C#
Here is the code for creating a new Microsoft excel file open it and open a new sheet of it and to insert data from the data table to it and save the a copy of a application in your hard drive....
View ArticleOpen Outlook in C#
Here is the code I used to open out look and set the to address and tittle and to do a attachment to that mail. application.Visible = true; book.SaveCopyAs(@”” +...
View ArticleGet the frame work version of Winapp
This is what I just found hope it is use full @ some point System.Environment.Version.ToString();
View ArticleRead Only Components Get Cleared up on Postback
I found a problem on ASP.net web Applications with read only text boxes not responding to the ‘viewsate’ property set, If you set the ‘readonly’ attribute to true. It will clear the readonly text box...
View ArticleCretate SQL connection maually Using C#
This is one of the most asked questions by a beginner in the C# devlopment SqlConnection SqlCon = new SqlConnection(connectionString); SqlCon.Open(); SqlCommand SqlCmd = new SqlCommand(cmdtxt, SqlCon);...
View Article