问题描述
- 求大神,为什麽出现subscript out of range
-
moer = Array.CreateInstance(typeof(double), 5);if (yhsjxz.Rows[0]["cygsyxs"] != "") { double gsyxs = double.Parse(yhsjxz.Rows[0]["cygsyxs"].ToString()); moer.SetValue(gsyxs, 0); } moer.SetValue(1, 1); fzqzl1 = double.Parse(yhsjxz.Rows[0]["fzqzl"].ToString()) * 9.8; moer.SetValue(fzqzl1, 2);
为什麽会出现subscript out of range
时间: 2024-10-14 02:39:26