Monday, July 29, 2013
How to get table columns list from MySQL database?
SELECT COLUMN_NAME FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'tableName'
How to open 3306 port on Windows 2008 for MySQL?
In command line as administrator, run following command:
netsh advfirewall firewall add rule name="MySQL Server" action=allow protocol=TCP dir=in localport=3306
Reference:
http://www.activeservers.com/page3610203.aspx
netsh advfirewall firewall add rule name="MySQL Server" action=allow protocol=TCP dir=in localport=3306
Reference:
http://www.activeservers.com/page3610203.aspx
Friday, July 26, 2013
Thursday, July 25, 2013
Monday, July 22, 2013
How to use two views for one Action in ASP.NET MVC?
public ActionResult Process(id)
{
if (Condition)
{
return View ('SpecialView')
}
else
{
return View (); //Default view
}
}
Subscribe to:
Posts (Atom)