<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[rfwang的专栏]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/rfwang</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; rfwang]]></copyright><item><title><![CDATA[将输入数据转化为人民币大写输出]]></title><link>https://blog.csdn.net/rfwang/article/details/386934</link><guid>https://blog.csdn.net/rfwang/article/details/386934</guid><author>rfwang</author><pubDate>Fri, 03 Jun 2005 11:37:00 +0800</pubDate><description><![CDATA[转化为大写的方法：private string datachange(string str)  {   string read = "";   switch (int.Parse(str))   {    case 0:     read = "零";     break;    case 1:     read = "壹";     break;    case 2:     read = "贰]]></description><category></category></item><item><title><![CDATA[关于强名称 ]]></title><link>https://blog.csdn.net/rfwang/article/details/386923</link><guid>https://blog.csdn.net/rfwang/article/details/386923</guid><author>rfwang</author><pubDate>Fri, 03 Jun 2005 11:29:00 +0800</pubDate><description><![CDATA[关于强名称 在命令行，用sn.exe给这个空间生成key强名称工具有助于使用强名称对程序集进行签名。Sn.exe 提供用于密钥管理、签名生成和签名验证的选项。sn [-quiet][option [parameter(s)]]选项说明-c [csp]将默认加密服务提供程序 (CSP) 设置为用于强名称签名。此设置应用于整台计算机。如果不指定 CSP 名称，则 Sn.exe 将清除当前设置。-d c]]></description><category></category></item><item><title><![CDATA[连接excel库]]></title><link>https://blog.csdn.net/rfwang/article/details/386887</link><guid>https://blog.csdn.net/rfwang/article/details/386887</guid><author>rfwang</author><pubDate>Fri, 03 Jun 2005 11:10:00 +0800</pubDate><description><![CDATA[System.Data.OleDb.OleDbConnection  con1=new System.Data.OleDb.OleDbConnection();  string constr="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C://test2.xls;Extended Properties=Excel 8.0;"; con1.Connec]]></description><category></category></item><item><title><![CDATA[DataGrid导出到Excel代码]]></title><link>https://blog.csdn.net/rfwang/article/details/386877</link><guid>https://blog.csdn.net/rfwang/article/details/386877</guid><author>rfwang</author><pubDate>Fri, 03 Jun 2005 11:05:00 +0800</pubDate><description><![CDATA[导出的函数：public void ToExcel(System.Web.UI.WebControls dg){ HttpContext.Current.Response.AppendHeader("Content-Disposition","attachment;filename=Excel.xls");  HttpContext.Current.Response.Charset ="UTF-8]]></description><category></category></item><item><title><![CDATA[窗口从右下角移动上来]]></title><link>https://blog.csdn.net/rfwang/article/details/386875</link><guid>https://blog.csdn.net/rfwang/article/details/386875</guid><author>rfwang</author><pubDate>Fri, 03 Jun 2005 11:04:00 +0800</pubDate><description><![CDATA[  window.resizeTo(220,210);  var windowW=220  // wide  var windowH=210  // high  var Yoffset=0   // in pixels, negative values allowed  var windowStep=2 // move increment (pixels)  var moveSpeed=12 //]]></description><category></category></item><item><title><![CDATA[Base64编码解码]]></title><link>https://blog.csdn.net/rfwang/article/details/386874</link><guid>https://blog.csdn.net/rfwang/article/details/386874</guid><author>rfwang</author><pubDate>Fri, 03 Jun 2005 11:03:00 +0800</pubDate><description><![CDATA[Base64编码public string EncodeBase64(string code_type,string code)  {   string encode = "";   byte[] bytes = Encoding.GetEncoding(code_type).GetBytes(code);   try   {    encode = Convert.ToBase64String(]]></description><category></category></item><item><title><![CDATA[报表动态绑定和导出]]></title><link>https://blog.csdn.net/rfwang/article/details/386869</link><guid>https://blog.csdn.net/rfwang/article/details/386869</guid><author>rfwang</author><pubDate>Fri, 03 Jun 2005 11:00:00 +0800</pubDate><description><![CDATA[为报表数据集填充数据://strProvider为连接字符串string strProvider = "Server=(local);DataBase=pubs;UID=sa;PWD=";　　CrystalReport1 oCR = new CrystalReport1();　　Dataset1 ds = new Dataset1();　　SqlConnection MyConn = new Sq]]></description><category></category></item><item><title><![CDATA[根据弹出窗口的返回值执行不同的事件]]></title><link>https://blog.csdn.net/rfwang/article/details/386850</link><guid>https://blog.csdn.net/rfwang/article/details/386850</guid><author>rfwang</author><pubDate>Fri, 03 Jun 2005 10:52:00 +0800</pubDate><description><![CDATA[ button3—click()：string str=" /n";   str+="function test(){/n";   str+="var revalue=confirm(yes/No?);/n";   str+="if(revalue)/n";   str+="{document.all.Button2.click();}/n";   str+="else/n";   str+=]]></description><category></category></item><item><title><![CDATA[TreeView控件详解]]></title><link>https://blog.csdn.net/rfwang/article/details/369315</link><guid>https://blog.csdn.net/rfwang/article/details/369315</guid><author>rfwang</author><pubDate>Sat, 30 Apr 2005 15:38:00 +0800</pubDate><description><![CDATA[TreeView 控件是在VFP的数据处理中很有用的一个ActiveX 控件，但是VFP的帮助中却没有相关的说明，为帮助大家对这一控件有一个详细的了解，现将TreeView 控件应用详解如下：  一、概述TreeView 控件显示 Node 对象的分层列表，每个 Node 对象均由一个标签和一个可选的位图组成。TreeView 一般用于显示文档标题、索引入口、磁盘上的文件和目录、或能被有效]]></description><category></category></item><item><title><![CDATA[连接Excel库代码]]></title><link>https://blog.csdn.net/rfwang/article/details/369285</link><guid>https://blog.csdn.net/rfwang/article/details/369285</guid><author>rfwang</author><pubDate>Sat, 30 Apr 2005 15:15:00 +0800</pubDate><description><![CDATA[System.Data.OleDb.OleDbConnection  con1=new System.Data.OleDb.OleDbConnection();  string constr="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C://test2.xls;Extended Properties=Excel 8.0;"; con1.Connec]]></description><category></category></item><item><title><![CDATA[下载文件的代码]]></title><link>https://blog.csdn.net/rfwang/article/details/369280</link><guid>https://blog.csdn.net/rfwang/article/details/369280</guid><author>rfwang</author><pubDate>Sat, 30 Apr 2005 15:14:00 +0800</pubDate><description><![CDATA[Response.Clear() Response.AddHeader("Content-Disposition", "attachement; filename=" & FileName) Response.AddHeader("Content-Lenght", Lenght) Response.ContentType = "application/octet-stream" Response.]]></description><category></category></item><item><title><![CDATA[导航树代码]]></title><link>https://blog.csdn.net/rfwang/article/details/369275</link><guid>https://blog.csdn.net/rfwang/article/details/369275</guid><author>rfwang</author><pubDate>Sat, 30 Apr 2005 15:13:00 +0800</pubDate><description><![CDATA[一个表存储父子模块的情况：public class Tree : System.Web.UI.Page {  protected Microsoft.Web.UI.WebControls.TreeView TreeView1;  string strcn = "workstation id=PROJECT3;packet size=4096;user id=sa;data source=/"PRO]]></description><category></category></item></channel></rss>