10 2008 档案

摘要:1。Eval和Bind的区别 绑定表达式 区别 1。eval是只读数据,bind是可更新的. 2.当对次表达式操作时候,必须用Eval 如 2.若GridView中绑定列里面 设置 内容格式 DataFormateString ={0:d} ,则 必须把 属性 HtmlCode 设置为false,否则无法起作用; Eval 单向绑定:数据是只读的 Bind 双向绑定:数据可以更改,并返回服务器... 阅读全文
posted @ 2008-10-31 17:42 hb 阅读(294) 评论(0) 推荐(0)
摘要:[关闭] CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->自动关闭焦点窗口当你不在浏览该窗口时,会自动出现是否关闭窗口的提示。 阅读全文
posted @ 2008-10-31 09:53 hb 阅读(159) 评论(0) 推荐(0)
摘要:private bool isNumberic(string obj) { for (int i_ = 0; i_ < obj.Length; i_++) { if (char.IsNumber(obj, i_) != true) { return false; } ... 阅读全文
posted @ 2008-10-30 10:59 hb 阅读(146) 评论(0) 推荐(0)
摘要:cs里 public Job_Data jd; protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { jd = new Job_Data(); fanye(); //翻页函数... 阅读全文
posted @ 2008-10-30 10:33 hb 阅读(148) 评论(0) 推荐(0)
摘要:":""%> &CID=" title=""> ":""%> = 2)?"":""%> " : ""%> 阅读全文
posted @ 2008-10-30 10:27 hb 阅读(139) 评论(0) 推荐(0)
摘要: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... 阅读全文
posted @ 2008-10-29 17:16 hb 阅读(155) 评论(0) 推荐(0)
摘要:CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 欢迎您:" target="_self"> 进入管理页 ... 阅读全文
posted @ 2008-10-28 17:27 hb 阅读(197) 评论(0) 推荐(0)
摘要:Response.Write("alert('请重新登陆');self.location='/Login.aspx';"); 阅读全文
posted @ 2008-10-28 08:44 hb 阅读(144) 评论(0) 推荐(0)
摘要:" class='FGree' target='_blank'title=""> 阅读全文
posted @ 2008-10-25 16:49 hb 阅读(105) 评论(0) 推荐(0)
摘要:" class='FGree' target='_blank'title=""> 阅读全文
posted @ 2008-10-25 16:49 hb 阅读(122) 评论(0) 推荐(0)
摘要:md5 阅读全文
posted @ 2008-10-25 08:11 hb 阅读(142) 评论(0) 推荐(0)
摘要: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... 阅读全文
posted @ 2008-10-25 07:58 hb 阅读(185) 评论(0) 推荐(0)
摘要:CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> private void Add() { //act = Request.QueryString["action"].Replace("'", ""); ... 阅读全文
posted @ 2008-10-23 11:15 hb 阅读(172) 评论(0) 推荐(0)
摘要:if (Session["name"] == null) { Response.Write(""); return; } else { if (Session["AdminFlag"].ToString() != "") { ... 阅读全文
posted @ 2008-10-20 08:20 hb 阅读(190) 评论(0) 推荐(0)
摘要: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... 阅读全文
posted @ 2008-10-15 15:32 hb 阅读(151) 评论(0) 推荐(0)
摘要: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] 阅读全文
posted @ 2008-10-15 09:28 hb 阅读(121) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2008-10-11 08:24 hb 阅读(183) 评论(0) 推荐(0)
摘要:" title="" target="_blank"> s 阅读全文
posted @ 2008-10-09 18:00 hb 阅读(129) 评论(0) 推荐(0)
摘要:DataGrid的默认分页点击上下页事件: protected void DataGrid1_PageIndexChanged(object source, DataGridPageChangedEventArgs e) { DataGrid1.CurrentPageIndex = e.NewPageIndex; BindGrid(); } 阅读全文
posted @ 2008-10-09 16:52 hb 阅读(179) 评论(0) 推荐(0)
摘要:在一个类里面 CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->// JScript 文件/*=======Calendar.js=======By Jiang Hongbin=======*/var months = new Array(... 阅读全文
posted @ 2008-10-09 16:50 hb 阅读(272) 评论(0) 推荐(0)
摘要:- FA_OVERFLOW pref_flow_limit 阅读全文
posted @ 2008-10-08 20:59 hb 阅读(159) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2008-10-08 17:46 hb 阅读(132) 评论(0) 推荐(0)
摘要:style='display:none' 阅读全文
posted @ 2008-10-08 14:25 hb 阅读(112) 评论(0) 推荐(0)
摘要:特殊符号 命名实体 十进制编码 特殊符号 命名实体 十进制编码 Α &Alpha; &#913; Β &Beta; &#914; Γ &Gamma; &#915; Δ &Delta; &#916; Ε &Epsilon; &#917; Ζ &Zeta; &#918; Η &Eta; &#919; Θ &Theta; &#920; Ι &Iota; &#921; Κ &K... 阅读全文
posted @ 2008-10-07 17:31 hb 阅读(207) 评论(0) 推荐(0)
摘要:CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->public static string LoginLetterSelected(string key) { return key.Trim().Replac... 阅读全文
posted @ 2008-10-07 17:19 hb 阅读(250) 评论(0) 推荐(0)
摘要:DBQueryCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->public class DBQuery{ static SqlConnection con = DBconnection.getcon(); static DataTab... 阅读全文
posted @ 2008-10-07 15:50 hb 阅读(140) 评论(0) 推荐(0)
摘要: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... 阅读全文
posted @ 2008-10-06 15:25 hb 阅读(365) 评论(0) 推荐(0)
摘要:--创建省级表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,'天津市'... 阅读全文
posted @ 2008-10-05 11:08 hb 阅读(578) 评论(0) 推荐(0)
摘要:/**//// /// 省列表框 /// private void DisplayProvince() { SqlDataReader sdr=db.RunProcGetReader("select * from Province"); ddlProvince.DataSource=sdr; ... 阅读全文
posted @ 2008-10-05 10:23 hb 阅读(242) 评论(0) 推荐(0)
摘要:实现效果如图,点击删除后删除所选纪录在DataGrid中加入模板列加入Label用以表示该纪录编号(id)然后再用模板列制作删除列 插入复选框 checkbox删除按钮的代码如下: public void btnDel_Click(object sender,EventArgs e) { //要删除的id号 string strId="";... 阅读全文
posted @ 2008-10-05 10:22 hb 阅读(219) 评论(0) 推荐(0)
摘要:绑定 DropDownList 注:ds为DataSet DataTable table=ds.Tables["mytable"]; foreach(DataRow row in table.Rows) { mylist.Items.Add(new ListItem(row[1].ToSt... 阅读全文
posted @ 2008-10-05 10:20 hb 阅读(179) 评论(0) 推荐(0)