摘要:
表名:d_ClientInfo语句作用:取出第100-120条数据Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->SELECT*FROM(SELECTROW_NUMBER()OVER(ORDERBYClientIDASC)ASROWID,*FROMd_ClientInfo)AStmpTableWHEREROWIDBETWEEN100AND120此函数会为数据表重新编号并新建数据列ROWID,不需要的屏蔽掉就OK了。 阅读全文
摘要:
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->StringstrServerName="服务器名或IP";StringstrUserID="数据库用户名";StringstrPSW="数据库密码";DataTableDBNameTable=newDataTable();OleDbConnectionConnection=newOleDbConnection(String.Forma 阅读全文
摘要:
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->privatevoidform1_FormClosing(objectsender,FormClosingEventArgse){if(e.CloseReason==CloseReason.UserClosing){e.Cancel=true;this.Hide();TaskIcon.BalloonTipTitle="分诊系统";TaskIcon.BalloonTipText 阅读全文
摘要:
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->DataSetdx=newDataSet();dx.ReadXml(Application.ExecutablePath+".config",XmlReadMode.InferSchema);DataRow[]dtTmp=dx.Tables["setting"].Select("name='DepartName'");d 阅读全文