摘要:
#region 声明
//----------------------------------------------------------------------
//
// 作者: 李淼(nick.lee)
//
// asp.net下的前台日历控件源代码(不刷新页面)
// 时间:2005-3-15
// boyorgril@msn.com
// qq:165030......
摘要:
最近在做权限模块,挺头痛的东西。不包括权限部分的业务,还包括权限部分的界面实现。由于采用了微软的treeview控件来分配权限,所以碰到网上热烈讨论的有关treeview操作的刷新问题,在众位先人和同事的帮助下,终于使treeview的问题得到了较好的解决。 1、前台控制展开,收缩,check/uncheck,后台控制selectedindexchanged。 解决方法: 将......
WritingTexttoaFile(VisualBasic)
this example writes a string to a text file using the writeline method of the streamwriter class.
example
【程序编程相关:
javascript客户端规定最多输入的】
【推荐阅读:
c#中使用nunit支持数据库单元测试】file.writeline("here is the first line.")
【扩展信息:
关于使用javascript改变诸如Li】dim file as new system.io.streamwriter("c:\test.txt")
file.close()
compiling the code
this example requires:
a reference to system namespace.
robust programming
the following conditions may cause an exception:
the file exists and is read-only (ioexception class).
the disk is full (ioexception class).
the pathn...
下一页 摘要:
在编程时经常只记得函数名称的部分内容,想快速定位,但c#编辑器的函数列表没有搜索功能,用正则表达式搜索可以解决这个问题,现将此过程写成一个宏。
使用方法:
打开vs的宏编辑器,粘贴以下代码。
为此宏指定一个快捷键(可选)
用快捷键或直接运行宏,输入函数名称即可。
用f3可以搜索下一个符合要求的函数。
sub searchfunction()
......