我需要设置一个空白数据库,用户可以使用数据网格视图控件进行编辑 [英] I need to set up a blank database that a user can edit using the data grid view control

查看:61
本文介绍了我需要设置一个空白数据库,用户可以使用数据网格视图控件进行编辑的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我是一个初学者我有一个基本的应用程序现在可以计算出你的成绩我正在尝试添加一个用户可以通过datagridveiw控件编辑的数据库。我希望用户能够保存这个用于侦察项目的更改,并且我希望程序
能够跟踪一年中一个学生的成绩,数据将由教师编辑。

I am a beginer I have a basic app that figures out your grade now I am trying to add a database that the user can edit through the datagridveiw control. I want the user to be able to save the changes this is for a scout project and I would like the program to ba able to keep track of one students grades for a year the data will be edited by the teacher.

马蒂亚斯

推荐答案

马蒂亚斯,如果你已经打开线程,我会讨好你的。以下是您必须回答的问题:  http:/ /social.msdn.microsoft.com/Forums/en/csharpgeneral/thread/2fe024b2-5905-4a96-b513-223bf497e9d8

我想帮助你,而你没有回应。如果您需要我们的帮助,请尽量保持专注并做好您的工作。你可以做到吗?请。

I am trying to help you out, and you dont respond. Please, try to stay focused and do your job, if you want any help from us. Can you do it? Please.

好的,你不需要一个空的DataBase(db只在创建时是空的,之后,它总是会携带一些数据)。要访问要显示的特定数据,必须使用sql查询(选择),新插入(插入),修复,
或更新已存在的数据(更新)以及删除(删除)。这是使用dataBase的基础知识。

Ok, you dont need an empty DataBase always (db is empty only on the time of creation, after that, it wil always carry some data). To access to specific data you want to show, you have to use sql queries (select), for new insertions (insert), for repairing, or updating already exisitng data (update), and for deleting (delete). This are the basics of working with dataBase.

但是,请稍微研究这些问题会很好,否则你最终会要求每一件事。这将是一项无用的工作。你不会学到东西。不是我希望你有什么不好的,但这就是它的样子。请记住,当时只有一个
的步骤,你将会取得进展。 

But please, it would be good to study these issues a bit, otherwise you will end up asking for every single thing. This would be a pointeless work. You wont learn a thing. Not that I wish you anything bad, but this is how it would be. Just remember, one step at the time, and you will be doing a progress. 

关于创建数据库,请点击以下链接:

About creating dataBase, follow this link:

http:// www。 programminghelp.com/web-development/asp-net/creating-a-database-in-microsoft-visual-studio-2010/

 

Mitja


这篇关于我需要设置一个空白数据库,用户可以使用数据网格视图控件进行编辑的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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