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

asp.net treeview 菜单树 链接 展开 折叠

画面:
<asp:HiddenField ID="hfdXuHao" runat="server" />
<asp:TreeView ID="tvMenu" runat="server" CssClass="tvStyle" EnableClientScript="false"
                                                                                       OnSelectedNodeChanged="tvMenu_SelectedNodeChanged"
                                                                                       ImageSet="Custom" OnTreeNodeExpanded="tvMenu_TreeNodeExpanded">
                                                                                                                   &


相关文档:

asp.net 屏蔽 只能 是数字

 //数字字符
       public static string KeepNum(string str)
       {
           char[] tmp = new char[str.Length];
           char[ ......

提高Asp.Net网站性能


不要使用不必要的Session,和ASP中一样,在不必要的时候不要使用Session 
不使用不必要的Server Control  
不使用不必要的ViewState   
不要用Exception控制程序流程
禁用VB和Jscript动态数据类型
使用存储过程完成数据访问
只读数据访问不要使用DataSet  
关闭ASP.N ......

asp.net右键弹出上下文菜单

xtreeView.js
---==========================================================
var ie5=document.all&&document.getElementById
var ns6=document.getElementById&&!document.all
if (ie5||ns6)
var menuobj=document.getElementById("Panel2")
function showmenuie5(e)
{
   
&n ......

在asp.net webservice中如何使用session

在使用asp.net编写webservice时,默认情况下是不支持session的,但我们可以把WebMethod的EnableSession选项设为true来显式的打开它,请看以下例子:
1 新建网站WebSite 
2 新建web服务WebService.asmx,它具有以下两个方法:
[WebMethod(EnableSession = true)]
public string Login(string name)
{
   ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号