c#
adam01369
很好
展开
-
流水号设计
取BOM变更单,本月最大单号 select MAX(ECNNo)+1 from pimPDMBOMECNMaster where left(ECNNo,6)=DateName(year,GetDate())+DateName(month,GetDate()) 流水号设计: string strSQL = string.Format("SELECT right(max(ECRNo原创 2017-09-21 11:15:11 · 997 阅读 · 0 评论 -
tableLayoutPanel容器,控件占多格的用法
使用tableLayoutPanel的方法操作:表示占到第几格 cbcyfx:为某个标签或按钮或textbox this.tableLayoutPanel3.SetColumnSpan(this.cbcyfx, 5);原创 2017-09-21 11:18:23 · 1581 阅读 · 0 评论 -
datagridview添加一个类似ERP系统的。。。按钮Buttonbtn
private void dgv_XiaoShouChuKuMingXi_CellClick(object sender, DataGridViewCellEventArgs e) { this.dgv_XiaoShouChuKuMingXi.Controls.Clear();//移除所有控件 if (e.ColumnIndex原创 2017-09-21 11:21:54 · 271 阅读 · 0 评论 -
将FORM转化成一个图片,并转存到系统中的某个页面下面,并实现打印方法
public partial class pimFormEPMProjectsummary : Form private void button1_Click(object sender, EventArgs e) { Doupdate(); updated.Visible = f原创 2017-09-21 11:25:04 · 479 阅读 · 0 评论 -
有分号;隔开的字符串的拆分,合并,读取
string m_strDirPath="美女;帅哥;男人;女人" string[] strDirPath = m_strDirPath.Split(';'); foreach (string str5 in strDirPath) { this.AddDocFileItemByDrop(str5, selectedDocType); if(textbox1.tex原创 2017-09-21 11:49:54 · 6531 阅读 · 0 评论