private void DB_7ctrang_Click(object sender, EventArgs e) { DBConnString.sCatalog = "ระบบ 7Sea ควนกุน (เปิดใช้งานที่สาขา)"; DBConnString.sCode = "7CTR"; DBConnString.strConn = "Data Source=192.168.1.2;Initial Catalog=7seaTrang; Persist Security Info=True;User ID=KTCNET;Password=khu@9wbe"; clsCash.sUserLoginStatus = 0; DBConnString.sServer = "192.168.1.2"; DBConnString.sDb = "7seaTrang"; DBConnString.Reqdb = "7CTR"; DBConnString.clsDB = new clsDatabase(DBConnString.strConn, DBConnString.sServer); tsSalePos main = new tsSalePos(); main.Show(); }
private void DB_7ctpToSK_Click(object sender, EventArgs e) { DBConnString.sCatalog = "ระบบ 7Sea ตะกั่วป่า (เปิดใช้งานที่สงขลา)"; DBConnString.sCode = "7CTP"; DBConnString.strConn = "Data Source=192.168.0.3;Initial Catalog=7CTP; Persist Security Info=True;User ID=KTCNET;Password=khu@9wbe"; clsCash.sUserLoginStatus = 0; DBConnString.sServer = "192.168.0.3"; DBConnString.sDb = "7CTP"; DBConnString.Reqdb = "7CTP"; DBConnString.clsDB = new clsDatabase(DBConnString.strConn, DBConnString.sServer); tsSalePos main = new tsSalePos(); main.Show(); }