摘要: 例如下,字符串,格式化数字格式字符串-----货币-----.ToString("C");.ToString("c");例 2.5.ToString("c") -> ¥2.50-----十进制-----.ToString("D");.ToString("d");例 123.ToString("d8"... 阅读全文
posted @ 2015-04-24 15:58 fanny4281 阅读(271) 评论(0) 推荐(0) 编辑
摘要: Visio Studio 阅读全文
posted @ 2015-04-24 15:54 fanny4281 阅读(973) 评论(0) 推荐(0) 编辑
摘要: 从其它机器上考过来的一个sql2005的数据库备份(*.bak,直接通过‘备份’操作得到,不是detach的),在自己机器上的sql2005里建一个同名数据库,通过‘恢复’操作将其恢复后,发现旁边显示"restricted user"。因为自己是用windows集成帐户登陆,所以改用sa登陆,结果一... 阅读全文
posted @ 2014-11-18 14:25 fanny4281 阅读(173) 评论(0) 推荐(0) 编辑
摘要: '添加事务提交 Dim con As SqlConnection = New SqlConnection(frmSetting._DatabaseProvider.GetConnectionString) Dim cmd As SqlCommand = New SqlCommand() Dim tr... 阅读全文
posted @ 2014-11-07 16:35 fanny4281 阅读(107) 评论(0) 推荐(0) 编辑
摘要: textBox1.Select(textBox1.TextLength, 0);//使光标在末尾textBox1.Select(0, 0);//使光标在起始 阅读全文
posted @ 2014-11-07 16:26 fanny4281 阅读(458) 评论(0) 推荐(0) 编辑
摘要: 1 Private Sub lstShowRunning_MouseDoubleClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles lstShowRunning.M... 阅读全文
posted @ 2014-11-06 16:50 fanny4281 阅读(621) 评论(0) 推荐(0) 编辑
摘要: SQL Server 5030错误解决办法今天在使用SQL Server时,由于之前创建数据库忘记了设置Collocation,数据库中插入中文字符都是乱码,于是到DataBase的Options中修改Collocation,出现了The database could not be exclusiv... 阅读全文
posted @ 2014-11-06 14:44 fanny4281 阅读(235) 评论(0) 推荐(0) 编辑