Click here to Skip to main content
15,914,221 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: about datagrid Pin
Abhinav S17-Jul-10 20:45
Abhinav S17-Jul-10 20:45 
AnswerRe: about datagrid Pin
Alicia Ouellet5-Oct-10 7:07
Alicia Ouellet5-Oct-10 7:07 
QuestionProblem binding data to a gridview on key press. Pin
Clint Westwood16-Jul-10 23:08
Clint Westwood16-Jul-10 23:08 
AnswerRe: Problem binding data to a gridview on key press. Pin
Peace ON16-Jul-10 23:25
Peace ON16-Jul-10 23:25 
QuestionMessage Removed Pin
16-Jul-10 1:19
sr15916-Jul-10 1:19 
Answer[Repost] Re: how to restore mysql dump file to database using C#, ASP.net PinPopular
Peace ON16-Jul-10 1:32
Peace ON16-Jul-10 1:32 
GeneralRe: [Repost] Re: how to restore mysql dump file to database using C#, ASP.net Pin
Peace ON16-Jul-10 2:09
Peace ON16-Jul-10 2:09 
Questionhow to restore mysql dump file to database using C# , ASP.NET Pin
sr15915-Jul-10 20:56
sr15915-Jul-10 20:56 
how to restore mysql dump file to database using C#
i am using following code but not working, if u know anyone please reply me

public void restore_data(string temple1)
{
StreamReader file = new StreamReader("E:\\BackupMysql1\\temple.sql");
ProcessStartInfo proc = new ProcessStartInfo();
string cmd = string.Format(@"-u{0} -p{1} -h{2} {3} <(4)", "dfs", "sf#", "localhost", '"' + temple1 + '"', "E:\\BackupMysql1\\temple.sql");
proc.RedirectStandardInput = true;
proc.RedirectStandardOutput = false;
proc.Arguments = cmd;
proc.UseShellExecute = false;
Process p = Process.Start(proc);
string res;
res = file.ReadToEnd();
p.WaitForExit();
file.Close();
}

modified on Friday, July 16, 2010 3:18 AM

AnswerRe: how to restore mysql dump file to database using C# Pin
Peace ON15-Jul-10 21:19
Peace ON15-Jul-10 21:19 
GeneralRe: how to restore mysql dump file to database using C# Pin
sr15915-Jul-10 21:33
sr15915-Jul-10 21:33 
AnswerRe: how to restore mysql dump file to database using C# Pin
Peace ON15-Jul-10 22:08
Peace ON15-Jul-10 22:08 
QuestionRe: how to restore mysql dump file to database using C# Pin
sr15915-Jul-10 23:08
sr15915-Jul-10 23:08 
AnswerRe: how to restore mysql dump file to database using C# Pin
sr15916-Jul-10 0:47
sr15916-Jul-10 0:47 
QuestionRe: how to restore mysql dump file to database using C# Pin
sr15916-Jul-10 0:49
sr15916-Jul-10 0:49 
Answer[Here is final resolution] Re: how to restore mysql dump file to database using C# Pin
Peace ON16-Jul-10 1:20
Peace ON16-Jul-10 1:20 
GeneralRe: [Here is final resolution] Re: how to restore mysql dump file to database using C# Pin
sr15916-Jul-10 1:53
sr15916-Jul-10 1:53 
QuestionRe: [Here is final resolution] Re: how to restore mysql dump file to database using C# Pin
sr15916-Jul-10 1:54
sr15916-Jul-10 1:54 
AnswerRe: [Here is final resolution] Re: how to restore mysql dump file to database using C# Pin
Peace ON16-Jul-10 2:13
Peace ON16-Jul-10 2:13 
QuestionRe: it is executing but not saving dump file to database using C# Pin
sr15920-Jul-10 0:19
sr15920-Jul-10 0:19 
AnswerRe: it is executing but not saving dump file to database using C# Pin
sr15920-Jul-10 0:41
sr15920-Jul-10 0:41 
Generalproblem solved now it is working thank you for all who replied to me Pin
sr15921-Jul-10 22:34
sr15921-Jul-10 22:34 
Questionconvert long pathname to short pathname Pin
vijiajai14-Jul-10 19:30
vijiajai14-Jul-10 19:30 
AnswerRe: convert long pathname to short pathname PinPopular
Peace ON14-Jul-10 19:35
Peace ON14-Jul-10 19:35 
GeneralRe: convert long pathname to short pathname Pin
Eddy Vluggen15-Jul-10 11:25
professionalEddy Vluggen15-Jul-10 11:25 
GeneralRe: convert long pathname to short pathname Pin
vijiajai18-Jul-10 18:59
vijiajai18-Jul-10 18:59 

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.