Click here to Skip to main content
15,891,253 members
Home / Discussions / C#
   

C#

 
GeneralRe: Should I bring in a project or a .dll in my VS solution? Pin
chuckdawit20-Sep-12 18:29
chuckdawit20-Sep-12 18:29 
AnswerRe: Should I bring in a project or a .dll in my VS solution? Pin
Abhinav S20-Sep-12 17:47
Abhinav S20-Sep-12 17:47 
AnswerRe: Should I bring in a project or a .dll in my VS solution? Pin
Emmanuel Medina21-Sep-12 3:57
professionalEmmanuel Medina21-Sep-12 3:57 
QuestionWhy c# do not support Multiple Inheritance Pin
Himanshu Yadav20-Sep-12 7:51
Himanshu Yadav20-Sep-12 7:51 
QuestionRe: WHY GIRLS DONT LIKE TO MARRY SOFTWARE ENGINEERS ????? Pin
Wes Aday20-Sep-12 8:48
professionalWes Aday20-Sep-12 8:48 
GeneralRe: WHY GIRLS DONT LIKE TO MARRY SOFTWARE ENGINEERS ????? Pin
Kenneth Haugland20-Sep-12 9:09
mvaKenneth Haugland20-Sep-12 9:09 
AnswerRe: Why c# do not support Multiple Inheritance Pin
Dave Kreskowiak20-Sep-12 17:25
mveDave Kreskowiak20-Sep-12 17:25 
GeneralRe: Why c# do not support Multiple Inheritance Pin
Paul Conrad20-Sep-12 18:53
professionalPaul Conrad20-Sep-12 18:53 
AnswerRe: Why c# do not support Multiple Inheritance Pin
Ingo20-Sep-12 23:25
Ingo20-Sep-12 23:25 
AnswerRe: Why c# do not support Multiple Inheritance Pin
Pete O'Hanlon20-Sep-12 23:49
mvePete O'Hanlon20-Sep-12 23:49 
GeneralRe: Why c# do not support Multiple Inheritance Pin
pasztorpisti23-Sep-12 9:13
pasztorpisti23-Sep-12 9:13 
GeneralRe: Why c# do not support Multiple Inheritance Pin
Pete O'Hanlon24-Sep-12 1:26
mvePete O'Hanlon24-Sep-12 1:26 
GeneralRe: Why c# do not support Multiple Inheritance Pin
pasztorpisti24-Sep-12 1:35
pasztorpisti24-Sep-12 1:35 
GeneralRe: Why c# do not support Multiple Inheritance Pin
Pete O'Hanlon24-Sep-12 1:47
mvePete O'Hanlon24-Sep-12 1:47 
GeneralRe: Why c# do not support Multiple Inheritance Pin
pasztorpisti24-Sep-12 1:53
pasztorpisti24-Sep-12 1:53 
GeneralRe: Why c# do not support Multiple Inheritance Pin
Pete O'Hanlon24-Sep-12 2:09
mvePete O'Hanlon24-Sep-12 2:09 
GeneralRe: Why c# do not support Multiple Inheritance Pin
pasztorpisti24-Sep-12 2:33
pasztorpisti24-Sep-12 2:33 
AnswerRe: WHY GIRLS DONT LIKE TO MARRY SOFTWARE ENGINEERS ????? Pin
Shameel21-Sep-12 1:48
professionalShameel21-Sep-12 1:48 
GeneralRe: WHY GIRLS DONT LIKE TO MARRY SOFTWARE ENGINEERS ????? Pin
pasztorpisti22-Sep-12 12:20
pasztorpisti22-Sep-12 12:20 
AnswerRe: Why c# do not support Multiple Inheritance Pin
Dave Doknjas21-Sep-12 6:02
Dave Doknjas21-Sep-12 6:02 
AnswerRe: Why c# do not support Multiple Inheritance Pin
jschell21-Sep-12 10:51
jschell21-Sep-12 10:51 
AnswerRe: Why c# do not support Multiple Inheritance Pin
pasztorpisti22-Sep-12 12:34
pasztorpisti22-Sep-12 12:34 
AnswerRe: Why c# do not support Multiple Inheritance Pin
Bernhard Hiller23-Sep-12 21:09
Bernhard Hiller23-Sep-12 21:09 
GeneralRe: Why c# do not support Multiple Inheritance Pin
Himanshu Yadav11-Oct-12 0:10
Himanshu Yadav11-Oct-12 0:10 
QuestionHow to have multiple DB back up activities running simultenously Pin
Sajeevsadan20-Sep-12 7:44
Sajeevsadan20-Sep-12 7:44 
Question and Scenario: We have N number of users using this utility to back up multiple DB's(consider 5 selected by a user) from a server.From the above code this will only execute serialy one after the other for each user. Instead of this , selected 5 db back up operation should process parallel and the control should come out accepting the request from the next user
Could anybody suggest the best approach that will provide the best perfomance Cry | :((
We have code written need to back up and restore database using LiteSpeed extended procedures
=====================================
<pre lang="c#">public bool ArchieveDB(string serverName, string databaseName)
        {
            try
            {
                string fileName = ATTACH_FILE_PATH + databaseName + ".BAK";
                SqlParameter[] dbParameters = new SqlParameter[]
                {
                    new SqlParameter {ParameterName =SERVER_NAME, Value = serverName },
                    new SqlParameter {ParameterName =DATABASE_NAME, Value = databaseName },
                    new SqlParameter {ParameterName =FILE_NAME, Value = fileName },
                    new SqlParameter {ParameterName = INIT_VALUE, Value =  1}
                };
                ExecuteNonQuery(BACKUP_SP_NAME, dbParameters);                return true;
            }
            catch (SqlException ex)
            {
                return false;
            }
        }

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.