随笔 - 9  文章 - 5  评论 - 8 

最新评论

你也做HR吗?
Re:面试题 Dava 2010-03-16 09:04  
技术这么好,怎么就没有自己创业呢? 欢迎来我的博客指导指导,共同进步啊 [url=http://kinstrace.blogbus.com]http://kinstrace.blogbus.com[/url]
博主,我按您如上的配置,本地连接却消失了~郁闷中。。。
谢谢分享,我有时间了试下。
for (int i = 0; i < GridView1.Rows.Count; i++)
{

//CheckBox2 = ((CheckBox)(GridView1.Rows[i].FindControl("CheckBox2")));
// CheckBox2 = (CheckBox)(GridView1.Rows[i].FindControl("CheckBox2"));
Label2.Text = ((CheckBox)(GridView1.Rows[i].FindControl("CheckBox2"))).Checked .ToString ();

if (((CheckBox)(GridView1.Rows[i].FindControl("CheckBox2"))).Checked)
{
string Content = GridView1.Rows[i ].Cells[1].Text;
string qucount = "select VoteContent_Count from VoteContent where VoteContent_Item='" + Content + "'";
SqlDataReader sqldr = sq.ExecuteReader(qucount);
sqldr.Read();
int m = Convert.ToInt32(sqldr["VoteContent_Count"]);
sqldr.Close();
m++;

string update = "update VoteContent set VoteContent_Count=" + m+"where VoteContent_Item='"+Content +"'";
//Label2.Text = update;
//string update = "update VoteContent set VoteContent_Count=1";
sq.ExecuteNonQuery(update);
Response.Write("<script>alert('success')</script>");

您好,这是我的一段代码,请问为什么运行时在页面选中了checkbox,但在实际代码判断时,不能选中呢?能给我解释下不?谢谢!
re: 面试题 .net 难混啊 2008-06-02 22:02  
晕啊 感觉 .net 给的薪资较低啊 这个对经验是有要求的
有一定经验的 才 3500
唉。。。