求SQL語句自動生成器VB源碼
不用自己寫SQL去數據庫存取對象。
你的代碼僅僅和對象關聯,自動產生SQL語句,并確保對象提交到正確的表和字段中去. 只要設計好數據庫自動生成工廠模式的3層結構代碼。 http://**downloads92/sourcecode/app/* 這個程序是用來比較csv文件, 然后自動生成sql語句, 運行命令是runGenText csv1 csv2 /* * Created on Aug 31, 2004 * * TODO To change the template for this generated file go to * Window - Preferences - Java - Code Style - Code Templates */ import *SVParser; import *ption; import *tFoundException; import *ader; import *tion; import *; import *Manager; import *edStatement; import *eption; import *; /** * @author jmorrey * * TODO To change the template for this generated type comment go to * Window - Preferences - Java - Code Style - Code Templates */ public class GenerateGTEXTSQL { public static void main(String[] args) { String srcFile1 = ""; String srcFile2 = ""; FileReader fileRead1 = null; FileReader fileRead2 = null; String[][] srcArray1; String[][] srcArray2; int srcp = 0; int dstp = 0; try{ srcFile1 = args[0]; srcFile2 = args[1]; } catch (Exception exe){ *n("usage: java GenerateGTEXTSQL [srcFile1] [srcFile2]"); *(-1); } try{ fileRead1 = new FileReader(srcFile1); fileRead2 = new FileReader(srcFile2); } catch (FileNotFoundException exception){ *n("The " + srcFile1 + " file is missing from the current working directory."); *(-1); } try{ srcArray1 = *(fileRead1); srcArray2 = *(fileRead2); int len1 = *; int len2 = *; //for (int i=0;i
如何用東軟代碼生成器的SQL語句做登陸頁面
{
gauge_ = XRCCTRL(*this, "m_gauge1", wxGauge);
event_update_button_ = XRCCTRL(*this, "m_button1", wxButton);
event_update_button_->Bind(wxEVT_COMMAND_BUTTON_CLICKED,
wxCommandEventHandler(MyFrame::OnEventUpdate), this, XRCID("m_button1"));
timer_update_button_ = XRCCTRL(*this, "m_button3", wxButton);
timer_update_button_->Bind(wxEVT_COMMAND_BUTTON_CLICKED,
wxCommandEventHandler(MyFrame::OnTimerUpdate), this, XRCID("m_button3"));
*er(this->GetEventHandler());
}