System.IndexoutofrangeException在选择输出期间 我在Visual Studio上有此代码: sqlite.open(); //启动连接到数据库 字符串stmep =“ select a.portata,a.quantita,b.quantita_attuale,a.costo_unitario,a.spesa_portata来自ordini a ...

问题描述 投票:0回答:0

eRr: sqlite +“ system.indexoutofrangeException:'索引不在数组的边界之外。'

我不明白为什么。 我想在Ordini中提取所有ale a ale in tastita_libitate的物品
	

当您在

SELECT

语句中限定列名时,只是指定源。输出仅具有列名。这意味着您的列被命名为“ portata”,而不是“ a.portata”。您应该自己看过这一点,因为您应该实际上已经查看了数据以查看列的名称。

c# visual-studio sqlite visual-studio-2022
最新问题
© www.soinside.com 2019 - 2025. All rights reserved.