随笔分类 -  C#.Net & MVC

摘要:using System; using System.Collections.Generic; using System.Text; using System.Runtime.InteropServices; namespace BarCodeLibrary { public class Zebra 阅读全文
posted @ 2014-03-26 15:17 深南大道 阅读(3251) 评论(0) 推荐(0) 编辑
摘要:1.新建项目 --》 Windows 服务 2.Service1.cs代码 3.在Service1.cs设计页面右键添加安装程序 4.ProjectInstaller.cs设计页面中 serviceInstaller1属性中设置: Description(系统服务的描述) DisplayName ( 阅读全文
posted @ 2014-01-07 14:08 深南大道 阅读(632) 评论(0) 推荐(0) 编辑
摘要:protected void Page_Load(object sender, EventArgs e) { List<string> studentNames = new List<string>(); studentNames.Add("John"); studentNames.Add("Mar 阅读全文
posted @ 2014-01-02 10:59 深南大道 阅读(2008) 评论(0) 推荐(0) 编辑
摘要:MsChart图表控件 ... 阅读全文
posted @ 2013-12-16 17:37 深南大道 阅读(227) 评论(0) 推荐(0) 编辑
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partia... 阅读全文
posted @ 2013-12-14 16:40 深南大道 阅读(383) 评论(0) 推荐(0) 编辑
摘要:JSORDER 案例 案例一:我的菜单(点击菜名即可加入菜单) 红烧豆腐 12元 毛血旺 32元 套餐:京酱肉丝+2米饭 18元 using System; using System.Web; using System.Data; using System.Web... 阅读全文
posted @ 2013-12-07 13:58 深南大道 阅读(125) 评论(0) 推荐(0) 编辑
摘要:<%@ Page Language="C#" AutoEventWireup="true" CodeFile="WebPrint.aspx.cs" Inherits="WebPrint" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transiti 阅读全文
posted @ 2013-12-02 14:47 深南大道 阅读(1072) 评论(0) 推荐(0) 编辑
摘要:生成二维码 请输入内容: using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI;... 阅读全文
posted @ 2013-12-02 11:32 深南大道 阅读(234) 评论(0) 推荐(0) 编辑
摘要:jQueryAjaxJson取值示例 using System; //新增 using System.Web.Script.Serialization; using System.Collections.Generic; public partial class AjaxQuery : System.Web.UI.Page { ... 阅读全文
posted @ 2013-11-30 16:30 深南大道 阅读(168) 评论(0) 推荐(0) 编辑
摘要:商品分类 using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Data; using Syst... 阅读全文
posted @ 2013-11-29 12:37 深南大道 阅读(312) 评论(0) 推荐(0) 编辑
摘要:using System; using System.Collections.Generic; using System.Text; namespace MSCL { #region 使用示例 /* List<Ftv> ftvlist = new List<Ftv>(); ftvlist.Add(n 阅读全文
posted @ 2013-11-22 16:56 深南大道 阅读(249) 评论(0) 推荐(0) 编辑
摘要:#region 数据四舍五入 /// <summary> /// 四舍五入 /// </summary> /// <param name="dblnum">源数据</param> /// <param name="numberprecision">小数位</param> /// <returns>< 阅读全文
posted @ 2013-09-13 09:46 深南大道 阅读(846) 评论(0) 推荐(0) 编辑
摘要:--- Server Side ------------------------------------------------------ --- Cl... 阅读全文
posted @ 2013-09-09 15:34 深南大道 阅读(165) 评论(0) 推荐(0) 编辑
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Web; /// ///TestTableModel 的摘要说明 /// public class TestTableModel { public int D_Id { get; set; } public strin... 阅读全文
posted @ 2013-09-05 15:51 深南大道 阅读(127) 评论(0) 推荐(0) 编辑
摘要:#region 绑定客户树 protected void bindTreeView() { TreeView1.Nodes.Clear(); string userid = Session["UserID"].ToString(); string sqlwr = new SY_ADMINUSER() 阅读全文
posted @ 2013-07-25 14:21 深南大道 阅读(156) 评论(0) 推荐(0) 编辑
摘要:/// <summary> /// 获取汉字的全拼音 /// </summary> /// <param name="x">传汉字的字符串</param> /// <returns>汉字的字符串的拼音</returns> public string GetSpell(string x) { int[ 阅读全文
posted @ 2013-06-19 15:37 深南大道 阅读(280) 评论(0) 推荐(0) 编辑
摘要:在dt存在大量数据的时候,给dt指定主键列,可以几何级提升dt.Select筛选数据的速度 阅读全文
posted @ 2013-05-02 10:10 深南大道 阅读(159) 评论(0) 推荐(0) 编辑
摘要:--包头部分 create or replace package JT_P_page is type type_cur is ref cursor; --定义游标变量用于返回记录集 procedure Pagination (Pindex in number, --要显示的页数索引,从0开始 Psq... 阅读全文
posted @ 2012-08-23 15:19 深南大道 阅读(156) 评论(0) 推荐(0) 编辑
摘要:HTML无限层级目录树 using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Data; using System.Text; using System.Web... 阅读全文
posted @ 2012-08-23 14:58 深南大道 阅读(185) 评论(0) 推荐(0) 编辑