10 2008 档案
摘要:1。Eval和Bind的区别 绑定表达式 区别 1。eval是只读数据,bind是可更新的. 2.当对次表达式操作时候,必须用Eval 如 2.若GridView中绑定列里面 设置 内容格式 DataFormateString ={0:d} ,则 必须把 属性 HtmlCode 设置为false,否则无法起作用; Eval 单向绑定:数据是只读的 Bind 双向绑定:数据可以更改,并返回服务器...
阅读全文
摘要:[关闭] CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->自动关闭焦点窗口当你不在浏览该窗口时,会自动出现是否关闭窗口的提示。
阅读全文
摘要:private bool isNumberic(string obj) { for (int i_ = 0; i_ < obj.Length; i_++) { if (char.IsNumber(obj, i_) != true) { return false; } ...
阅读全文
摘要:cs里 public Job_Data jd; protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { jd = new Job_Data(); fanye(); //翻页函数...
阅读全文
摘要:":""%> &CID=" title=""> ":""%> = 2)?"":""%> " : ""%>
阅读全文
摘要:CREATE VIEW [dbo].[PerJob]ASSELECT zp.id, zp.uid, per.MainMenu, per.subMenu, per.ComName, per.ComType, zp.Idate, zp.JobKind, zp.JobName, zp.WorkYear, zp.Knowledge, zp.JobRequire, per.Intro...
阅读全文
摘要:CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 欢迎您:" target="_self"> 进入管理页 ...
阅读全文
摘要:Response.Write("alert('请重新登陆');self.location='/Login.aspx';");
阅读全文
摘要:" class='FGree' target='_blank'title="">
阅读全文
摘要:" class='FGree' target='_blank'title="">
阅读全文
摘要:CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->select * from Job_Person where UserName='good'select * from Job_Person where Flag='0' and Languag...
阅读全文
摘要:CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> private void Add() { //act = Request.QueryString["action"].Replace("'", ""); ...
阅读全文
摘要:if (Session["name"] == null) { Response.Write(""); return; } else { if (Session["AdminFlag"].ToString() != "") { ...
阅读全文
摘要:protected void Page_Load(object sender, EventArgs e) { DataGridBind(); } public void DataGridBind() { string sql; sql = "select A.ID, A.jobid ,A.Shendate,A.UserId,B.J...
阅读全文
摘要:select A.jobid ,A.Shendate,A.UserId,B.JobName,C.UserName,C.iname from Job_perapplyrec as A,job_zhaoping as B,job_person as Cwhere A.JobId=B.[id] and A.UserID=C.[ID]
阅读全文
摘要:DataGrid的默认分页点击上下页事件: protected void DataGrid1_PageIndexChanged(object source, DataGridPageChangedEventArgs e) { DataGrid1.CurrentPageIndex = e.NewPageIndex; BindGrid(); }
阅读全文
摘要:在一个类里面 CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->// JScript 文件/*=======Calendar.js=======By Jiang Hongbin=======*/var months = new Array(...
阅读全文
摘要:特殊符号 命名实体 十进制编码 特殊符号 命名实体 十进制编码 Α Α Α Β Β Β Γ Γ Γ Δ Δ Δ Ε Ε Ε Ζ Ζ Ζ Η Η Η Θ Θ Θ Ι Ι Ι Κ &K...
阅读全文
摘要:CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->public static string LoginLetterSelected(string key) { return key.Trim().Replac...
阅读全文
摘要:DBQueryCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->public class DBQuery{ static SqlConnection con = DBconnection.getcon(); static DataTab...
阅读全文
摘要:xxx.aspx.cs里的 protected string sql; protected void Page_Load(object sender, EventArgs e) { string sql = "select top 45 id,ComName from job_person where flag=1 order by id"; bingdat...
阅读全文
摘要:--创建省级表Create Table Province(ProID int primary key not null,ProName nvarchar(50) not null)Go--中国34个省级行政单位 23个省 5个自治区 4个直辖市 2特别行政区insert into Province values(1,'北京市')insert into Province values(2,'天津市'...
阅读全文
摘要:/**//// /// 省列表框 /// private void DisplayProvince() { SqlDataReader sdr=db.RunProcGetReader("select * from Province"); ddlProvince.DataSource=sdr; ...
阅读全文
摘要:实现效果如图,点击删除后删除所选纪录在DataGrid中加入模板列加入Label用以表示该纪录编号(id)然后再用模板列制作删除列 插入复选框 checkbox删除按钮的代码如下: public void btnDel_Click(object sender,EventArgs e) { //要删除的id号 string strId="";...
阅读全文
摘要:绑定 DropDownList 注:ds为DataSet DataTable table=ds.Tables["mytable"]; foreach(DataRow row in table.Rows) { mylist.Items.Add(new ListItem(row[1].ToSt...
阅读全文

浙公网安备 33010602011771号