会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
晖轩阁
人生苦短,Python当歌
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
3
4
5
6
7
8
9
10
11
···
24
下一页
2013年10月16日
mdf导入sqlServer
摘要: 导入mdf有两种方法: (需要mdf和ldf两个文件) 1. 在SQL企业管理器中,选择左边树型列表,根节点即“数据库”的文件夹图标,右键“所有任务”→“附加数据库”→选择mdf文件→指定库名称(“附加为”)→指定所有者→确定 2:在查询分析器里执行如下语句exec sp_attach_db '数据...
阅读全文
posted @ 2013-10-16 11:00 顿金
阅读(534)
评论(0)
推荐(0)
2013年10月15日
sql设置事务隔离级别
摘要: SET TRANSACTION一共有以下几种级别:SET TRANSACTION ISOLATION LEVEL { READ UNCOMMITTED | READ COMMITTED | REPEATABLE READ | SNAPSHOT | SERIALIZABLE }第一种情况:READ C...
阅读全文
posted @ 2013-10-15 17:43 顿金
阅读(1610)
评论(0)
推荐(0)
2013年8月31日
adb服务启动失败处理命令
摘要: 执行以下命令:D:\android-sdks\platform-tools>adb kill-server --停止adb服务D:\android-sdks\platform-tools>adb start-server --开启adb服务如果启动失败则可查看占用5037端口的程序,并将其进程结束掉...
阅读全文
posted @ 2013-08-31 17:12 顿金
阅读(506)
评论(0)
推荐(0)
2013年8月23日
Asp服务器控件(HyperLink、Button) 绑定后台参数 DataBinder.Eval
摘要: HyperLink动态绑定参数'>Button绑定后台参数,并处理格式字符串包含引号问题'
阅读全文
posted @ 2013-08-23 09:17 顿金
阅读(162)
评论(0)
推荐(0)
2013年8月1日
sql 判断表、列、视图等是否存在
摘要: 1 判断数据库是否存在if exists (select * from sys.databases where name = '数据库名') drop database [数据库名]2 判断表是否存在if exists (select * from sysobjects where id = obj...
阅读全文
posted @ 2013-08-01 19:47 顿金
阅读(811)
评论(0)
推荐(0)
2013年7月31日
GridView、Repeater获取当前行号
摘要: GridView:Repeater:
阅读全文
posted @ 2013-07-31 10:59 顿金
阅读(127)
评论(0)
推荐(0)
2013年7月15日
OUTPUT新增记录入库示例C#+存储过程
摘要: 1.C#代码 public int Insert(Entity model) { var parameters = new SqlParameter[] { new SqlParam...
阅读全文
posted @ 2013-07-15 15:08 顿金
阅读(191)
评论(0)
推荐(0)
2013年7月12日
像table一样布局div的CSS属性详解
摘要: .equal { display:table; border-collapse:separate;margin: auto; } .row{display:table-row;} .row div{ display: inline...
阅读全文
posted @ 2013-07-12 11:37 顿金
阅读(181)
评论(0)
推荐(0)
Page_Load基类,重写OnLoad
摘要: protected override void OnLoad(EventArgs e) { userid = PublicFun.GetSessionValue(HttpContext.Current.Session, "member_id", 0...
阅读全文
posted @ 2013-07-12 10:20 顿金
阅读(266)
评论(0)
推荐(0)
2013年7月5日
ASP.NET获取根目录的方法集合
摘要: 编写程序的时候,经常需要用的项目根目录,自己总结如下: 1、取得控制台应用程序的根目录方法 方法1、Environment.CurrentDirectory 取得或设置当前工作目录的完整限定路径 方法2、AppDomain.CurrentDomain.BaseDirectory 获取基目录...
阅读全文
posted @ 2013-07-05 14:45 顿金
阅读(329)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
9
10
11
···
24
下一页
公告