gpt4 book ai didi

c# - “IndexOutOfRangeException was unhandled”

转载 作者:太空宇宙 更新时间:2023-11-03 19:15:04 29 4
gpt4 key购买 nike

<分区>

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。关于造成这种情况的原因有什么想法吗?

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com