- 博客(14)
- 资源 (2)
- 收藏
- 关注
转载 无法获得数据库'model'上的排他锁 解决办法
http://hi.baidu.com/%CC%EC%B5%D8%BB%CC%BB%CC/blog/item/5f4c6ef3fd43e9c30a46e0b0.html 解决方法:在查询分析器中运行如下代码即可:declare @sql varchar(100) while 1=1 begin select top 1 @sql = kill +cast(spid as va
2009-10-29 10:34:00
11340
原创 选中DataGridView行,将数据返填到TextBox控件
这个代码有一个问题就是只能单击最后一列,事件才会发生!努力研究中......,如果有高手知道为什么也请指教一下,在此先谢过! using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;us
2009-10-20 23:55:00
7911
2
原创 用DataAdapter读取数据并写入ComboBox控件
为了不想把代码拉的过长,看起来不方便,我就省去了一些代码,如try块就没有写,主要就是想把意思写明白了...(本人开天辟地第一篇)没有学习DataAdapter之前,都是用Command对象的DataReader()方法来获取数据,并循环写入控件的. using System;using System.Collections.Generic;using System.Component
2009-10-18 22:52:00
1254
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人