Csharp中的简单数据库 [英] simple database in Csharp

查看:96
本文介绍了Csharp中的简单数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我是一个初学者,我想为我的课程创建一个简单的记录
在cSharp中.我想创建一些字段,例如学生姓名,身份证号,出勤状态.然后,我希望将所有这些打印结果保存到Visual Studio中的简单报表中作为记录.
我需要知道从哪里开始.

Hi,
I am a beginner and i want to create a simple record of my class
in cSharp.I want to create some fields like student name,id,attendance status .Then I want all this print to simple report in visual studio as a record.
I need to know where to begin.

推荐答案

您对"record"一词的使用似乎表明您不太熟悉C#中的类和结构.第一步是在考虑DB编程之前先学习那些概念.完成此操作后,获得一本关于.NET数据库编程(ADO.NET)的好书,或从Code Project上的一些简单文章开始.

在当前的编程级别上,除了提供完整的代码清单(带有编译/部署说明)以外,无法为您提供有意义的帮助.
Your use of the word "record" seems to indicate that you are not very familiar with classes and structs in C#. A first step here would be to learn those concepts before you think of DB programming. Once you do that, get a good book on .NET database programming (ADO.NET) or start with a few simple articles here on Code Project.

At your current programming level, it''s impossible to help you meaningfully other than by providing full code listings (with instructions on compiling/deploying it).


使用 ReportViewer 来生成报表.
ADO.net和ReportViewer都可以控制Details,您可以从Google轻松获得.
Use ADO.Net for Database.
and ReportViewer for Report.
Both ADO.net and ReportViewer control Details ,You can get from google easily.


您可以简要介绍一下您的要求吗?
Can you brief your requirements more ?


这篇关于Csharp中的简单数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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