04 2009 档案

摘要:The following code shows a composed index Name_Age with DESC, UNIQUE mode:class MyTest{ [DbKey] public long Id = 0; [Index("Name_Age", ASC = false, UNIQUE = true)] public string Name = null; [Index("N... 阅读全文
posted @ 2009-04-18 16:32 shiningrise 阅读(375) 评论(0) 推荐(0) 编辑
摘要:The mutil-key example:public class MKey : IDbObject{ [DbKey(IsDbGenerate = false), Length(50)] public string Name; [DbKey(IsDbGenerate = false)] public int Age; public bool Gender;} 阅读全文
posted @ 2009-04-16 17:19 shiningrise 阅读(291) 评论(0) 推荐(0) 编辑
摘要:/**//*如果使用if (e.Row.RowState == DataControlRowState.Edit)作为判断条件,那么如果当前行恰好是交替行时,条件不成立-即便当前行确实也处于编辑状态*/4 if ((e.Row.RowState & DataControlRowState.Edit) != 0)5 {6 e.Row.Cells[0].BackColor = System.D... 阅读全文
posted @ 2009-04-16 01:05 shiningrise 阅读(370) 评论(0) 推荐(0) 编辑
摘要:需要override bool Equals(object obj) 阅读全文
posted @ 2009-04-16 00:28 shiningrise 阅读(567) 评论(0) 推荐(0) 编辑
摘要:<EditItemTemplate> <asp:CheckBoxList ID="cblXueke" runat="server" DataTextField="Id" DataValueField="FullName" RepeatDirection="Horizontal" RepeatLayout="Flow"> </asp:CheckBoxList> ... 阅读全文
posted @ 2009-04-16 00:05 shiningrise 阅读(645) 评论(0) 推荐(0) 编辑
摘要:http://www.smsgate.cn/api.asp 阅读全文
posted @ 2009-04-15 23:47 shiningrise 阅读(346) 评论(0) 推荐(0) 编辑
摘要://删除 protected void GridView1_RowDeleting(object sender, GridViewDeleteEventArgs e) { string sqlstr = "delete from 表 where id='" + GridView1.DataKeys[e.RowIndex].Value.ToString() + "'"; sqlcon = new S... 阅读全文
posted @ 2009-04-15 23:16 shiningrise 阅读(508) 评论(1) 推荐(0) 编辑
摘要:/Files/shiningrise/2009/BaoXiu.rar登陆帐号密码都为wxy测试前请将数据库字符串修改正确附:http://www.firebirdsql.org/http://www.codeplex.com/DbEntry默认 FirebirdSql.Data.FirebirdClient, Version=2.5.0.0dbEntry.net使用最新源码编译 阅读全文
posted @ 2009-04-14 17:56 shiningrise 阅读(1641) 评论(2) 推荐(0) 编辑

// 侧边栏目录 // https://blog-static.cnblogs.com/files/douzujun/marvin.nav.my1502.css