Jquery Ajax和getJSON获取后台普通Json数据和层级Json数据解析

Ajax和getJSON获取后台普通Json数据和层级Json数据解析 $(function () { //方式一 Ajax方式获取Json数据 $.ajax({ url: 'jsondata.ashx?type=1', type: 'G …… 阅读全文

另类办法,实现点击按钮后禁用,直到操作完成后恢复,防止重复操作,实用

using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;public partial class DisableButton : System.Web.UI.Pa …… 阅读全文

asp.net微软图表控件使用示例

<add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD,POST" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualizati …… 阅读全文

c#中list使用示例

protected void Page_Load(object sender, EventArgs e) { List studentNames = new List(); studentNames.Add("John"); studentNames.Add("Mary"); studentNames.Add("Rose"); …… 阅读全文

使用C#系统服务定时执行操作

1.新建项目 --》 Windows 服务2.Service1.cs代码using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Diagnostics;using System.ServiceProcess;using …… 阅读全文

C#直接发送打印机命令到打印机及ZPL常用打印命令 - 条码打印机

using System;using System.Collections.Generic;using System.Text;using System.Runtime.InteropServices;namespace BarCodeLibrary{ public class ZebraGesigner { [StructLayout(LayoutKi …… 阅读全文