摘要:
年份: <script type="text/javascript" src="http://www.shicishu.com/down/WdatePicker.js"></script> <asp:Panel> <asp:Label ID="Label3" runat="server" Text= 阅读全文
摘要:
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { FillDep(); } // FillDG(); // if (!IsPostBack) // { // FillUI(); // } } <asp: 阅读全文
摘要:
dtToSList = sqlAccess.ExecuteTable(CommandText); ToSNo = Convert.ToString(dtToSList.Rows[i].ItemArray[1]); if (Convert.ToInt32(sqlAccess.ExecuteScalar 阅读全文
摘要:
//自动生成账单编号 public string GetNewPoID(string Prefix) { string NewPoID = Prefix + DateTime.Now.Year.ToString().Substring(2); CommandText = "SELECT count( 阅读全文
摘要:
<asp:BoundField HeaderText="序号" /> OnRowCreated="gridview_RowCreated" protected void gridview_RowCreated(object sender, GridViewRowEventArgs e) { if ( 阅读全文
摘要:
Response.Redirect(EditUrl("MEUID", lblMEUID.Text, "Page2", "PageOneMK", "-1")); 阅读全文
摘要:
using System; using System.Collections; using System.Configuration; using System.Data; using System.Web; using System.Web.Security; using System.Web.U 阅读全文
摘要:
<script type="text/javascript" src="http://www.shicishu.com/down/WdatePicker.js"></script> <asp:Label ID="Label3" runat="server" Text="年份:"></asp:Labe 阅读全文
摘要:
OnRowCreated="gridStatistic_RowCreated private void FillUI() { gridStatistic.DataSource = dtStatistic; gridStatistic.DataBind(); } protected void grid 阅读全文
摘要:
OnRowCreated="gridViewCorrection_RowCreated" <asp:BoundField HeaderText="序号" /> protected void gridViewCorrection_RowCreated(object sender, GridViewRo 阅读全文
摘要:
protected void gridSettlement_RowDataBound(object sender, GridViewRowEventArgs e) { if (dtSettlement != null && dtSettlement.Rows.Count > 0) { decimal 阅读全文
摘要:
e.Row.Cells[1].ForeColor = System.Drawing.Color.Blue; 阅读全文
摘要:
protected void GridView1_RowCreated(object sender, GridViewRowEventArgs e) { switch (e.Row.RowType) { case DataControlRowType.Header: //总表头 TableCellC 阅读全文
摘要:
OnRowCommand="gridInfoData_RowCommand" <Columns> <asp:ButtonField HeaderText="总额" ButtonType="Link" DataTextField="MoneySum" CommandName="PorTrue" Ite 阅读全文
摘要:
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="info.ascx.cs" Inherits="DotNetNuke.Modules.HRAddUser.info" %> <style> .tablestyles { positi 阅读全文
摘要:
分页: 1、先把属性AllowPaging设置为true, 2、pagesize为每一页的行数,PageSize="15". 3、OnPageIndexChanging="gridview1_PageIndexChanging" <asp:GridView ID="gridYearStsDetail 阅读全文
摘要:
DateTime tmEndDate = DateTime.Today; DateTime tmBuyDate; CommandText = "select .... from ..... where id=" + tbid.ToString(); tmBuyDate = Convert.ToDat 阅读全文
摘要:
using System;using System.Collections.Generic;using System.ComponentModel;using System.Drawing;using System.Data;using System.Linq;using System.Text;u 阅读全文