`
huihui0371
  • 浏览: 15479 次
  • 性别: Icon_minigender_1
  • 来自: 河南郑州
社区版块
存档分类
最新评论
文章列表
/// <summary> /// /// </summary> private static void DeleteItself() { string vBatFile = Path.GetDirectoryName(Application.ExecutablePath) + "\\DeleteItself.bat"; using (StreamWriter vStreamWriter = new StreamWrite ...
private string HttpPost(string Url, string postDataStr) { HttpWebRequest request = (HttpWebRequest)WebRequest.Create(Url); request.Method = "POST"; request.ContentType = "application/x-www-form-urlencoded"; request.ContentLength = Encoding.UT ...
/// <summary> /// 获取input的的name 的值 /// </summary> /// <param name="text">文本</param> /// <param name="name">id或name的参数</param> /// <returns></returns> static public strin ...
<!doctype html> <html lang="en">  <head>   <meta charset="UTF-8">   <meta name="Generator" content="EditPlus®">   <meta name="Author" content="">   <meta name="Keywords" content=" ...
第一个指的是存储过程:   Create proc [proName]-- 表明 @o_username varchar(50), @o_Area varchar(100), @o_Address varchar(200), @o_mobile varchar(50), @o_tel varchar(50), @o_postcode varchar as begin declare @nowId int insert into dbo.OrderInfo (o_username,o_Area,o_Address,o_postcode,o_mobile,o_tel ...
set ANSI_NULLS ON set QUOTED_IDENTIFIER ON GO ALTER proc [dbo].[pro_Delete] @TableName nvarchar(50), --要删除的表的名称 @StrWhere nvarchar(500) --删除条件 AS BEGIN Declare @SqlTemp nvarchar(1000) ----存放动态生成的SQL语句 set @SqlTemp= 'delete from ' + @TableName + ' where ' + @StrWhere exec sp_execu ...
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>可以输入的select标签</title> </head> <body> <select id="select" onkeydown="Se ...
  Javascript 里面也有模式对话框和非模式对话框的概念,说的这么复杂,其实两者区别就是是在对话框被关闭之前用户能否在同一页面的其他地方进行工作。比如“打开文件” 对话框便是典型的模式对话框,在你对这个对话 ...
/* 判断指定的内容是否为空,若为空则弹出 警告框 */ function isEmpty(theValue, strMsg){ if(theValue==""){ alert(strMsg+"不能为空!"); return true; } return false; } /* 中文判断函数,允许生僻字用英文“*”代替 返回true表示是符合条件,返回false表示不符合 */ function isChinese(str){ var badChar ="ABCDEFGHIJKLMNOPQRSTUVWXYZ"; badChar += ...
这个是页面部分 <asp:Repeater ID="repGroupList" runat="server" OnItemDataBound="repGroupList_ItemDataBound"> <ItemTemplate> <div class="group_box_list"> ...
function Onclicklink() {             var url = $("#<% =txtUrl.ClientID %>").text();/// 获取asp:lable的里面的值             window.clipboardData.setData("Text", url);             alert("已复制链接");         }     <asp:Label ID="txtUrl" runat="serve ...
 /// <summary>     /// 上传图片     /// </summary>     /// <param name="file"></param>     /// <returns></returns>     private string VilidateImage(FileUpload file)     {         string phpName = "";         string pfile1 = file.FileName. ...
<input type="button" name="print" value="预览并打印" onclick="preview()"> <!--startprint--> 中间是你要打印的部分!一定记得 <!--endprint-->   <script language="Javascript"> function preview() {     bdhtml=window.document.body.innerHTML; ...
Global site tag (gtag.js) - Google Analytics