
C#专区
九幽之君
迷上电脑程序
展开
-
C#后台调用jquery
//Page.ClientScript.RegisterStartupScript(this.GetType(), "pop", "AddNoticeMangager()", true); Page.ClientScript.RegisterStartupScript(this.GetType(), "", " $('#Notice01_Robin_Header'转载 2013-12-05 17:46:31 · 1441 阅读 · 0 评论 -
C# 简单的日志读写。
/// /// 同步完成写入错误信息 /// /// public static void WriteSystemErrorLog(string ListName, string SapNumber, string errorInfo) { try {原创 2013-12-05 17:09:36 · 816 阅读 · 0 评论 -
简单XML读写操作
创建XML /// /// 创建XML /// /// public void CreateXMLFile(string XMLPath) { XmlDocument xmlDoc = new XmlDocument(); //加入X翻译 2013-12-12 17:48:25 · 634 阅读 · 0 评论 -
Sql 使用循环将一表的数据拆分为多表
select id as departmentNo,ROW_NUMBER() OVER(ORDER BY id) AS rowNumber into #depTemp--建立临时表from [zhanghu]declare @max int--获得最大的rowNumberselect @max=max(rownumber)from #depTempdeclare原创 2014-07-09 11:26:30 · 5091 阅读 · 0 评论 -
smtp邮件发送
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Net.Mail;using System.Net.Mime;using System.IO;/// ///MyEmail 的摘要说明/// public clas转载 2014-03-03 11:36:38 · 1723 阅读 · 0 评论 -
C# 泛型 模板 反射类成员
public string Create( List list) where T:class {string result = ""; if (list == null || list.Count == 0) { result = "NoData"; }原创 2014-12-17 14:51:54 · 986 阅读 · 0 评论