摘要:
private void btnFindNext_Click(object sender, EventArgs e) { if (this.bindingSource == null) { return; } PropertyDescriptor property = this.cboProperties.SelectedItem as PropertyDescriptor; if (property == null) { return; } try { if (bindingSource.SupportsSearching) { string find = this.cboFindWhat. 阅读全文
摘要:
#region to datatable public DataTable ToTable() { return this.ToTable(null, new string[0]); } public DataTable ToTable(string tableName) { return this.ToTable(tableName, new string[0]); } public DataTable ToTable(string tableName, params string[] columnNames) { if (columnNames == null) { throw new A 阅读全文
摘要:
privatevoidbutton1_Click(objectsender,EventArgse){try{DataTabledatatable=this.DataBlockSet.DataSource.Tables["CUSTOMER_ITEMS"];if(datatable!=null){DataTabledest=datatable.Clone();DtsProviderManagermanager=newDtsProviderManager(TransferMode.Import);stringappPath=Application.StartupPath;stri 阅读全文
摘要:
Expr1: IIf(IsDate([date111]),Format(CDate([date111]),"yyyy/m/d"),[date111]) 名之赫会议管理系统演示.ppshttp://www.apednn.org/help/1-1.htm 阅读全文
摘要:
usingSystem;usingSystem.Collections;usingSystem.Collections.Generic;usingSystem.ComponentModel;usingSystem.Text;usingSystem.Windows.Forms;namespaceWindowsApplication1{internalclassDBTreeView:TreeView{privateobjectrootValue;privatestringparentMember;privatestringchildMember;privatestringtextMember;pr 阅读全文
摘要:
private int i=0;public void Detail1_Format(){ i++; ((TextBox) rpt.Sections["Detail1"].Controls["SER"]).Text=i.ToString();}public void GroupFooter6_Format(){ i=0;} 阅读全文
摘要:
当把VB程式转成.net 时,其座标会经常转换,用下面的程式来解决这个问题.代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--constlongHWND_DESKTOP=0;constintLOGPIXELSX=88;constintLOGPIXEL... 阅读全文
摘要:
当Sqlserver上有很多Database,要想移动其数据文件的位置时,显得很麻烦,下面的SQL语句会自动生成移动Database文件的SQL语句.代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--declare@db_namenvarchar(2... 阅读全文
摘要:
[代码] 阅读全文
摘要:
public IDataReader GetFunctionInfo(int functionId) { this.PoolConnect(); SqlParameter para = new SqlParameter("@FUNCTION_ID", functionId); return SqlHelper.ExecuteReader(this.Connection, CommandType.T... 阅读全文