摘要: protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { FillDep(); } // FillDG(); // if (!IsPostBack) // { // FillUI(); // } } <asp: 阅读全文
posted @ 2021-09-05 21:08 刘贵庆 阅读(67) 评论(0) 推荐(0)
摘要: dtToSList = sqlAccess.ExecuteTable(CommandText); ToSNo = Convert.ToString(dtToSList.Rows[i].ItemArray[1]); if (Convert.ToInt32(sqlAccess.ExecuteScalar 阅读全文
posted @ 2021-09-05 20:58 刘贵庆 阅读(163) 评论(0) 推荐(0)
摘要: //自动生成账单编号 public string GetNewPoID(string Prefix) { string NewPoID = Prefix + DateTime.Now.Year.ToString().Substring(2); CommandText = "SELECT count( 阅读全文
posted @ 2021-09-05 20:46 刘贵庆 阅读(418) 评论(0) 推荐(0)
摘要: <asp:BoundField HeaderText="序号" /> OnRowCreated="gridview_RowCreated" protected void gridview_RowCreated(object sender, GridViewRowEventArgs e) { if ( 阅读全文
posted @ 2021-09-05 20:35 刘贵庆 阅读(84) 评论(0) 推荐(0)
摘要: Response.Redirect(EditUrl("MEUID", lblMEUID.Text, "Page2", "PageOneMK", "-1")); 阅读全文
posted @ 2021-09-05 20:33 刘贵庆 阅读(38) 评论(0) 推荐(0)
摘要: using System; using System.Collections; using System.Configuration; using System.Data; using System.Web; using System.Web.Security; using System.Web.U 阅读全文
posted @ 2021-09-05 20:31 刘贵庆 阅读(165) 评论(0) 推荐(0)
摘要: <script type="text/javascript" src="http://www.shicishu.com/down/WdatePicker.js"></script> <asp:Label ID="Label3" runat="server" Text="年份:"></asp:Labe 阅读全文
posted @ 2021-09-05 20:30 刘贵庆 阅读(126) 评论(0) 推荐(0)
摘要: OnRowCreated="gridStatistic_RowCreated private void FillUI() { gridStatistic.DataSource = dtStatistic; gridStatistic.DataBind(); } protected void grid 阅读全文
posted @ 2021-09-05 20:25 刘贵庆 阅读(51) 评论(0) 推荐(0)
摘要: OnRowCreated="gridViewCorrection_RowCreated" <asp:BoundField HeaderText="序号" /> protected void gridViewCorrection_RowCreated(object sender, GridViewRo 阅读全文
posted @ 2021-09-05 20:22 刘贵庆 阅读(71) 评论(0) 推荐(0)
摘要: protected void gridSettlement_RowDataBound(object sender, GridViewRowEventArgs e) { if (dtSettlement != null && dtSettlement.Rows.Count > 0) { decimal 阅读全文
posted @ 2021-09-05 20:21 刘贵庆 阅读(81) 评论(0) 推荐(0)