日期:2014-05-17 浏览次数:20451 次
public class get_productItemData
{
public int seq { get; set; }//
public string hoeSa { get; set; }//
public string pumMokName { get; set; }//
public string barCode { get; set; }//
public int panMaega { get; set; }//
public string geoRaecheo { get; set; }//
public int ipSusu { get; set; }//
public int jego { get; set; }
}
List<get_productItemData> orderList = new List<get_productItemData>();
string orderno = "";
while (reader.Read())
{
if (reader["hoeSa"].ToString() != "")
{
orderList.Add(new get_productItemData()
{
seq = int.Parse(reader["seq"].ToString()),
hoeSa = reader["hoeSa"].ToString(),
pumMokName = reader["pumMokName"].ToString(),
barCode = reader["barCode"].ToString(),
panMaega = int.Parse(reader["panMaega"].ToString()),
geoRaecheo = reader["geoRaecheo"].ToString(),
ipSusu = int.Parse(reader["ipSusu"].ToString()),
jego = int.Parse(reader["Stock"].ToString())
&nbs