易截截图软件、单文件、免安装、纯绿色、仅160KB

asp 树,c# 查找 指定节点

using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
namespace WA.IBMS.FindTreeNode   //lxh 2008-9-16
{
    /// <summary>
    ///SelectTreeNode 的摘要说明
    /// </summary>
    public class SelectTreeNode
    {
        public SelectTreeNode()
        {
            //
            //TODO: 在此处添加构造函数逻辑
            //
        }
        /// <summary>
        /// 查找指定节点
        /// </summary>
        /// <param name="tnParent">节点</param>
        /// <param name="strValue">值</param>
        /// <returns></returns>
        public TreeNode Find_Node(TreeNode tnParent, string strValue)
        {
            TreeNode treeNode2 = new TreeNode();
            string venueCode = "";
            if (tnParent == null) return null;
            if (tnParent.Value == strValue) return tnParent;
   &


相关文档:

C#与Sqlite数据库操作实例

这是一个有关分页的实例,仅供参考(代码来自网络)
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Data.SQLite;
using System.Threading;
using System.Collections;
us ......

解除ASP上传200KB的限制

一、修改IIS设置,允许直接编辑配置数据库
二、先在服务里关闭iis admin service服务
找到windows\system32\inetsrv\下的metabase.xml,
打开,找到ASPMaxRequestEntityAllowed 把他修改为需要的值,默认为204800,即200K 把它修改为你所需的大小即可。如:512000(500k)
然后重启iis admin service服务。 ......

ASP中调用带参数输出的COM接口

 COM接口VC实现,接口:
[id(1), helpstring("method Test")] HRESULT Test([in] BSTR strInputA, [in] BSTR strInputB, [out,retval] VARIANT* result);
ASP调用:
Set   objCompInfo   =server.CreateObject("组件在系统中的名字")  
      ......

使用ASP发送飞信的免费短信

要实现在asp网站上发送飞信,要求是中国移动的手机用户,并且开通移动飞信功能。
     使用以下asp代码,修改参数为你的手机号及飞信密码,就可以实现在网站发免费短信功能。
    
fsend.asp文件源代码如下:
<%
    Dim fno,fp,tofno,rurl
   ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号