string Query = "SELECT [AA], [TEXT] FROM [TABLE] WHERE FK_ML_PROGRAM=200 AND FK_ML_LANGUAGE=" + Convert.ToInt32(cboLanguage.SelectedIndex) + " AND AA like 'Msg_%' ORDER BY ID ";
LanguageData = DAL.ExecuteDataTable(Query);
private DataRow GetRows(string b)
{
DataRow[] result_start = LanguageData.Select("AA='" + b.ToString() + "'");
DataRow Row = result_start[0];
return Row;
}
当我运行应用程序时,它会抛出一个IndexOutOfRangeException
. 关于造成这种情况的任何想法?