Sunday, August 29, 2010

Learn ASP.NET DOTNET Training Mohali

Learn ASP.NET/C#/SQL SERVER FROM IT experts in Mohali.Please read details at

Please visit http://buoyanteducation.com/ for Industrial Training for CSE/IT/MCA students at panchkula.

Tuesday, August 24, 2010

Backup mysql database using batch file and asp.net

Create a batch file with the following code

set pathchoice=%1%


"C:\wamp\MySQL\bin\mysqldump" -u root dbname -p password > %pathchoice%\filename.sql

and then you need to create a aspx file to run this bat file:here is the code for backup file

protected void ExecuteBatchFile(string batchFileName, string[] argumentsToBatchFile)
{
string argumentsString = string.Empty;
try
{
//Add up all arguments as string with space separator between the arguments
if (argumentsToBatchFile != null)
{
for (int count = 0; count < argumentsToBatchFile.Length; count++)
{
argumentsString += " ";
argumentsString += argumentsToBatchFile[count];
//argumentsString += "\"";
}
}

//Create process start information
System.Diagnostics.ProcessStartInfo DBProcessStartInfo = new System.Diagnostics.ProcessStartInfo(batchFileName, argumentsString);

//Redirect the output to standard window
DBProcessStartInfo.RedirectStandardOutput = true;

//The output display window need not be falshed onto the front.
DBProcessStartInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden;
DBProcessStartInfo.UseShellExecute = false;

//Create the process and run it
System.Diagnostics.Process dbProcess;
dbProcess = System.Diagnostics.Process.Start(DBProcessStartInfo);

//Catch the output text from the console so that if error happens, the output text can be logged.
System.IO.StreamReader standardOutput = dbProcess.StandardOutput;

/* Wait as long as the DB Backup or Restore or Repair is going on.
Ping once in every 2 seconds to check whether process is completed. */
while (!dbProcess.HasExited)
dbProcess.WaitForExit(2000);

if (dbProcess.HasExited)
{
string consoleOutputText = standardOutput.ReadToEnd();
//TODO - log consoleOutputText to the log file.
}
}
// Catch the SQL exception and throw the customized exception made out of that
catch (Exception ex)
{
Response.Write(ex.Message.ToString());
// ExceptionManager.Publish(ex);
// throw SQLExceptionClassHelper.GetCustomMsSqlException(ex.Number);
}
// Catch all general exceptions

}
protected void Button1_Click(object sender, EventArgs e)
{
string[] names = new string[1];
names[0] = TextBox1.Text;


ExecuteBatchFile("E:\\b.bat", names);
}

Monday, March 1, 2010

Learn ASP.NET at Panchkula

Computer Education
Website/Software Development Services
Computer Fundamentals
Basic Website
HTML
Content Management System
VbScript/JavaScript/Jquery
Ecommerce Website
ASP
Any Kind of Website Development
ASP.NET 3.5/4.0
Desktop Application Development
C#
Annual Maintenance Contract for websites
VB.NET
Domain Registration/Website hosting
SQL Server 2005/2008
Hardware & Networking Solutions
Ajax
IT Consulting
ADO.NET
Career Counseling
รจ Oracle
Corporate/Campus Training
C/C++
Expert Guidance For Projects/Project Reports
Contact us for guidance on any computer related subjects
Website For Business


PersonaNo batch system, Flexible Timings to suit your needs
-- Learn from Industry experts having 7 years of experience in Software development in various IT companies.
-- Interview Preparation for IT companies
--Learn from basics to advance concepts of website development like payment gateway integration, url re-writing, developing ecommerce websites/job websites and lots more.
--Contact us once to find the difference between faculty at computer centers and industry experts.

Please checkout our website http://buoyanteducation.com/
looking to learn asp.net,c# or vb.net at panchkula/chandigarh/mohali .please feel free to contact us.


If you are looking to learn ASP.NET/C#/SQL SERVER AT mohali Please visit http://buoyanteducation.com/

Wednesday, February 24, 2010

Cheap Website maintenance

We provide the following service,we have the cheap and best prices,offers,packages for
Website maintenance services, web site maintenance agreement, web site maintenance, website maintenance india, website contract india, website maintenace information services

cheap website maintenance, website updating, update websites, update content, Content management contracts, web updation india, website updation services, maintenance contracts, web maintenance services, software updation, software maintenance, html updation, javascript, cgi script updations, content maintenance program, application maintenance solution, web page updation and maintenance services, website design maintenance, web maintenance india

Best Website maintenance services check out http://websiteinnovators.com/

Wednesday, February 17, 2010

Cheap and Best Website Maintaince:Web Administration

Looking for maintaining your website,please visit http://websiteinnovators.com/
cheap website administration,best and cheap webmasters,web administration