如何使用C#Windows窗体在表格中显示数据? [英] How to display data in a table using C# Windows Form?

查看:1218
本文介绍了如何使用C#Windows窗体在表格中显示数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好。



我想在表格中显示数据库中的数据。我还没有尝试过任何东西。任何人都可以发送链接,我可以解决这个问题。我读过很多文章但我找不到任何解决方案。请帮我。在此先感谢:)



以下是我需要展示的内容:





Months | TotalFeeToPaid | AmountPaid |余额|

---------------------------------------- -----

May | 15,000.00 | 5,000.00 | 10,000.00 |

-------------------------------------- -------

六月| 10,000.00 |可编辑| AutoCompute |



- >在金额付款时,用户可以输入金额,然后系统会自动计算它以获得余额。请帮助我:)

Hi.

I would like to display data from my database in a table. I have not yet tried anything. Can anyone send me links where I can solve this. I had read many articles yet I could not find any solution. Please help me. Thanks in advance :)

Here is what I need to display:


Months|TotalFeeToPaid|AmountPaid| Balance |
---------------------------------------------
May | 15,000.00 | 5,000.00 |10,000.00 |
---------------------------------------------
June |10,000.00 | editable |AutoCompute|

->at the amountpaid, user can input the amount then the system will auto compute it to get the balance remaining. Please help me :)

推荐答案

为什么不正确谷歌?

https://www.google.ru/?q=c%23+read+ms+access+database+codeproject



C#/ VB.NET / C ++ CLI:创建,读取和写入MS Access(mdb,accdb),MySQL,SQL Server,SQL Server Compact和SQLite数据库 [ ^ ]



MS Access(* .mdb)+ C#:SELECT,INSERT,DELETE和UPDATE查询 [ ^ ]



SQL Server + C#:SELECT, INSERT,DELETE和UPDATE查询和存储过程 [ ^ ]
Why not google properly?
https://www.google.ru/?q=c%23+read+ms+access+database+codeproject

C# / VB.NET / C++ CLI: Create, read and write MS Access (mdb, accdb), MySQL, SQL Server, SQL Server Compact and SQLite databases[^]

MS Access (*.mdb) + C#: SELECT, INSERT, DELETE and UPDATE Queries[^]

SQL Server + C#: SELECT, INSERT, DELETE and UPDATE Queries and Stored Procedures[^]


这篇关于如何使用C#Windows窗体在表格中显示数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆