获取数据库的表中一个值
摘要:
把这个19 转成int类型 List<object> one = new List<object>(); one.Add(new XQsys.BLL.News().SelectNewslastID()); int id = Convert.ToInt32(one[0]);方法二: SqlConnection conn = sqlhelp.createcon(); SqlCommand com = new SqlCommand(); com.CommandType = CommandType.Text; com.CommandText = "select Use 阅读全文
posted @ 2012-03-25 00:38 譕? 阅读(183) 评论(0) 推荐(0) 编辑