c#
文章平均质量分 76
茶咖啡
性格决定命运
展开
-
c# 内存表建立,数据库临时表
内存表 DataTable dt = new DataTable(); dt.Columns.Add("分包商全称", typeof(string)); dt.Columns.Add("分包商主管人员", typeof(string))原创 2011-08-31 09:05:47 · 6618 阅读 · 0 评论 -
数据库行列互换
--1、行互列--> --> (Roy)生成測試數據 if not object_id('Class') is null drop table ClassGoCreate table Class([Student] nvarchar(2),[Course] nvarchar(2),[Score] int)Insert Classselect N'张三',N'语文'转载 2011-12-30 16:33:16 · 763 阅读 · 0 评论 -
asp.net界面传值的简单加密和解密算法
/// /// 加密字符串类 /// public static class Encrypt { private const string mstr = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz"; /// ///原创 2011-12-31 09:36:52 · 1928 阅读 · 0 评论 -
Dev 之ASPxGridView后台动态创建超链接以及读取动态字段
//链接字符串 string ConStr = "server=10.0.0.1;user id=sa;pwd=;database=db_test"; //链接 SqlConnection con = new SqlConnection(ConStr); //SQL语句原创 2011-12-31 11:35:41 · 4797 阅读 · 0 评论