总是用的不熟练慢慢的总结篇
Code
//获取的用户ID
public List<int> GetUserId(int Id)
{
List<int> userId = new List<int>();
SqlDataReader dr = BaseDAL.GetRecord(table, field, where, null);
while (dr.Read())
{
userId.Add(dr.GetInt32(0));
}
dr.Close();
return userId;
}
posted @
2008-12-30 23:12
云飞扬IT
阅读(
3422)
评论()
编辑
收藏
举报