首页  :: 订阅 订阅  :: 管理

文章分类 -  MS.Net C#

摘要:multipage multiview http://msdn.microsoft.com/library/default.asp?url=/workshop/webcontrols/webcontrols_entry.asp toolbarhttp://msdn.microsoft.com/library/default.asp?url=/workshop/webcontrols/webcont... 阅读全文

posted @ 2005-12-10 04:34 GaoJie[高杰] 阅读(189) 评论(0) 推荐(0)

摘要:看了msdn,发现最大的长度是Int32,开始没有理解,后来HJ告诉我能够至少容纳3M的长度,我又去check了一下msdn,最大的长度是2的32次方(2的32次方就是4G),但是网上有人说是2G,那就是2的31次方。无论如何,string是够我用了。 阅读全文

posted @ 2005-10-12 21:45 GaoJie[高杰] 阅读(4636) 评论(1) 推荐(0)

摘要:先编辑好 html文件, 然后 1) 把这个静态html文件中需要动态获得和改变的html标记,加上 runat=server,id=content 2) 在cs文件中 声明这样的 HtmlGenericControl 控件 protected System.Web.UI.HtmlControls.HtmlGenericControl content; 3) 在cs文件中就可以这样的设置属性了 t... 阅读全文

posted @ 2005-04-26 15:56 GaoJie[高杰] 阅读(324) 评论(0) 推荐(0)

摘要:在A.aspx页面上 在B.aspx页面上 ClassName aObject = new ClassName(); this.Page.session["object"] = aObject; this.page.response.write("B.aspx"); ... 阅读全文

posted @ 2005-04-26 11:32 GaoJie[高杰] 阅读(212) 评论(0) 推荐(0)

摘要:1 给代码整理对齐 Ctrl+K+F 阅读全文

posted @ 2005-04-22 14:25 GaoJie[高杰] 阅读(441) 评论(1) 推荐(0)

摘要:可以在html中,放置一些需要有C#程序动态产生的值,而且可以把 html代码片断插到其中。 极其的爽,要发挥它的强大功能,尤其对于 aspx + html混排的页面。 c# 阅读全文

posted @ 2005-04-22 11:57 GaoJie[高杰] 阅读(608) 评论(0) 推荐(0)

摘要:原始页面 1. 把PageLayout改成 FlowLayout 2. leftMargin, topMargin,rightMargin,bottomMargin 改成 0 html表格 cellpadding,cellspacing,border 改成 0 阅读全文

posted @ 2005-04-22 10:56 GaoJie[高杰] 阅读(1105) 评论(0) 推荐(0)

摘要:============================== 单个ASP.NET页 ============================== start 录音 选择录音: ... 阅读全文

posted @ 2005-04-22 10:31 GaoJie[高杰] 阅读(999) 评论(2) 推荐(0)

摘要:Enables processing of HTTP Web requests by a custom HttpHandler that implements the IHttpHandler interface. Parameterscontext An HttpContext object that provides references to the intrinsic server o... 阅读全文

posted @ 2005-04-22 10:30 GaoJie[高杰] 阅读(397) 评论(0) 推荐(0)

摘要:Initializes a new instance of the HtmlGenericControl class. Overload List Initializes a new instance of the HtmlGenericControl class with default values. [Visual Basic] Public Sub New() [C#] publi... 阅读全文

posted @ 2005-04-22 09:38 GaoJie[高杰] 阅读(1349) 评论(0) 推荐(0)

摘要:Using Guide: 1. 编辑好HTML文件。 2. 这些 HTML中的控件(一般都是客户端控件),只要加上 两个属性就变成 Server side control. 例如增加 id=Body runat=server 3. 在 xxx.aspx.cs文件中增加多 Body的说明 protected System.Web.UI.HtmlControls.HtmlGeneri... 阅读全文

posted @ 2005-04-22 09:33 GaoJie[高杰] 阅读(2022) 评论(0) 推荐(0)

摘要:using System.Web.SessionState public class my_Handle:IHttpHandler { } 这个类只能抓到所有的 html 内容,为了能够抓到 session,在我们的类中必须实现 System.Web.SessionState.IRequiresSessionState接口,这样,我们就可以读到 session 内容,同时增加 sessi... 阅读全文

posted @ 2005-04-21 14:53 GaoJie[高杰] 阅读(534) 评论(0) 推荐(0)

摘要:ActionLogger BBSActionLog = ActionLogger.getActionLogger("D:\\xxx\\bin\\log.net.properties"); BBSActionLog.WriteInfo("M_1","Description"); 阅读全文

posted @ 2005-04-21 13:57 GaoJie[高杰] 阅读(168) 评论(0) 推荐(0)

摘要:Microsoft Duwamish7.0 Index and Contents 1. Install D:\Program Files\Microsoft Visual Studio .NET 2003\Enterprise Samples\Duwamish 7.0 CS\duwamish.msi 2. Browser http:/... 阅读全文

posted @ 2005-04-21 13:44 GaoJie[高杰] 阅读(358) 评论(0) 推荐(0)

摘要:============================== 单个ASP.NET页 ============================== start 录音 选择录音: ... 阅读全文

posted @ 2005-04-21 13:13 GaoJie[高杰] 阅读(217) 评论(0) 推荐(0)

摘要:1 用vs.net的向导与纯的HTML要注意保持一致。 2 对于图片,要注意设置图片的border,left,right等的边距,即使是没有填写,也要设置为0 3 做一行,但是可以搞很多的列,然后在列里面用table. 4 用ID标示table,row and cell,这样看起来更加直观,用“document overview”看。 阅读全文

posted @ 2005-04-21 13:10 GaoJie[高杰] 阅读(232) 评论(0) 推荐(0)

摘要:把大的 frameset 写成 aspx 文件, 可以把从其他页面传过来的?name=gaojie 等URL的形式都在 此frameset 中改变成 session中。 在这个文件的 page_load 方法中可以 his.Page.Session["test"]="test"; 然后在其中的某一个子frame的aspx文件中,page_load 方法中就可以取到数据了。 阅读全文

posted @ 2005-04-21 10:57 GaoJie[高杰] 阅读(599) 评论(0) 推荐(0)

摘要:多窗口页面(Frames) 基本语法 ... ... 在 标记后的文字将只出现在不支持 FRAMES 的浏览器中。 ... 各窗口的尺寸设置 纵向排列多个窗口: 示例 ... 阅读全文

posted @ 2005-04-21 10:36 GaoJie[高杰] 阅读(1462) 评论(0) 推荐(0)

摘要:设置 session this.Page.Session["UserName"]="GaoJie"; this.Page.Session["Password"]="Password1"; 设置 URL 参数 this.Page.Response.Redirect("Framework_InterpretSite.aspx?country=China",true); 读取Ses... 阅读全文

posted @ 2005-04-21 10:27 GaoJie[高杰] 阅读(290) 评论(0) 推荐(0)

摘要:Using Guide: 1. download the source code. 2. complie the project in your vs.net and get the XXXX.dll 3. refer the dll in your project.(actually the vs.net copy the dll to the bin foder) 4. add t... 阅读全文

posted @ 2005-04-21 09:21 GaoJie[高杰] 阅读(185) 评论(0) 推荐(0)