2008年8月5日

     摘要: session 和Cookie有什么关系.为什么要添加cookie的判断才会准确? string strCookieHeader =HttpContext.Current.Request.Headers["Cookie"]; if (null != strCookieHeader && strCookieHeader.IndexOf("ASP.NET_SessionId") >= 0) 是干吗的?  阅读全文
posted @ 2008-08-05 11:21 Solog 阅读(167) | 评论 (0)编辑

2008年7月31日

     摘要: 个人学习用,无他意,COPY走的人也不要有他意使用工具:Fiddler参考文件:http://www.ibm.com/developerworks/cn/java/fileup/CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->/*Author:... 阅读全文
posted @ 2008-07-31 18:11 Solog 阅读(97) | 评论 (1)编辑

2008年7月10日

接上篇:飞信机器人FXRobot

添加了一个天气预报的插件:
使用方法:[tq]城市名/区号/拼音

效果图:

o_weather.jpg



本想再添些 公交查询,火车列表啥的,感觉原理都一样,没啥意思。不弄了。
重新编译了DLL

下载:
http://www.cnblogs.com/Files/solo/compile_dll.rar

使用方法:
一、备份X:\Program Files\China Mobile\Fetion 下面的FetionFx.exe.
把fxrobot_compile_dll.rar里的文件Copy进去.OK了。

posted @ 2008-07-10 15:46 Solog 阅读(228) | 评论 (2)编辑

2008年7月8日

     摘要: FXRobot功能:
用飞信或手机客户端发送信息让PC客户端执行你所添加的插件支持的命令,可以定时执行插件里的命令。实现远程,定时执行PC里的程序。如果点击关闭机器人,那么它就是一个普通的飞信。
目前可以执行的命令有:
一.如 "[cmd]ipconfig,[cmd]shutdown -s"等这类的开始->运行里的命令行
二:如"[fy]test,[fy]测试" 英汉互译。  阅读全文
posted @ 2008-07-08 11:28 Solog 阅读(797) | 评论 (13)编辑

2008年6月24日




VS配色效果如上图,VS2008的配色方案是ScottGu的,VS2005的是我根据那2008方案调出来的。(VS2008的配色方案MS不能导入VS2005)

养眼吧。

已更新,可以下载了
Download here
posted @ 2008-06-24 16:53 Solog 阅读(527) | 评论 (8)编辑

2008年5月8日

分页时

    <% if (ViewData.Accounts.IsPreviousPage) { %>
        
<%=Html.ActionLink<SpeakOutFreely.Controllers.ManageController>(c => c.List(ViewData.Accounts.PageIndex - 1), "Previous")%>
    
<% } %>

    
<% if (ViewData.Accounts.IsNextPage) { %>
        
<%=Html.ActionLink<SpeakOutFreely.Controllers.ManageController>(c => c.List(ViewData.Accounts.PageIndex + 1), "Next")%>
    
<% } %>    
第一次点下一页(Next)生成的HTML
http://localhost:64701/Manage/List/1
再点一次下一页(Next)
生成的URL
http://localhost:64701/Manage/List/1/2
应当是
http://localhost:64701/Manage/List/2 才对!
,直接The resource cannot be found. 了...

搜了下。
http://www.getknow.taniocha.org/autor-53-1.html
[quote]
Bug 1
If I create a controller action as follows...public void List(int category)... and use the MVCToolkit HtmlHelper.ActionLink<T> as follows...<%= Html.ActionLink<ProductController>( x => x.List(Category), "View Products for this category" ) %>... it generates the URL
http://server/Product/List/1 instead of http://server/Product/List/?category=1 and when i browse to the URL it says "A value is required for parameter 'category' in action 'List'"[this is due to LinkExtensions.BuildQueryStringFromBLOCKED EXPRESSION always assuming the first parameter should be simply appended to the url]
 Bug 2 If I create a controller action as follows...public void View(int Id)... and use the MVCToolkit HtmlHelper.ActionLink<T> as follows...<%= Html.ActionLink<ProductController>( x => x.View(ProductId), "View Product" ) %>... it correctly generates the URL
http://server/Product/View/1. However, when you navigate to that URL the same link now becomes http://server/Product/View/1/1. [this is because, in LinkExtensions.BuildUrl(), the call to UrlHelper.Action() parses the current URL and includes any current values (like Id) if it's a call to the same action. So maybe this is a bug with the way UrlHelper.Action works?? ]
[/quote]


只能这样写了..郁闷...
 <href="/Manage/List/<%= ViewData.Accounts.PageIndex-1 %>"">上一页</a>
  
<href="/Manage/List/<%= ViewData.Accounts.PageIndex+1 %>"">下一页</a>
posted @ 2008-05-08 10:17 Solog 阅读(210) | 评论 (1)编辑

2008年4月24日

     摘要:   阅读全文
posted @ 2008-04-24 11:35 Solog 阅读(264) | 评论 (1)编辑

2008年4月14日

     摘要: 使用C#读取EXCEL数据,一,不使用COM,二,使用COM  阅读全文
posted @ 2008-04-14 14:59 Solog 阅读(272) | 评论 (0)编辑

2008年4月9日

     摘要: 1.<scriptlanguage="JavaScript"type="Text/JavaScript"><!--if(window.Event){//修正Event的DOM/**//*IE5MacIE5MozillaKonqueror2.2Opera5eventyesyesyesyesyesevent.returnValueyesyesnononoevent.cancelBub... 阅读全文
posted @ 2008-04-09 10:30 Solog 阅读(87) | 评论 (0)编辑

2008年2月2日

     摘要: 裴波那契数列   阅读全文
posted @ 2008-02-02 18:18 Solog 阅读(153) | 评论 (0)编辑

导航

公告


MSN:solog(at)live.com

QQ:89208242
<2008年9月>
31123456
78910111213
14151617181920
21222324252627
2829301234
567891011

统计

与我联系

搜索

 

常用链接

留言簿(5)

我参加的小组

我参与的团队

我的标签

随笔分类

随笔档案

文章分类

相册

收藏夹

Links

solo's Friend's

其它小巢

最新随笔

最新评论

  • 1. re: 飞信机器人FXRobot
  •   能不能提供下你的QQ啊,直接和你QQ请教啊,谢谢了!
  • --feixin
  • 2. re: 飞信机器人FXRobot
  • 为什么我的也不行?我把你提供下载的文件复制进去后就不能运行飞信了啊?我也是用的2008的啊.把你的包下载后我解压之后该怎么做?我是按你说的把他复制到飞信客户端路径里面去,之后就不能运行啊.
  • --feixin
  • 3. re: 飞信机器人FXRobot
  • 备份X:\Program Files\China Mobile\Fetion 下面的FetionFx.exe. 把fxrobot_compile_dll.rar里的文件Copy进去.OK了。 PS:...
  • --Solog
  • 4. re: 飞信机器人FXRobot
  • 我复制进去 不行呢?
  • --zp
  • 5. re: Installshield12 创建自定义Web站点
  • 据我知道is在创建站点时,必须下面要创建虚拟目录才能正常创建站点,我的问题是:如果我只创建一个站点,不需要虚拟目录,也就是站点根目录就是我要创建的虚拟目录,这时应该如何配置?
    谢谢。。
  • --nectx

阅读排行榜

评论排行榜