62,272
社区成员
发帖
与我相关
我的任务
分享
public class model{
private string a;
private float b;
public model(string a,float b){
this.a=a;
this.b=b;
}
public string A{
略
}
public string B{
略
}
}
public List<PayMent> GetPayMentBillList(PayMent PayMentInfo)
{
List<PayMent> GetBillList = new List<PayMent>();
PayMent pm ;
using (SqlDataReader dr = SqlHelper.ExecuteReader(SqlHelper.ConnectionStringProfile, CommandType.StoredProcedure, GetPayMentBillListSqName, para)) {
while (dr.Read()) {
pm = new PayMent(dr.GetString(0), dr.GetFloat(2));
GetBillList.Add(pm);
}
}
return GetBillList;
}