/* FTPFactory.cs Better view with tab space=4 Written by Jaimon Mathew (jaimonmathew@rediffmail.com) Rolander,Dan (Dan.Rolander@marriott.com) has modified the download method to cope with file name with path information. He also...[ 查看全文 ]
SQLHelper.cs 代码如下: using System; using System.Collections.Generic; using System.Text; using System.Collections; using System.Data; using System.Data.SqlClient; using System.Configuration; namespace HelloWinForm.DBUtility { class SQLHelper { #region 通用方法 // 数据连接池 private SqlConnection con; /// summary /// 返回数据库连接字符串 /// /summary /// retu...[ 查看全文 ]
using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; ...[ 查看全文 ]
代码如下: 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 System.Web.UI.HtmlControls; /// summary /// PlayClass 的摘要说明 /// /summary namespace ConfigTools { /// summary /// PlayClass 的摘要说明。 ///...[ 查看全文 ]
研究了一个下午,没有头绪,来论坛求助,老ID丢了!重新注册了一个!=。=! 我想用javascript正则提取asp代码中 SQL行的 表达式 但是写来写去都不行,各位辛苦帮忙看看! 想提取引号中的SQL表达式 strSql="Select * from project354 where ID = "&Request("id")& and Name='111'" 无标题文档 [ 查看全文 ]
#undef debug #define debugdisplay #undef debugdictionary using System; using System.Collections; namespace LZW { public class cLZW { #region Constrcut public cLZW() { } #endregion #region Coding public string InCharStream { set { _InCharSt...[ 查看全文 ]
private void Button1_Click(object sender, System.EventArgs e) { // Catalog Name string strCatalog = "TestCatalog"; string strQuery=""; strQuery = "Select DocTitle,Filename,Size,PATH,URL from Scope() where FREETEXT('" +TextBox1.Text+ "')"; // TextBox1.Text is the word that you type in the text box to query by using Indexing Service. string connstring = "Provider=MSIDXS.1;Integ...[ 查看全文 ]