摘要:
方法一: string sql="SELECT * FROM NewsClass ORDER BY ORDERID DESC"; OleDbConnection conn=new OleDbConnection(); conn.ConnectionString=ConnectionString; conn.Open(); OleDbCommand cmd = new ... 阅读全文
摘要:
方法一: string sql="SELECT * FROM NewsClass ORDER BY ORDERID DESC"; OleDbConnection conn=new OleDbConnection(); conn.ConnectionString=ConnectionString; conn.Open(); OleDbCommand cmd = new ... 阅读全文
摘要:
方法一: string sql="SELECT * FROM NewsClass ORDER BY ORDERID DESC"; OleDbConnection conn=new OleDbConnection(); conn.ConnectionString=ConnectionString; conn.Open(); OleDbCommand cmd = new ... 阅读全文
摘要:
方法一: string sql="SELECT * FROM NewsClass ORDER BY ORDERID DESC"; OleDbConnection conn=new OleDbConnection(); conn.ConnectionString=ConnectionString; conn.Open(); OleDbCommand cmd = new ... 阅读全文
摘要:
/我们先设置当鼠标上去的时候他的背景色改变 e.Row.Attributes.Add("onmouseover", "c=this.style.backgroundColor;this.style.backgroundColor='#ff6699'"); //下面我们再设置当鼠标离开后背景色再还原 e.Row.Attributes.Add("onmo... 阅读全文
摘要:
/我们先设置当鼠标上去的时候他的背景色改变 e.Row.Attributes.Add("onmouseover", "c=this.style.backgroundColor;this.style.backgroundColor='#ff6699'"); //下面我们再设置当鼠标离开后背景色再还原 e.Row.Attributes.Add("onmo... 阅读全文
摘要:
/我们先设置当鼠标上去的时候他的背景色改变 e.Row.Attributes.Add("onmouseover", "c=this.style.backgroundColor;this.style.backgroundColor='#ff6699'"); //下面我们再设置当鼠标离开后背景色再还原 e.Row.Attributes.Add("onmo... 阅读全文
摘要:
/我们先设置当鼠标上去的时候他的背景色改变 e.Row.Attributes.Add("onmouseover", "c=this.style.backgroundColor;this.style.backgroundColor='#ff6699'"); //下面我们再设置当鼠标离开后背景色再还原 e.Row.Attributes.Add("onmo... 阅读全文
摘要:
/我们先设置当鼠标上去的时候他的背景色改变 e.Row.Attributes.Add("onmouseover", "c=this.style.backgroundColor;this.style.backgroundColor='#ff6699'"); //下面我们再设置当鼠标离开后背景色再还原 e.Row.Attributes.Add("onmo... 阅读全文
摘要:
//绑定 public void bind() { string sqlstr = "select * from 表"; sqlcon = new SqlConnection(strCon); SqlDataAdapter myda = new SqlDataAdapter(sqlstr, sqlcon); DataS... 阅读全文