随笔分类 -  c#

清华大学统一用户认证及用户漫游系统ASP.NET版
摘要:1、throamvb.dll文件2、在 Visual Studio 2005 命令提示 中运行:tlbimp D:\门户\throam.dll /out:myThroam.dll /namespace:myThroam在C:\Program Files\Microsoft Visual Studio 8\VC 目录下生成文件 myThroamvb.dll3、在项目中添加DLL引用,选择生成的DLL... 阅读全文
posted @ 2007-08-08 14:12 石川 阅读(1003) 评论(2) 推荐(0)
读取yahoo的天气,并下载其中的图片和FLASH到本地
摘要:using System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using ... 阅读全文
posted @ 2007-08-01 20:49 石川 阅读(644) 评论(0) 推荐(0)
无限级目录
摘要://绑定所有目录 public static void Bind_list(DropDownList DropDownList1) { DropDownList1.Items.Clear(); string sql = "SELECT list_id,list_name,list_parent FROM list"; DataTable dt ... 阅读全文
posted @ 2007-06-12 16:15 石川 阅读(476) 评论(0) 推荐(0)
ASP.NET中的弹出信息对话框类
摘要:public class Alert{ private string alert; /**//// /// 弹出窗口并返回到前一页面 /// /// 提示信息内容 public Alert(string m) { this.alert = ""; } /**//// /// 弹出窗口 /// /// 提示... 阅读全文
posted @ 2007-06-12 16:12 石川 阅读(1293) 评论(2) 推荐(0)
时间计算
摘要:using System;namespace reme{ class Program { static void Main(string[] args) { outPut(); Exit(); } public static void outPut() { ... 阅读全文
posted @ 2007-04-11 21:59 石川 阅读(428) 评论(0) 推荐(0)
开放式实验室管理系统
摘要:目前正在做毕业设计,题目为《开放式实验室管理系统》,做了很长时间的需求分析,可是还是觉得不满意,总觉得系统功能比较单一,各位有什么好的建议尽管提,谢谢! 下面是我做的设计,大家看还有什么需要补充和修改的: 阅读全文
posted @ 2007-03-25 21:35 石川 阅读(1809) 评论(15) 推荐(0)
c#.net常用函数和方法集
摘要:1、DateTime 数字型 System.DateTime currentTime=new System.DateTime(); 1.1 取当前年月日时分秒 currentTime=System.DateTime.Now; 1.2 取当前年 int 年=currentTime.Year; 1.3 取当前月 int 月=currentTime.Month; 1.4 取当前日 int 日=curre... 阅读全文
posted @ 2006-08-10 02:35 石川 阅读(847) 评论(4) 推荐(0)