使用数据库在MVVM中开发注册表 [英] Registration form develop in MVVM using data base

查看:67
本文介绍了使用数据库在MVVM中开发注册表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所有人,

有人告诉我.如何使用sql 2008在具有数据库的MVVM项目体系结构中隐含Registraton表单.

Any body tell me . How to impliment Registraton form in MVVM project architecture with data base using sql 2008.

我的查询.

1.我要开发人员注册表格.

1. I want to developer registration form.

2.使用MVVM.

3.使用数据库连接sql 2008.

3. Using data base connectivity sql 2008.

请指导我.

谢谢.

A.Acharya对我们的反馈在Windows Store中开发和推广您的应用程序,如果有帮助,请记住将其标记为答案,如果没有帮助,则将其取消标记.

A.Acharya Feedback to us Develop and promote your apps in Windows Store Please remember to mark the replies as answers if they help and unmark them if they provide no help.

推荐答案

实际上,这个话题太大了,无法在单个论坛主题中讨论,但是下面的链接应该可以帮助您入门.

This is actually too big of a topic to be discussed in a single forum thread but the following link should get you started.

代码示例:使用MVVM(WPF)进行添加-编辑-删除表单的极简方法: http: //drc.ideablade.com/xwiki/bin/view/Documentation/code-sample-add-edit-delete-forms-mvvm-wpf-les-pinter

Code sample: Minimalist approach to Add-Edit-Delete forms using MVVM (WPF): http://drc.ideablade.com/xwiki/bin/view/Documentation/code-sample-add-edit-delete-forms-mvvm-wpf-les-pinter

以下是一些其他链接也应有所帮助:

Here are some other links that should also be helpful:

一个简单的MVVM示例: https://rachel53461.wordpress.com/2011/05/08/simplemvvmexample/
最简单的WPF/MVVM添加/编辑/删除表单: http://www. pinter.com/ShowArticle.aspx?ArtNum=702

A Simple MVVM Example: https://rachel53461.wordpress.com/2011/05/08/simplemvvmexample/
The simplest possible WPF/MVVM Add/Edit/Delete form: http://www.pinter.com/ShowArticle.aspx?ArtNum=702

当涉及到与数据库的实际通信时,这实际上不是WPF主题.但是您可以使用ADO.NET从数据库中创建,读取,更新和删除数据:

When it comes to the actual communication with the database, this is not really a WPF topic. But you could use ADO.NET to create, read, update and delete data from a database:

使用ADO.NET创建一个简单的数据应用程序:

Create a simple data application by using ADO.NET: https://msdn.microsoft.com/en-us/library/jj943772.aspx?f=255&MSPPError=-2147217396

请在C#论坛或论坛中针对所使用的任何编程语言提出有关此问题的其他任何问题: https://social.msdn.microsoft.com/Forums/zh-CN/home?forum=csharpgeneral

Please ask any further questions you may about this in the C# forum or the forum for whatever programming language you are using: https://social.msdn.microsoft.com/Forums/en-US/home?forum=csharpgeneral

希望有帮助.

请记住,通过将有用的帖子标记为答案来关闭话题,然后在遇到新问题时开始新话题.请不要在同一线程中问几个问题.

Please remember to close your threads by marking helpful posts as answer and then start a new thread if you have a new question. Please don't ask several questions in the same thread.


这篇关于使用数据库在MVVM中开发注册表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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