随笔分类 - C#.Net & MVC
摘要:using System; using System.Collections.Generic; using System.Text; using System.Runtime.InteropServices; namespace BarCodeLibrary { public class Zebra
阅读全文
摘要:1.新建项目 --》 Windows 服务 2.Service1.cs代码 3.在Service1.cs设计页面右键添加安装程序 4.ProjectInstaller.cs设计页面中 serviceInstaller1属性中设置: Description(系统服务的描述) DisplayName (
阅读全文
摘要:protected void Page_Load(object sender, EventArgs e) { List<string> studentNames = new List<string>(); studentNames.Add("John"); studentNames.Add("Mar
阅读全文
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partia...
阅读全文
摘要:JSORDER 案例 案例一:我的菜单(点击菜名即可加入菜单) 红烧豆腐 12元 毛血旺 32元 套餐:京酱肉丝+2米饭 18元 using System; using System.Web; using System.Data; using System.Web...
阅读全文
摘要:效果如下
阅读全文
摘要:<%@ Page Language="C#" AutoEventWireup="true" CodeFile="WebPrint.aspx.cs" Inherits="WebPrint" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transiti
阅读全文
摘要:生成二维码 请输入内容: using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI;...
阅读全文
摘要:jQueryAjaxJson取值示例 using System; //新增 using System.Web.Script.Serialization; using System.Collections.Generic; public partial class AjaxQuery : System.Web.UI.Page { ...
阅读全文
摘要:商品分类 using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Data; using Syst...
阅读全文
摘要:using System; using System.Collections.Generic; using System.Text; namespace MSCL { #region 使用示例 /* List<Ftv> ftvlist = new List<Ftv>(); ftvlist.Add(n
阅读全文
摘要:#region 数据四舍五入 /// <summary> /// 四舍五入 /// </summary> /// <param name="dblnum">源数据</param> /// <param name="numberprecision">小数位</param> /// <returns><
阅读全文
摘要:--- Server Side ------------------------------------------------------ --- Cl...
阅读全文
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Web; /// ///TestTableModel 的摘要说明 /// public class TestTableModel { public int D_Id { get; set; } public strin...
阅读全文
摘要:#region 绑定客户树 protected void bindTreeView() { TreeView1.Nodes.Clear(); string userid = Session["UserID"].ToString(); string sqlwr = new SY_ADMINUSER()
阅读全文
摘要:/// <summary> /// 获取汉字的全拼音 /// </summary> /// <param name="x">传汉字的字符串</param> /// <returns>汉字的字符串的拼音</returns> public string GetSpell(string x) { int[
阅读全文
摘要:在dt存在大量数据的时候,给dt指定主键列,可以几何级提升dt.Select筛选数据的速度
阅读全文
摘要:--包头部分 create or replace package JT_P_page is type type_cur is ref cursor; --定义游标变量用于返回记录集 procedure Pagination (Pindex in number, --要显示的页数索引,从0开始 Psq...
阅读全文
摘要:HTML无限层级目录树 using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Data; using System.Text; using System.Web...
阅读全文