![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C#
文章平均质量分 70
naojin
这个作者很懒,什么都没留下…
展开
-
DB
using System;using System.Data;using System.Configuration;using System.Data.SqlClient;namespace hxsite.DB{ /// /// db オトユェメェヒオテ」 /// public class db { private string Constr=ConfigurationSetting原创 2007-03-13 14:36:00 · 534 阅读 · 0 评论 -
C#2.0 编写window服务
C#2.0 编写window服务(msdn)注意Visual Studio 标准版中不提供“Windows 服务”模板及相关功能。有关更多信息,请参见 Visual Studio 版本。本主题中的步骤引导您完成创建简单的向事件日志写入消息的 Windows 服务应用程序的过程。创建和使用服务所执行的基本步骤包括: * 使用“Windows 服务”应用程序模板创建项目。此模板为您创建转载 2007-04-14 14:57:00 · 2443 阅读 · 1 评论 -
检查页面是否带参访问
if (Request.RawUrl.ToString().IndexOf(?) > -1) { if (Request.RawUrl.ToString().IndexOf(&) > -1) { Response.Redirect("../err原创 2007-04-10 08:45:00 · 458 阅读 · 0 评论 -
读写图像
using System;using System.Data;using System.Configuration;using System.Collections;using System.Web;using System.Drawing;using System.Data.SqlClient;using System.Web.Security;using System.Web.UI;using原创 2007-04-06 17:14:00 · 565 阅读 · 0 评论 -
NET2.0 MD5
......using System.Security.Cryptography; //md5 using System.Text; //md5public partial class _Default : System.Web.UI.Page{ protected void Page_Load(object sender, EventArg转载 2007-03-14 10:02:00 · 514 阅读 · 0 评论 -
Read and Write XML
using System;using System.Data;using System.Configuration;using System.Collections;using System.Web;using System.Data.SqlClient;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebCon原创 2007-03-13 15:01:00 · 432 阅读 · 0 评论 -
DATAGRID
public void dg_CancelCommand(object source, System.Web.UI.WebControls.DataGridCommandEventArgs e) { dg.EditItemIndex=-1; dg.DataSource=dst; dg.DataBind(); } public void dg_DeleteCommand(o原创 2007-03-13 15:00:00 · 398 阅读 · 0 评论 -
DataGridView
using System;using System.Data;using System.Data.OleDb;using System.Configuration;using System.Collections;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControl原创 2007-03-13 14:58:00 · 401 阅读 · 0 评论 -
VS2005 CONNECTIONSTRING AND APPSETTING
///// WEB.CONFIG ////// INTERFACE.CS using System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.原创 2007-03-13 14:48:00 · 741 阅读 · 0 评论 -
调用CMD发送消息
char enter=(char)13; System.Diagnostics.Process p = new System.Diagnostics.Process(); p.StartInfo.FileName = "cmd.exe"; p.StartInfo.UseShellExecute = false; p.StartI原创 2007-04-14 14:35:00 · 2729 阅读 · 1 评论