09 2021 档案

摘要:page: <%@ Control Language="C#" AutoEventWireup="true" CodeFile="ViewxxxxChartsInfo.ascx.cs" Inherits="DotNetNuke.Modules.HRAddUser.ViewxxxxChartsInfo 阅读全文
posted @ 2021-09-06 14:43 刘贵庆 阅读(440) 评论(0) 推荐(0)
摘要:string compname="1与3"; String[] name = compname.Split('与'); string namer=name[0]; namer=1 DataTable dtLabelList; if (btnAllLabel.Text == "显示全部标签") dtL 阅读全文
posted @ 2021-09-06 14:04 刘贵庆 阅读(164) 评论(0) 推荐(0)
摘要:需求分析: 1、先按照实际线下流程说这是什么事情,实际要干什么。2、再转换为面向对象-页面的操作流程,演示demo3、再与相关人员沟通是否可行需要什么地方修正。4、最终:线上执行线下的流程,实现无纸化智能办公。 审批流: 实例:合作伙伴公司管理费事宜:1、假设合作分公司应收取管理费20万,(xxx人 阅读全文
posted @ 2021-09-06 13:59 刘贵庆 阅读(387) 评论(0) 推荐(0)
摘要:/// 获取调整xxxx信息新编号 /// </summary> /// <param name="Year"></param> /// <returns></returns> public string GetNewModifyNo(int Year,string Stro) { string N 阅读全文
posted @ 2021-09-06 13:51 刘贵庆 阅读(55) 评论(0) 推荐(0)
摘要:<style type="text/css"> .labelhide { -webkit-box-shadow: 0px 1px 0px 0px #f3f3f3 !important; , inset 0px 1px 2px 0px #f3f3f3 !important; box-shadow: 0 阅读全文
posted @ 2021-09-06 13:46 刘贵庆 阅读(504) 评论(0) 推荐(0)
摘要:<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ViewDictTosPrefix.ascx.cs" Inherits="DotNetNuke.Modules.HRAddUser.ViewDictTosPrefix" %> <st 阅读全文
posted @ 2021-09-06 13:45 刘贵庆 阅读(154) 评论(0) 推荐(0)
摘要:string returnStr = tbxContractNO.Text.Replace("\n", "").Replace(" ", "").Replace("\t", "").Replace("\r", ""); 阅读全文
posted @ 2021-09-06 13:41 刘贵庆 阅读(167) 评论(0) 推荐(0)
摘要:<asp:GridView ID="gridView" runat="server" OnRowCommand="gridView_RowCommand"> <Columns> <asp:TemplateField HeaderText="输入信息"> <ItemTemplate> <asp:Tex 阅读全文
posted @ 2021-09-06 13:40 刘贵庆 阅读(116) 评论(0) 推荐(0)
摘要:string corn = "公司"; int n = 0; if (tbCorporateName.Text.IndexOf(corn) > -1) { string cor = tbCorporateName.Text.Replace(corn, ""); n = (tbCorporateNam 阅读全文
posted @ 2021-09-06 13:38 刘贵庆 阅读(188) 评论(0) 推荐(0)
摘要:if (tbxContractNo.Text.IndexOf(" ") >= 0) { ShowError("系统提示:合同编号不能带有空格。"); tbxContractNo.Focus(); CheckOK = false; } Regex reg = new Regex(@"[\u4e00-\ 阅读全文
posted @ 2021-09-06 13:37 刘贵庆 阅读(51) 评论(0) 推荐(0)
摘要:bts.Attributes["onclick"] = "return false; "; 阅读全文
posted @ 2021-09-06 13:36 刘贵庆 阅读(624) 评论(0) 推荐(0)
摘要:gridBranchInfo.DataSource = dtBranchViewList; gridBranchInfo.DataBind(); Random random = new Random(); Color[] color = {Color.DarkSalmon, Color.Red, C 阅读全文
posted @ 2021-09-06 13:35 刘贵庆 阅读(140) 评论(0) 推荐(0)
摘要:page: <style type="text/css"> .highlight { background: yellow; color: red; } </style> <asp:Label ID="searchTextlab" runat="server" Style="color: #ffff 阅读全文
posted @ 2021-09-06 13:34 刘贵庆 阅读(96) 评论(0) 推荐(0)
摘要:<%@ Control Language="C#" AutoEventWireup="true" CodeFile="AddDataInfoCertificate.ascx.cs" Inherits="DotNetNuke.Modules.Project.AddDataInfoCertificate 阅读全文
posted @ 2021-09-06 13:32 刘贵庆 阅读(225) 评论(0) 推荐(0)
摘要:<asp:CheckBoxList ID="cbxLabelList" runat="server" RepeatColumns="10" RepeatDirection="Horizontal"> </asp:CheckBoxList> DataTable dtinfo = pc.getdatai 阅读全文
posted @ 2021-09-06 13:30 刘贵庆 阅读(75) 评论(0) 推荐(0)
摘要:<asp:DropDownList ID="ddlRegionList" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddlDeptList_SelectedIndexChanged"> <asp:ListItem>是</as 阅读全文
posted @ 2021-09-06 13:29 刘贵庆 阅读(517) 评论(0) 推荐(0)
摘要:using System.Text.RegularExpressions; Regex reg = new Regex(@"[\u4e00-\u9fa5]"); if (reg.IsMatch(no)) {//有} 阅读全文
posted @ 2021-09-06 13:28 刘贵庆 阅读(315) 评论(0) 推荐(0)
摘要:<asp:Button ID="button1" runat="server" Text="创建" onclick="Button1_Click" /> <asp:Panel ID="Panel1" runat="server"></asp:Panel> //静态变量存储控件列表 static Li 阅读全文
posted @ 2021-09-06 13:28 刘贵庆 阅读(126) 评论(0) 推荐(0)
摘要:protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { Sessioninfo(); } Session.Remove("info"); } private void Sessioninfo() { if ( 阅读全文
posted @ 2021-09-06 13:27 刘贵庆 阅读(136) 评论(0) 推荐(0)
摘要:<style type="text/css"> .labelhide { -webkit-box-shadow: 0px 1px 0px 0px #f3f3f3 !important; , inset 0px 1px 2px 0px #f3f3f3 !important; box-shadow: 0 阅读全文
posted @ 2021-09-06 11:27 刘贵庆 阅读(718) 评论(0) 推荐(0)
摘要:page: <%@ Control Language="C#" AutoEventWireup="true" CodeFile="test1.ascx.cs" Inherits="DotNetNuke.Modules.HRAddUser.test1" %> <asp:Panel ID="panMai 阅读全文
posted @ 2021-09-06 11:13 刘贵庆 阅读(192) 评论(0) 推荐(0)
摘要:page : <%@ Control Language="C#" AutoEventWireup="true" CodeFile="QueryxxxxInfos.ascx.cs" Inherits="DotNetNuke.Modules.HRAddUser.QueryxxxxInfos" %> <a 阅读全文
posted @ 2021-09-06 11:07 刘贵庆 阅读(332) 评论(0) 推荐(0)
摘要:<asp:BoundField HeaderText="占比" DataField="number" DataFormatString="{0:F2}%"/> 阅读全文
posted @ 2021-09-06 10:47 刘贵庆 阅读(216) 评论(0) 推荐(0)
摘要:var id= document.getElementById('<%=控件的ID.ClientID %>'); 阅读全文
posted @ 2021-09-06 10:46 刘贵庆 阅读(106) 评论(0) 推荐(0)
摘要:<asp:CheckBoxList ID="ddlType" runat="server" RepeatColumns="10" RepeatDirection="Horizontal"></asp:CheckBoxList> string ctypes = Convert.ToString(dtP 阅读全文
posted @ 2021-09-06 10:45 刘贵庆 阅读(113) 评论(0) 推荐(0)
摘要:年份: <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 刘贵庆 阅读(102) 评论(0) 推荐(0)
摘要:protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { FillDep(); } // FillDG(); // if (!IsPostBack) // { // FillUI(); // } } <asp: 阅读全文
posted @ 2021-09-05 21:08 刘贵庆 阅读(80) 评论(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 刘贵庆 阅读(168) 评论(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 刘贵庆 阅读(441) 评论(0) 推荐(0)
摘要:<asp:BoundField HeaderText="序号" /> OnRowCreated="gridview_RowCreated" protected void gridview_RowCreated(object sender, GridViewRowEventArgs e) { if ( 阅读全文
posted @ 2021-09-05 20:35 刘贵庆 阅读(88) 评论(0) 推荐(0)
摘要:Response.Redirect(EditUrl("MEUID", lblMEUID.Text, "Page2", "PageOneMK", "-1")); 阅读全文
posted @ 2021-09-05 20:33 刘贵庆 阅读(46) 评论(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 刘贵庆 阅读(177) 评论(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 刘贵庆 阅读(134) 评论(0) 推荐(0)
摘要:OnRowCreated="gridStatistic_RowCreated private void FillUI() { gridStatistic.DataSource = dtStatistic; gridStatistic.DataBind(); } protected void grid 阅读全文
posted @ 2021-09-05 20:25 刘贵庆 阅读(63) 评论(0) 推荐(0)
摘要:OnRowCreated="gridViewCorrection_RowCreated" <asp:BoundField HeaderText="序号" /> protected void gridViewCorrection_RowCreated(object sender, GridViewRo 阅读全文
posted @ 2021-09-05 20:22 刘贵庆 阅读(74) 评论(0) 推荐(0)
摘要:protected void gridSettlement_RowDataBound(object sender, GridViewRowEventArgs e) { if (dtSettlement != null && dtSettlement.Rows.Count > 0) { decimal 阅读全文
posted @ 2021-09-05 20:21 刘贵庆 阅读(87) 评论(0) 推荐(0)
摘要:e.Row.Cells[1].ForeColor = System.Drawing.Color.Blue; 阅读全文
posted @ 2021-09-05 20:19 刘贵庆 阅读(110) 评论(0) 推荐(0)
摘要:protected void GridView1_RowCreated(object sender, GridViewRowEventArgs e) { switch (e.Row.RowType) { case DataControlRowType.Header: //总表头 TableCellC 阅读全文
posted @ 2021-09-05 20:18 刘贵庆 阅读(236) 评论(0) 推荐(0)
摘要:OnRowCommand="gridInfoData_RowCommand" <Columns> <asp:ButtonField HeaderText="总额" ButtonType="Link" DataTextField="MoneySum" CommandName="PorTrue" Ite 阅读全文
posted @ 2021-09-05 20:13 刘贵庆 阅读(78) 评论(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 刘贵庆 阅读(178) 评论(0) 推荐(0)
摘要:分页: 1、先把属性AllowPaging设置为true, 2、pagesize为每一页的行数,PageSize="15". 3、OnPageIndexChanging="gridview1_PageIndexChanging" <asp:GridView ID="gridYearStsDetail 阅读全文
posted @ 2021-09-05 20:03 刘贵庆 阅读(118) 评论(0) 推荐(0)
摘要:DateTime tmEndDate = DateTime.Today; DateTime tmBuyDate; CommandText = "select .... from ..... where id=" + tbid.ToString(); tmBuyDate = Convert.ToDat 阅读全文
posted @ 2021-09-05 20:01 刘贵庆 阅读(35) 评论(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 刘贵庆 阅读(48) 评论(0) 推荐(0)