随笔分类 - c#
摘要:page: <%@ Control Language="C#" AutoEventWireup="true" CodeFile="ViewxxxxChartsInfo.ascx.cs" Inherits="DotNetNuke.Modules.HRAddUser.ViewxxxxChartsInfo
阅读全文
摘要:string compname="1与3"; String[] name = compname.Split('与'); string namer=name[0]; namer=1 DataTable dtLabelList; if (btnAllLabel.Text == "显示全部标签") dtL
阅读全文
摘要:需求分析: 1、先按照实际线下流程说这是什么事情,实际要干什么。2、再转换为面向对象-页面的操作流程,演示demo3、再与相关人员沟通是否可行需要什么地方修正。4、最终:线上执行线下的流程,实现无纸化智能办公。 审批流: 实例:合作伙伴公司管理费事宜:1、假设合作分公司应收取管理费20万,(xxx人
阅读全文
摘要:/// 获取调整xxxx信息新编号 /// </summary> /// <param name="Year"></param> /// <returns></returns> public string GetNewModifyNo(int Year,string Stro) { string N
阅读全文
摘要:<style type="text/css"> .labelhide { -webkit-box-shadow: 0px 1px 0px 0px #f3f3f3 !important; , inset 0px 1px 2px 0px #f3f3f3 !important; box-shadow: 0
阅读全文
摘要:string returnStr = tbxContractNO.Text.Replace("\n", "").Replace(" ", "").Replace("\t", "").Replace("\r", "");
阅读全文
摘要:<asp:GridView ID="gridView" runat="server" OnRowCommand="gridView_RowCommand"> <Columns> <asp:TemplateField HeaderText="输入信息"> <ItemTemplate> <asp:Tex
阅读全文
摘要:string corn = "公司"; int n = 0; if (tbCorporateName.Text.IndexOf(corn) > -1) { string cor = tbCorporateName.Text.Replace(corn, ""); n = (tbCorporateNam
阅读全文
摘要:if (tbxContractNo.Text.IndexOf(" ") >= 0) { ShowError("系统提示:合同编号不能带有空格。"); tbxContractNo.Focus(); CheckOK = false; } Regex reg = new Regex(@"[\u4e00-\
阅读全文
摘要:bts.Attributes["onclick"] = "return false; ";
阅读全文
摘要:gridBranchInfo.DataSource = dtBranchViewList; gridBranchInfo.DataBind(); Random random = new Random(); Color[] color = {Color.DarkSalmon, Color.Red, C
阅读全文
摘要:page: <style type="text/css"> .highlight { background: yellow; color: red; } </style> <asp:Label ID="searchTextlab" runat="server" Style="color: #ffff
阅读全文
摘要:<%@ Control Language="C#" AutoEventWireup="true" CodeFile="AddDataInfoCertificate.ascx.cs" Inherits="DotNetNuke.Modules.Project.AddDataInfoCertificate
阅读全文
摘要:<asp:CheckBoxList ID="cbxLabelList" runat="server" RepeatColumns="10" RepeatDirection="Horizontal"> </asp:CheckBoxList> DataTable dtinfo = pc.getdatai
阅读全文
摘要:<asp:DropDownList ID="ddlRegionList" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddlDeptList_SelectedIndexChanged"> <asp:ListItem>是</as
阅读全文
摘要:using System.Text.RegularExpressions; Regex reg = new Regex(@"[\u4e00-\u9fa5]"); if (reg.IsMatch(no)) {//有}
阅读全文
摘要:<asp:Button ID="button1" runat="server" Text="创建" onclick="Button1_Click" /> <asp:Panel ID="Panel1" runat="server"></asp:Panel> //静态变量存储控件列表 static Li
阅读全文
摘要:protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { Sessioninfo(); } Session.Remove("info"); } private void Sessioninfo() { if (
阅读全文
摘要:<style type="text/css"> .labelhide { -webkit-box-shadow: 0px 1px 0px 0px #f3f3f3 !important; , inset 0px 1px 2px 0px #f3f3f3 !important; box-shadow: 0
阅读全文
摘要:page: <%@ Control Language="C#" AutoEventWireup="true" CodeFile="test1.ascx.cs" Inherits="DotNetNuke.Modules.HRAddUser.test1" %> <asp:Panel ID="panMai
阅读全文

浙公网安备 33010602011771号