摘要: 在BLL转换 public List<MP_invoiceItem> getinvoiceItem(string doc_no, string dept) { List<MP_invoiceItem> list = new List<MP_invoiceItem>(); DataTable dt = 阅读全文
posted @ 2017-02-10 16:04 suan1717 阅读(177) 评论(0) 推荐(0) 编辑
摘要: public string specialprint(string str) { string result = ""; char c = (char)10; string[] arr_terms; if (str != null) { arr_terms = str.Split(c); for ( 阅读全文
posted @ 2017-02-10 15:47 suan1717 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 赋值: foreach (Control tb in form1.Controls) { if (tb is TextBox) { TextBox t = tb as TextBox; t.ReadOnly = true; } } foreach (Control ctl in chk_offer. 阅读全文
posted @ 2017-02-10 15:43 suan1717 阅读(572) 评论(0) 推荐(0) 编辑
摘要: 首先添加引用AspNetpager.dll(将.dll文件放在bin中进行引用) 接着添加<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %> aspx: <webdiyer:Asp 阅读全文
posted @ 2017-02-10 15:42 suan1717 阅读(174) 评论(1) 推荐(0) 编辑
摘要: repater: sql里面求和 if (e.Item.ItemType == ListItemType.AlternatingItem || e.Item.ItemType == ListItemType.Item) { Model.MP_invoiceItem mp = ((Model.MP_i 阅读全文
posted @ 2017-02-10 15:41 suan1717 阅读(296) 评论(0) 推荐(0) 编辑