日期:2014-05-17  浏览次数:20558 次

asp.net的代码有点看不懂,赐教
DataSet ds = DBHelp.DateSet(strSql.ToString());
  int count = Store.Tables[0].Rows.Count;
  if (ds.Tables[0].Rows.Count > 0)
  {
  string[] SingleStore = null;
  for (int yy = 0; yy < count; yy++)
  {
  if (Store.Tables[0].Rows[yy][0].ToString() != "0")
  {
  if (U_Id != "")
  {
  SingleStore = Store.Tables[0].Rows[0][0].ToString().Split('|');//1,78|2,56|3,78|4,23
  }
  else
  {
  SingleStore = Store.Tables[0].Rows[yy][0].ToString().Split('|');//1,78|2,56|3,78|4,23
  }
  int ss = 0;
  for (int cc = 0; cc < SingleStore.Length; cc++)
  {
  string[] MyScore = SingleStore[cc].Split(',');//1,78
  ss = int.Parse(MyScore[1].ToString());
  ds.Tables[0].Rows[yy][2 + cc] = ss.ToString();
  }
  }
  }
  }
  return ds;
其中string[] SingleStore = null;是声明一个数组吗?还是什么