1 2 3 4 5 ··· 16 下一页
摘要: 1 NET开发人员值得关注的七个开源项目 2 软近几年在.NET社区开源项目方面投入了相当多的时间和资源,不禁让原本对峙的开源社区阵营大吃一惊,从微软.NET社区中的反应来看,微软.NET开发阵营对开源工具的依赖正日益增强,本文就为所有.NET开发人员介绍7个应该关注的开源项目,也许其中正有你需要... 阅读全文
posted @ 2014-07-29 15:19 Debugs 阅读(199) 评论(0) 推荐(0)
摘要: ASP.NET Forms 身份验证在开发过程中,我们需要做的事情包括:1. 在 web.config 中设置 Forms 身份验证相关参数。2. 创建登录页。登录页中的操作包括:1. 验证用户名和密码是否正确。2. 创建身份验证票证对象。3. 将身份验证票证对象加密成字符串,写入 Cookies。... 阅读全文
posted @ 2014-07-29 14:13 Debugs 阅读(211) 评论(0) 推荐(0)
摘要: DataRow复制一行到另一个DataTable 下面两个方法是DataRow复制一行到另一个DataTable的,直接Add会出错“此行已属于另一个表”,其实以前就知道怎么做的,可每次要用到的时候还是犯糊涂,这次把它们记下来。1.用DataRow.ItemArrayDataTable t=new 阅读全文
posted @ 2019-03-16 16:16 Debugs 阅读(249) 评论(0) 推荐(0)
摘要: DateTime dt = DateTime.Now; //当前时间DateTime startWeek = dt.AddDays(1 - Convert.ToInt32(dt.DayOfWeek.ToString("d"))); //本周周一DateTime endWeek = startWeek 阅读全文
posted @ 2018-10-26 14:27 Debugs 阅读(156) 评论(0) 推荐(0)
摘要: create table sto (id int not null, -- 主键字段 de datetime -- 被跟踪的字段 constraint pk_sto primary key(id)) select * from sto -- 建日志表create table log_sto(logi 阅读全文
posted @ 2018-10-18 16:45 Debugs 阅读(659) 评论(0) 推荐(0)
摘要: ALTER TRIGGER [dbo].[tri_test2] ON [dbo].[student] for INSERT,DELETE,UPDATEAS BEGIN if not exists (select * from deleted) --新增 insert student2(stu_id, 阅读全文
posted @ 2018-10-18 16:23 Debugs 阅读(2796) 评论(0) 推荐(0)
摘要: create table tb(name varchar(10),subject varchar(10),mark int) insert into tb values('A', '语文', 80) insert into tb values('A', '数学', 80) insert into t 阅读全文
posted @ 2018-10-18 11:32 Debugs 阅读(263) 评论(0) 推荐(0)
摘要: LEFT JOIN (SELECT * FROM (SELECT B.BILL_CODE, B.ACK_CODE, ROW_NUMBER() OVER(PARTITION BY B.ACK_CODE ORDER BY B.BILL_CODE) R FROM TAB_BILL_JHD_ACKREL B 阅读全文
posted @ 2018-10-11 11:09 Debugs 阅读(221) 评论(0) 推荐(0)
摘要: static void Main(string[] args) { //多个线程修改同一个值,使用lock锁解决并发 for (int i = 0; i < 4; i++) { Task.Factory.StartNew(ThreadMethod2); } //Thread.Sleep(2000); 阅读全文
posted @ 2018-09-19 15:03 Debugs 阅读(682) 评论(0) 推荐(0)
摘要: create or replace trigger T_TEST after insert or delete on TEST for each row declare -- local variables here A NUMBER; PRAGMA AUTONOMOUS_TRANSACTION; 阅读全文
posted @ 2018-08-09 12:04 Debugs 阅读(447) 评论(0) 推荐(0)
摘要: select regexp_substr(p.attributename, '[^,]+',1,level) c1from tablename p connect by level <= length(p.attributename) - length(replace(p.attributename 阅读全文
posted @ 2018-06-28 15:59 Debugs 阅读(7875) 评论(0) 推荐(0)
摘要: create or replace trigger trg_tab_sorting_theme_change before insert or update of PACKAGE_TYPE or delete on TAB_SORTING_THEME for each rowdeclare -- l 阅读全文
posted @ 2018-06-25 19:31 Debugs 阅读(252) 评论(0) 推荐(0)
1 2 3 4 5 ··· 16 下一页