Click here to Skip to main content
15,887,485 members
Home / Discussions / C#
   

C#

 
AnswerRe: backup mysql database using c# Pin
Wayne Gaylard14-Mar-12 20:07
professionalWayne Gaylard14-Mar-12 20:07 
GeneralRe: backup mysql database using c# Pin
altafmohd14-Mar-12 21:01
altafmohd14-Mar-12 21:01 
AnswerRe: backup mysql database using c# Pin
Abhinav S13-Mar-12 20:00
Abhinav S13-Mar-12 20:00 
GeneralRe: backup mysql database using c# Pin
altafmohd13-Mar-12 21:43
altafmohd13-Mar-12 21:43 
GeneralRe: backup mysql database using c# Pin
Abhinav S13-Mar-12 23:47
Abhinav S13-Mar-12 23:47 
GeneralRe: backup mysql database using c# Pin
altafmohd14-Mar-12 0:00
altafmohd14-Mar-12 0:00 
GeneralRe: backup mysql database using c# Pin
altafmohd14-Mar-12 19:04
altafmohd14-Mar-12 19:04 
AnswerRe: backup mysql database using c# Pin
PIEBALDconsult14-Mar-12 5:26
mvePIEBALDconsult14-Mar-12 5:26 
No idea, but this:

DateTime Time = DateTime.Now;
int year = Time.Year;
int month = Time.Month;
int day = Time.Day;
int hour = Time.Hour;
int minute = Time.Minute;
int second = Time.Second;
int millisecond = Time.Millisecond;
 
//Save file to C:\ with the current date as a filename
string path;
path = "C:\\MySqlBackup" + year + "-" + month + "-" + day +
"-" + hour + "-" + minute + "-" + second + "-" + millisecond + ".sql";


can be reduced to:

string path = System.String.Format ( @"C:\MySqlBackup{0:yyyy-MM-dd-HH-mm-ss-fff}.sql" , System.DateTime.Now ) ;

QuestionDelphi to C# Pin
firepile13-Mar-12 11:02
firepile13-Mar-12 11:02 
AnswerRe: Delphi to C# Pin
Philippe Mori13-Mar-12 16:17
Philippe Mori13-Mar-12 16:17 
GeneralRe: Delphi to C# Pin
BobJanova13-Mar-12 23:42
BobJanova13-Mar-12 23:42 
GeneralRe: Delphi to C# Pin
lmoelleb14-Mar-12 0:13
lmoelleb14-Mar-12 0:13 
GeneralRe: Delphi to C# Pin
BobJanova14-Mar-12 2:11
BobJanova14-Mar-12 2:11 
GeneralRe: Delphi to C# Pin
lmoelleb14-Mar-12 3:16
lmoelleb14-Mar-12 3:16 
GeneralRe: Delphi to C# Pin
Philippe Mori14-Mar-12 2:37
Philippe Mori14-Mar-12 2:37 
GeneralRe: Delphi to C# Pin
Pete O'Hanlon14-Mar-12 2:49
mvePete O'Hanlon14-Mar-12 2:49 
AnswerRe: Delphi to C# Pin
BobJanova13-Mar-12 23:45
BobJanova13-Mar-12 23:45 
QuestionC# string need to search for a lack of < & > Pin
glennPattonWork313-Mar-12 5:04
professionalglennPattonWork313-Mar-12 5:04 
AnswerRe: C# string need to search for a lack of Pin
Luc Pattyn13-Mar-12 5:42
sitebuilderLuc Pattyn13-Mar-12 5:42 
AnswerRe: C# string need to search for a lack of Pin
DonDiegoDeLaVega13-Mar-12 5:43
DonDiegoDeLaVega13-Mar-12 5:43 
GeneralRe: C# string need to search for a lack of Pin
glennPattonWork313-Mar-12 6:04
professionalglennPattonWork313-Mar-12 6:04 
AnswerRe: C# string need to search for a lack of Pin
PIEBALDconsult13-Mar-12 7:06
mvePIEBALDconsult13-Mar-12 7:06 
QuestionSend Email Pin
om_metab13-Mar-12 4:06
om_metab13-Mar-12 4:06 
AnswerRe: Send Email Pin
Pete O'Hanlon13-Mar-12 4:57
mvePete O'Hanlon13-Mar-12 4:57 
GeneralRe: Send Email Pin
Richard MacCutchan13-Mar-12 6:06
mveRichard MacCutchan13-Mar-12 6:06 

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.