随笔分类 -  框架常用

数据库连接字符串
摘要:<add name="AARTOConnectionString" connectionString="Data Source=Cleopatra;Initial Catalog=AARTO;User ID=Aarto_user;Password=aarto2010;Max Pool Size=50 阅读全文
posted @ 2019-08-31 12:52 sxjljj 阅读(150) 评论(0) 推荐(0)
从数据库中取数据(Stalberg.TMS.Data)
摘要:using System; using System.Data; using System.Data.SqlClient; namespace Stalberg.TMS { //******************************************************* // // LocationDetails Class // /... 阅读全文
posted @ 2019-08-31 12:50 sxjljj 阅读(187) 评论(0) 推荐(0)
asp.net mvc 短信验证码
摘要:把发短信功能写成一个类包,需要引用: SmsUtillity.cs: View部分: AdminContorller部分: 阅读全文
posted @ 2019-06-13 15:30 sxjljj 阅读(917) 评论(1) 推荐(0)
C# FTp 上传,下载
摘要:public class FtpHelper { string ftpServerIP; string ftpRemotePath; string ftpUserID; string ftpPassword; string ftpURI; /// /// 连接FTP ... 阅读全文
posted @ 2018-04-03 17:03 sxjljj 阅读(164) 评论(0) 推荐(0)
使用EasyUI中Tree
摘要:easyui里面的加载tree的两种方式 第一种: 使用EasyUI中Tree 符合EasyUI中Tree的Json格式,我们先看一下,格式是如何的 [{ "id":1, "text":"My Documents", "children":[{ "id":22, "text":"Photos", "sta... 阅读全文
posted @ 2018-03-30 14:37 sxjljj 阅读(639) 评论(0) 推荐(0)
菜单加载学习1
摘要:https://blog.csdn.net/zhuyu19911016520/article/details/52573072 阅读全文
posted @ 2018-03-30 12:36 sxjljj 阅读(157) 评论(0) 推荐(0)
NPOI,导出Execl,压缩文件zip,发送Email
摘要:NPOI 导出: 发邮件:EmailManager.cs zip 压缩:要添加ICSharpCode.SharpZipLib.dll 阅读全文
posted @ 2018-03-30 11:21 sxjljj 阅读(374) 评论(0) 推荐(0)
使用Microsoft EnterpriseLibrary(微软企业库)日志组件把系统日志写入数据库和xml文件
摘要:http://www.cnblogs.com/qiu2013/p/3948131.html 阅读全文
posted @ 2018-03-30 07:47 sxjljj 阅读(96) 评论(0) 推荐(0)
框架公用方法
摘要:2.日志工具类: 3.UserMessageShow:(常用的信息,有效的避免了在代码中硬编码) 阅读全文
posted @ 2018-03-29 22:47 sxjljj 阅读(133) 评论(0) 推荐(0)