新手求教
靳潇 2014-02-20 09:56:37 string[,] tdlh = new string[1000, 1000];
string[,] tglh = new string[1000, 1000];
string mylinelh;
while ((mylinelh = _7dayStreamReader.ReadLine()) != null)
{
j = j + 1;
mylinelh = mylinelh.Replace(" ", " ");
mylinelh = mylinelh.Replace(" ", " ");
mylinelh = mylinelh.Replace(" ", " ");
mylinelh = mylinelh.Replace(" ", " ");
mylinelh = mylinelh.Replace(" ", " ");
mylinelh = mylinelh.Replace(" ", " ");
MessageBox.Show(mylinelh);
string[] sArraylh = mylinelh.Split(' ');
if (j == 61)//临河24小时
{
tglh[1, 1] = sArraylh[5];
MessageBox.Show(mylinelh);
}
if (j == 71)//临河24小时
{
tdlh[1, 1] = sArraylh[12];
}
}
MessageBox.Show(tglh[1, 1]);
我的3个 MessageBox.Show为啥只显示一个,有点想不通