sugar dataset用法
public void DataSetyognfa()//dataset演示用法 { string sql = "select name from dizhiku where id=450502005;select name from dizhiku where id=450802201;select name from dizhiku where id=@id;"; var db = sugar.GetInstance(); DataSet aa = db.Ado.GetDataSetAll(sql, new SugarParameter("@id", 450803001)); string aaaaa = aa.Tables[0].Rows[0][0].ToString(); string aaaa1a = aa.Tables[1].Rows[0][0].ToString(); string aaaa3a = aa.Tables[2].Rows[0][0].ToString(); }
平淡中储蓄成长
相关文章
发表评论
评论列表
- 这篇文章还没有收到评论,赶紧来抢沙发吧~