当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: 用了我一下午的时间终于写完并整理好了利用.net来发送即时消息的材料(当然了,还有上午的数据库设计:) 数据库设计:info表:id fromstu_id tostu_id content term 其中id是主键,fromstu_id是发送信息的用户的学号(这是和我做的学友录连...
 

 

    摘要: 在asp.net中提供了加密的功能。名字空间system.web.security中包含了类formsauthentication,其中有一个方法hashpasswordforstoringinconfigfile。这个方法可以将用户提供的字符变成乱码,然后存储起来。注意此方法是不能继承的。 下面的代码就是在做注册页面时将数据加密后存储到数据库的过程 imports system.......
    摘要: set the initialfocus for an asp.net webform the pageutil class has a static method setinitialfocus(control) which can be used to generate a javascript for an asp.net page (webform), which set......


利用.net来发送即时消息:)
用了我一下午的时间终于写完并整理好了利用.net来发送即时消息的材料(当然了,还有上午的数据库设计:)     数据库设计:info表:id fromstu_id tostu_id content term 其中id是主键,fromstu_id是发送信息的用户的学号(这是与我做的学友录连在一起的),tostu_id是接受信息的用户的学号,content是消息的内容,term是判断是否为新消息. 下面的代码家在校友录中的if not ispostback中 /////////////////////判断是否有新留言,将自动弹出页面 这里还要将页面的刷新时间设置一下,以便可以循环的读取信息.
...   下一页
    摘要: 启动后台线程可以用下面的语句: checkonline online=new checkonline(); 用户可以将它放到global。asax中,我是没有了,只放到了一个aspx文件中做简单的测试。如下 //start.aspx <%@ page language="c#" autoeventwireup=true debug="tru......
» 本期热门文章:

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