珂珂的个人博客 - 一个程序猿的个人网站

最新发布

[未分类]

discuz插入帖子和用户数据

admin 阅读(3421) 评论(0)

由于不懂php...所以网上搜索了下它的数据表结构,只能找到部分说明,也只插入了部分数据,经测试可以正常显示了。 由于这个就几张表,所以没必要再用什么orm框架了吧,直接sql语句。。。有2个属性类就不发出来了。。一看就明白 #region 发布主题帖子 public int InsertThread(string mysqlConnectionString, string pre, int fid, string author, int authorid, string subject, string message, string useip) [...]   阅读全文

[未分类]

正则表达式测试工具

admin 阅读(3590) 评论(0)

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Text.RegularExpressions; using System.Threading; using System.IO; using MyHelper.TextHelper; [...]   阅读全文

[未分类]

菜单克隆

admin 阅读(3943) 评论(0)

using System; using System.Collections.Generic; using System.Text; using System.Windows.Forms; using System.Reflection; using System.ComponentModel; namespace WinFormLib { public class MenuClone { //使用例子 //private void Form1_Load(object sender, EventArgs e) [...]   阅读全文

[未分类]

jsp、php、aspx同时使用80端口

admin 阅读(3078) 评论(0)

好吧,玩了个通宵 为了jsp php asp.net 一台机器单IP(貌似我用的路由器不支持映射同一个端口到多个内网IP)共用一个80端口 算是基本搞定了。系统环境windows 7 sp1 64位 iis7.5,tomcat7.......asp.net 与php是很简单的,安装PHPManagerForIIS这个就行。然后搜索了下nginx-1.0.9配置php也成功了,然后开始纠结asp.net与jsp整合,查到个isapi_redirector2.dll这东西,转发tomcat iis什么的,反正配了半天没出来,后来用naginx反向代理jsp成功了,但是不想naginx占用80端口 [...]   阅读全文

[未分类]

c#调用迅雷下载引擎

admin 阅读(3144) 评论(0)

usingSystem; usingSystem.Collections.Generic; usingSystem.ComponentModel; usingSystem.Data; usingSystem.Drawing; usingSystem.Linq; usingSystem.Text; usingSystem.Windows.Forms; usingSystem.Runtime.InteropServices; usingSystem.Threading; namespacewinformUpload { publicpartialclassDownloadB [...]   阅读全文