当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: Call the event viewer co
 

 

    摘要: asp.net 提供了三种存放 session的方式。 1 inproc 2 state server 3 sql server 第一种是我们经常用的,第2中就是使用一个名为 state server 的机器用它的内存来存放其他机器的session 状态,其实,我们还可以在 sql server 里面来存放和取得 session。是不是第一次听说。 下面讲述实现过程。 找到......
    摘要: 我校的学生网:www.ehang.com.cn中有校友录和图库等的项目有上传图片的功能,我将图片数据存入数据库中,需要将图片变小后和原图片一块存入数据库中,这样先可显示很多小图,点击后再显示大图!在asp.net中是这么做的: changimage.aspx中代码: <%@ page language="vb" autoeventwireup="......


OnlineCPUConsoleusingaWebControlLibrarywith.NETSecurity(3)
call the event viewer control by the tag prefix colon and the class name of eventlog.cs. note that we set a property from the query string in the code behind file. display vw_eventlog.aspx file < !-- register the wroxcontrollib assembly  -- > <%@ register tagprefix="cpu" namespace="wroxcpuconsole.controllib" assembly="wroxcontrollib" %> <html>   <body>       <!-call the event log custom control -->       <cpu:eventlog id="eventlog1"                runat="server"                machine="machine">       </cpu:eventlog>   </body> <html> code behind vw_eventlog.aspx.cs file public class vw_eventlog : system.web.ui.page {    //event log custom control    protected wroxcpuconsole.controllib.eventlog eventlog1;    private void page_load(object sender, system.eventargs e)    {       //set the machine property from the query string       eventlog1.machine = request.querystring["machine"].tostring();    } } event log application available in the code download vw_p
...   下一页
    摘要: 用visual c#获得计算机名称和ip地址 (王天 2001年11月15日 11:19) visual c#是微软公司推出的下一代程序开发语言,是微软.net 框架中的的一个重要组成部分,在推出visual c#的过程中,微软公司还推出了与之相对应的一个软件开发包--.net framework sdk。此软件开发包里面封装了许多类、对象。visual c#就是通过调用这些......
» 本期热门文章:

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