DataTable dataTable = dataSet.Tables.Add();
dataTable.Columns.Add("商品编号", System.Type.GetType("System.String"));
dataTable.Columns.Add("商品名称", System.Type.GetType("System.String"));
dataTable.Columns.Add("规格", System.Type.GetType("System.String"));
dataTable.Columns.Add("产地", System.Type.GetType("System.String"));
dataTable.Columns.Add("批发价", System.Type.GetType("System.Double"));
dataTable.Columns.Add("零售价", System.Type.GetType("System.Double"));
object[] oResult = new object[6];
oResult[0] ="301006901";
oResult[1] ="麝香保心丸";
oResult[2] = "160'S";
oResult[3] = "和记黄埔";
oResult[4] = 10.01;
oResult[5] = 12.21;
dataTable.Rows.Add(oResult);
oResult[0] = "304002603";
oResult[1] = "珍菊降压片";
oResult[2] = "60'S";
oResult[3] = "雷允上";
oResult[4] = 5.67;
oResult[5] = 6.78;
dataTable.Rows.Add(oResult);