91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 342KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2021-05-04
  • 語言: 其他
  • 標簽: ntko??office??控件??

資源簡介

無任何限制。。。。 內容清單: 1 ocx 控件 2 安裝文檔 3 示例代碼 ....

資源截圖

代碼片段和文件信息

using?System;
using?System.IO;
using?System.Collections;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Web;
using?System.Web.SessionState;
using?System.Web.UI;
using?System.Web.UI.WebControls;
using?System.Web.UI.HtmlControls;

namespace?v30CSharpdemoSQL
{

public?partial?class?mainform?:?System.Web.UI.Page
{
private?System.Data.SqlClient.SqlConnection?conn;

protected?void?Page_Load(object?sender?System.EventArgs?e)
{
conn?=?(System.Data.SqlClient.SqlConnection)Session[“dbConn“];
}

#region?Web?Form?Designer?generated?code
override?protected?void?OnInit(EventArgs?e)
{
//
//?CODEGEN:該調用是?ASP.NET?Web?窗體設計器所必需的。
//
InitializeComponent();
base.OnInit(e);
}

///?
///?設計器支持所需的方法?-?不要使用代碼編輯器修改
///?此方法的內容。
///?

private?void?InitializeComponent()
{????

}
#endregion

public?string?getDocListFromDatabase()
{
string?sRet?=?@““+
@“id“+
@“Filename“+
@“size“+
@“Operation“+
@““;
string?strcmd?=?“select?*?from?MyUploadTable?ORDER?BY?id“;
System.Data.SqlClient.SqlDataReader??objReader?=?null;
try
{
System.Data.SqlClient.SqlCommand??objCommand?=?new?System.Data.SqlClient.SqlCommand?(strcmdconn);
conn.Open();
objReader?=?objCommand.ExecuteReader();

while?(objReader.Read())
{
sRet?+=?““+objReader[“id“]+““+objReader[“filename“].ToString().Trim()+““?+
objReader[“filesize“]+@“?Bytes “edit.aspx?docid=“+objReader[“id“]+@“““?target=_blank>Edit“;
}
}
finally
{
if(objReader?!=?null)objReader.Close();?
conn.Close();
}
return?sRet;
}

public?string?getDocListFromDir()
{
string?sRet?=?@““+
@“Filename“+
@“size“+
@“Operation“+
@““;
string?uploadpath?=?Server.MapPath(Session[“uploadpath“].ToString());

DirectoryInfo?di?=?new?DirectoryInfo(uploadpath);

FileInfo[]?fis?=?di.GetFiles();

foreach?(FileInfo?fiTemp?in?fis)
{
sRet?+=?““?+?fiTemp.Name?+?““?+fiTemp.Length?+
@“?Bytes fiTemp.Name+?@“““?target=_blank>Edit“;
}
return?sRet;
}


public?string?getHTMLListFromDir()
{
string?sRet?=?@““+
@“Filename“+
@“size“+
@“Operation“+
@““;
string?htmlPath?=?Server.MapPath(Session[“htmlpath“].ToString());

DirectoryInfo?di?=?new?DirectoryInfo(htmlPath);

FileInfo[]?fis?=?di.GetFiles(“*.html“);

foreach?(FileInfo?fiTemp?in?fis)
{
sRet?+=?““?+?fiTemp.Name?+

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件???????1568??2007-03-21?16:58??office\default.aspx

?????文件???????3211??2007-03-21?16:58??office\default.aspx.cs

?????文件???????5443??2007-03-21?16:58??office\default.aspx.resx

?????文件???????9244??2007-03-21?16:58??office\edit.aspx

?????文件???????3515??2007-03-21?16:58??office\edit.aspx.cs

?????文件???????1733??2007-03-21?16:58??office\edit.aspx.resx

?????文件???????2472??2007-03-21?16:58??office\edit.html

?????文件??????12021??2007-04-05?15:10??office\ntkoocx.js

?????文件?????310052??2007-03-21?16:58??office\OfficeControl.cab

?????文件?????????96??2007-03-21?16:58??office\readattach.aspx

?????文件???????2420??2007-03-21?16:58??office\readattach.aspx.cs

?????文件???????1733??2007-03-21?16:58??office\readattach.aspx.resx

?????文件?????????90??2007-03-21?16:58??office\readdoc.aspx

?????文件???????2751??2007-03-21?16:58??office\readdoc.aspx.cs

?????文件???????5317??2007-03-21?16:58??office\readdoc.aspx.resx

?????文件?????????96??2007-03-21?16:58??office\uploaddisk.aspx

?????文件???????1798??2007-03-21?16:58??office\uploaddisk.aspx.cs

?????文件???????1733??2007-03-21?16:58??office\uploaddisk.aspx.resx

?????文件?????????96??2007-03-21?16:58??office\uploadedit.aspx

?????文件???????4273??2007-03-21?16:58??office\uploadedit.aspx.cs

?????文件???????1733??2007-03-21?16:58??office\uploadedit.aspx.resx

?????文件?????????98??2007-03-21?16:58??office\uploadhtmls.aspx

?????文件???????1713??2007-03-21?16:58??office\uploadhtmls.aspx.cs

?????文件???????1733??2007-03-21?16:58??office\uploadhtmls.aspx.resx

?????文件??????34304??2007-04-09?08:56??office\安裝說明.doc

?????文件??????23552??2007-04-09?08:56??office\示例說明.doc

?????目錄??????????0??2008-10-04?13:48??office

-----------?---------??----------?-----??----

???????????????432795????????????????????27



............此處省略0個文件信息

評論

共有 條評論