摘要: 常用命令: 创建一个名字为"Test"的Sql实例: SqlLocalDB.exe create Test 启动Test数据库实例: SqlLocalDB.exe start Test 停止Test数据库实例: SqlLocalDB.exe stop Test 显示Test数据库实例信息: SqlL 阅读全文
posted @ 2017-08-01 16:49 SkyLeo 阅读(123) 评论(0) 推荐(0) 编辑
摘要: Federal=IIf(Federal=String.Empty,"0",Federal) 阅读全文
posted @ 2017-08-01 16:19 SkyLeo 阅读(157) 评论(0) 推荐(0) 编辑
摘要: Private Sub UpdateTask() Dim connStr As String = ConfigurationManager.connectionStrings("TaxSoftwareConnection").ToString() if File.Exists(path) Dim file As F... 阅读全文
posted @ 2017-07-26 10:09 SkyLeo 阅读(319) 评论(0) 推荐(0) 编辑
摘要: MSDN上的解释是 Gets or sets a value indicating whether the dialog box restores the current directory before closing. 应该是是否恢复current directory,而不是打开对话框时的目录 阅读全文
posted @ 2017-07-05 14:26 SkyLeo 阅读(235) 评论(0) 推荐(0) 编辑
摘要: 解决办法: 在发起Http请求的Activity里面的onCreate函数里面添加如下代码: 其他方法见:http://blog.csdn.net/mad1989/article/details/25964495 阅读全文
posted @ 2017-05-20 23:36 SkyLeo 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 1、foreach(GridViewRow gr in gridview1.Rows) { LinkButton l=gr.FindControls("LinkButton1") as LinkButton; } 2、Visible='<%# GetVisible(Eval("id"))%>' pu 阅读全文
posted @ 2017-05-18 13:33 SkyLeo 阅读(1301) 评论(0) 推荐(0) 编辑
摘要: 1. 修改web.config文件可以改变这个默认值 <configuration> <system.web> <httpRuntime maxRequestLength="1048576" executionTimeout="3600" /> </system.web> <configuratio 阅读全文
posted @ 2017-05-15 21:24 SkyLeo 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 常见问题: 1、空白页处理:select --> Tablix_ ,然后通过tablix的虚线条,来控制大小,并且将白板的长框也移动到最小。 2、查询多个,出现的报表第二个数据不在报表上:设置Retangle Properties,选中Keep contents together on a sini 阅读全文
posted @ 2017-05-15 15:36 SkyLeo 阅读(173) 评论(0) 推荐(0) 编辑
摘要: https://www.codeproject.com/articles/125541/effective-paging-with-gridview-control-in-asp-net 阅读全文
posted @ 2017-04-11 14:14 SkyLeo 阅读(78) 评论(0) 推荐(0) 编辑
摘要: string connStr=ConfigurationManager.ConnectionStrings["Connection"].ToString(); //执行查询语句并返回一个表 public DataTable ExecuteDataTable(string sql,params SqlParameter[] parameters) ... 阅读全文
posted @ 2017-03-23 16:53 SkyLeo 阅读(134) 评论(0) 推荐(0) 编辑