摘要:
年份: <script type="text/javascript" src="http://www.shicishu.com/down/WdatePicker.js"></script> <asp:Panel> <asp:Label ID="Label3" runat="server" Text= 阅读全文
posted @ 2021-09-05 21:22
刘贵庆
阅读(96)
评论(0)
推荐(0)
摘要:
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)
摘要:
e.Row.Cells[1].ForeColor = System.Drawing.Color.Blue; 阅读全文
posted @ 2021-09-05 20:19
刘贵庆
阅读(98)
评论(0)
推荐(0)
摘要:
protected void GridView1_RowCreated(object sender, GridViewRowEventArgs e) { switch (e.Row.RowType) { case DataControlRowType.Header: //总表头 TableCellC 阅读全文
posted @ 2021-09-05 20:18
刘贵庆
阅读(206)
评论(0)
推荐(0)
摘要:
OnRowCommand="gridInfoData_RowCommand" <Columns> <asp:ButtonField HeaderText="总额" ButtonType="Link" DataTextField="MoneySum" CommandName="PorTrue" Ite 阅读全文
posted @ 2021-09-05 20:13
刘贵庆
阅读(66)
评论(0)
推荐(0)
摘要:
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="info.ascx.cs" Inherits="DotNetNuke.Modules.HRAddUser.info" %> <style> .tablestyles { positi 阅读全文
posted @ 2021-09-05 20:08
刘贵庆
阅读(165)
评论(0)
推荐(0)
摘要:
分页: 1、先把属性AllowPaging设置为true, 2、pagesize为每一页的行数,PageSize="15". 3、OnPageIndexChanging="gridview1_PageIndexChanging" <asp:GridView ID="gridYearStsDetail 阅读全文
posted @ 2021-09-05 20:03
刘贵庆
阅读(103)
评论(0)
推荐(0)
摘要:
DateTime tmEndDate = DateTime.Today; DateTime tmBuyDate; CommandText = "select .... from ..... where id=" + tbid.ToString(); tmBuyDate = Convert.ToDat 阅读全文
posted @ 2021-09-05 20:01
刘贵庆
阅读(23)
评论(0)
推荐(0)
摘要:
using System;using System.Collections.Generic;using System.ComponentModel;using System.Drawing;using System.Data;using System.Linq;using System.Text;u 阅读全文
posted @ 2021-09-05 19:53
刘贵庆
阅读(45)
评论(0)
推荐(0)