当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: 代码示例1: dlist = New Syst
 

 

 ·用c#在域中增加用户和邮箱    »显示摘要«
    摘要: public int creatuser(string loginname) { string p_strdomainloginname="admin"; string p_strdomainloginpassword=""; string p_strdomainname="myweb.com"; string ......
    摘要: vb.net中使用sendkeys遥控: 大家在vb6中都用过sendkeys,幕通过发送键盘的事件间接地控制外部程序,是有遥控之说。 我在vb7中却发现这个不能用了, 也就不了了之,后来一次在查阅msdn的时候竟看到了这个,是以尝试了一下,竟然旧貌新颜,还是一样好用。 主要是在system.winforms族中找到sendkeys 使用方法同vb6 键:一般的字符键如下输入”a......


动态加载服务器控件(整理)
代码示例1: dlist = new system.web.ui.webcontrols.dropdownlist() dlist.items.clear() dlist.id = "d" & rs2.fields("zdm").value do while not rs3.eof     dlist.items.add(rs3.fields(0).value)     rs3.movenext() loop td2.controls.add(dlist) 代码示例2: textbox textbox = new textbox(); textbox.id = showreader.getvalue(0).tostring(); this.controls.add(textbox); 代码示例3: // override to create repeated items. protected override void createchildcontrols() {     object o = viewstate["numitems"];     if (o != null) {        // clear any existing child controls.        controls.clear();        int numitems = (int)o;   &nbs
...   下一页
 ·用vb.net开发apiviewer(3)    »显示摘要«
    摘要: 在项目文件中添加新项-类(cconst.vb) 代码如下: namespace api public class cconst implements istore dim constlist as sortedlist dim constlistcsharp as sortedlist sub new() constlist = new sortedlist() co......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE