我想在c#中使用可用表来编写CRUD函数 [英] i want to write CRUD functions in c# using the table available how to do this

查看:52
本文介绍了我想在c#中使用可用表来编写CRUD函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

表名时间表

列可用

员工主键和自动增量(标识)

projectid int

moduleid int

taskid int



数据库名称amrit

table name timesheet
Columns availabe
Employeeid primary key and auto increment(identity)
projectid int
moduleid int
taskid int

name of database amrit

推荐答案

这是一个非常广泛的问题。 CRUD表示使用数据存储创建,读取,更新和删除(在大多数情况下是数据库-RDBMS)。在使用C#时,必须使用ADO.NET来实现此目的。基本上,您的前端应用程序将使用ADO.NET插入,更新,删除和从数据库中选择数据。所以开始编写代码。阅读有关ADO.NET的文章,连接到数据库并开始执行它。如果您遇到任何问题,请提出有关特定错误的问题,这对您更有帮助。希望它有所帮助。
This is a very broad question. CRUD means Create, Read, Update and Delete with a datastore(in most cases a database-RDBMS). As you are using C#, you have to use ADO.NET to achieve this. Basically your front end application will use ADO.NET to insert, update, delete and select data from the database. So start writing code. Read an article on ADO.NET, connect to database and start doing it. If you face any issue, then raise a question on the particular error which would be more helpful for you. Hope it helps.


这篇关于我想在c#中使用可用表来编写CRUD函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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