摘要:
using System.Net;private void button1_Click(object sender, EventArgs e){ HttpWebRequest vHttpWebRequest = (HttpWebRequest)WebRequest.Create( @"http://www.baidu.com/favicon.ico"); HttpWebR... 阅读全文
摘要:
string strConn = "Provider=Microsoft.Jet.Oledb.4.0;Data Source=" + Dir + "\\"+fileName + ";Extended Properties=Excel 8.0;HDR=Yes;IMEX=1;"; 阅读全文
摘要:
/// <summary> /// 将指定DataTable转换为其等效的Xml流形式。 /// </summary> /// <param name= "table "> DataTable对象 </param> /// <returns> </returns> public string ToXmlString... 阅读全文
摘要:
System.Threading.Interlocked.Exchange(ref m_Value, value); 阅读全文
摘要:
Using System.Text;byte[ ] 转换为stringbyte[ ] image;string ll = Encoding.Default.GetString(image);string 转换为byte[ ]string ss;byte[] b = Encoding.Default.GetBytes(ss);数据库中image类型的字段的处理。首先我想从数据库中读出图片(以imag... 阅读全文
摘要:
stringconnString="DataSource=192.168.0.2;InitialCatalog=test;IntegratedSecurity=True";SqlConnectionconn=newSqlConnection();conn.ConnectionString=connString;conn.Open();DataTabledt=newDataTable();dt=co... 阅读全文
摘要:
在WinFrom里跳转到打开网页 //出处来自动软代码生成器开源代码//首先引入空间usingSystem.Diagnostics;try{Processproc=newProcess();Process.Start("IExplore.exe","http://help.maticsoft.com");}catch{MessageBox.Show("请访问:http://www.maticsoft.com","完成",MessageBoxButtons.OK,MessageBoxIcon.Information) 阅读全文
摘要:
private string getWebresourceFile1(string url) { WebClient myWebClient = new WebClient(); byte[] myDataBuffer = myWebClient.DownloadData(url); string SourceCode = ... 阅读全文
摘要:
1.先在地址栏键入about:config 2.Set "network.http.pipelining" to "true" 3.Set "network.http.proxy.pipelining" to "true" 4.Set "network.http.pipelining.maxrequests" to 30 5.单击右键,选择新建->整数,命名为nglayout.initialpaint.delay,值为0 OK. 打开新窗口改成打开新标签页: 在地址中输入"abo 阅读全文
摘要:
firefox火狐浏览器使用技巧大全 出处:多特软件站 时间:2008-09-04 人气:24780 次 核心提示:Mozilla Firefox是一个自由的,开放源码的浏览器,适用于Windows, Linux 和 MacOS X平台。 Mozilla Firefox是一个自由的,开放源码的浏览器,适用于 Windows, Linux 和 MacOS X平台,它体积小速度快,还有其它一些高级特征. 1. 任意缩放文字大小 在IE浏览器中,我们只能对文字的大小进行五个级别的调节,但是在火狐浏览器Firefox中,我们可 以任意地缩放文字的大小。操作的方法很简单,只要点击菜单“查看→文字大小”, 阅读全文