摘要:
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowIndex != -1) { int indexID = ... 阅读全文
摘要:
using System;using System.Data;using System.Configuration;using System.Collections;using System.Web;using System.Web.Security;using System.Web.UI;usin... 阅读全文
摘要:
1.winform窗口间的传值最简单的办法(借助第三方类,将里面的属性设置成静态的,以便直接调用)2.winform使用GridView的时候,要想在最后一列加上删除和编辑按钮,首先要把GridView的AutoGenerateColumns属性设置成false;要想单击一行的时候整行被选中,就把S... 阅读全文
摘要:
set ANSI_NULLS ONset QUOTED_IDENTIFIER ONgo-- =============================================-- Author: jiangbo-- Create date: 2014-07-09 13:32:2... 阅读全文
摘要:
前台: ... 阅读全文
摘要:
1 WITH TempDeptment ([ID],[PID],[DeptName],[Conjunction]) AS2 (3 SELECT [ID],[PID],[DeptName], CAST([DeptName] AS Nvarchar(1000)) FROM [dbo].[De... 阅读全文
摘要:
1 protected void Page_Load(object sender, EventArgs e) 2 3 { 4 5 CreateCheckCodeImage(GenerateCheckCode()); 6 7 } 8 9 ... 阅读全文
摘要:
(1)上传文件前台:文件名称:浏览:上传文件后台:protectedvoidUploadButton_Click(objectsender,EventArgse){Msg.Text="";MyWebSite.DAL.FileInfofile=newMyWebSite.DAL.FileInfo();i... 阅读全文