摘要:
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 阅读全文