A103 CCCC I A 500 350 0 请告诉我如何获取特定文件的数据。This Code DGV Display Like thisRegnoNameClassSectionTeam-1Team-2BUSFEE A101AAAAIAA102BBBBIAA103CCCCIA I want DGV Team-1, Team-2, BUSFEE want Data FROM Fees_Transaction For Class=''I''RegnoNameClassSectionTeam-1Team-2BUSFEE A101AAAAIA75000A102BBBBIA750300125A103CCCCIA5003500Please Tell me How Can i Get Data For Particular Filed.推荐答案 我现在并没有深入了解你的工作方式,但似乎你试图显示来自2个不同但相关的表格的数据。你正在使用两个不同的SELECT查询,但没有将它们连接在一起。 我强烈建议你阅读并练习一些SQL JOIN查询。 DGV无法从单独的查询中并排显示数据。它们必须加入以生成包含您希望显示的所有数据的单个数据表或数据视图。I didn''t go very deep into how you''re doing things now, but it appears as though you''re trying to display data from 2 different, though related, tables. You''re using two different SELECT queries, but not joinging them together.I HIGHLY suggest you read up on and practice some SQL JOIN queries. The DGV cannot display data side-by-side from seperate queries. They MUST be JOIN''d to generate a single datatable or dataview containing all the data you wish to display. 这篇关于3表显示到DataGridView的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 10-31 17:03