2007年10月11日
摘要: '将二进制文件转换成base64编码 Public Function ConvertFileToBase64(ByVal fileName) As String Dim file_length As Long Dim fnum As Integer Dim bytes() As Byte Dim txt As String Dim i As Integer ... 阅读全文
posted @ 2007-10-11 21:14 自由港 阅读(1177) 评论(0) 推荐(0)
  2007年8月22日
摘要: using System; using System.Threading; namespace ParameterizedThreadStartTest { class Program { static void Main(string[] args) { ParameterizedThreadStart myParamet... 阅读全文
posted @ 2007-08-22 17:37 自由港 阅读(225) 评论(0) 推荐(0)
  2007年8月20日
摘要: 在global.asax 中使用. Timer timer; Timer timerUrl; void Application_Start(object sender, EventArgs e) { TimerCallback callBack2 = new TimerCallback(Test2); timerUrl = new Ti... 阅读全文
posted @ 2007-08-20 17:43 自由港 阅读(1992) 评论(0) 推荐(0)
  2007年8月13日
摘要: 今天碰到一个问题.有两个数据库A,B我希望在A库的存储过程调用B库的存储过程,在查询分析器下执行没有问题,但是web调用却不行.原因是 在A库使用network service 用户执行的,但是在B库确没有这个用户,在B库加上这个用户,程序正常执行. 阅读全文
posted @ 2007-08-13 17:16 自由港 阅读(909) 评论(1) 推荐(0)
  2007年7月29日
摘要: 用户控件使用事件与调用页面交互 帐户 自由港1 类别 [选择一个类别或键入一个新类别] ; [选择一个类别或键入一个新类别] ; [选择一个类别或键入一个新类别] 1.定义事件参数类 using System; namespace ASPNetCookbook.CSExamples { /// /// This class provides the definition of the cust... 阅读全文
posted @ 2007-07-29 16:07 自由港 阅读(308) 评论(0) 推荐(0)
摘要: 1.定义事件参数类 using System; namespace ASPNetCookbook.CSExamples { /// /// This class provides the definition of the custom event arguments used /// as the event arguments for the message sent fro... 阅读全文
posted @ 2007-07-29 14:36 自由港 阅读(466) 评论(0) 推荐(0)
摘要: 1.定义事件参数类 using System; namespace ASPNetCookbook.CSExamples { /// /// This class provides the definition of the custom event arguments used /// as the event arguments for the message sent fro... 阅读全文
posted @ 2007-07-29 14:33 自由港 阅读(270) 评论(0) 推荐(0)
  2007年7月27日
摘要: lily@deelon.com 工作地点:广州市 招聘人数:2工作年限:三年以上 外语要求:英语 良好 学 历:本科 职位描述:职责描述: 参与.Net企业级管理系统或者软件产品的开发工作。 任职要求: 1、计算机或相关专业,本科以上学历,英语4级或以上; 2、精通.Net Framework,具有2年C/S、B/S模式的开发经验,熟练掌握JavaScript、VBScript、DHTM... 阅读全文
posted @ 2007-07-27 09:40 自由港 阅读(827) 评论(1) 推荐(0)
  2007年7月20日
摘要: alter table a add xxx int update a set xxx=id alter table a drop column id exec sp_rename 'a.xxx', 'id', 'column' 阅读全文
posted @ 2007-07-20 15:20 自由港 阅读(1586) 评论(0) 推荐(0)
摘要: metawebblog api 是一个博客标准,这样我们就可以通过实现这个标准来实现 我们自己的博客支持word2007,windows liver writer来写博客. metablog的.net接口如下. using System;using System.Collections.Generic;using System.Text;using CookComputing.Xml... 阅读全文
posted @ 2007-07-20 12:05 自由港 阅读(1011) 评论(0) 推荐(0)