在c#.net中使用SQL本地数据库 [英] Using SQL local dataBase in c#.net

查看:68
本文介绍了在c#.net中使用SQL本地数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


如何使用SQL本地数据库保存和搜索图像以及如何为其编写insert,update,select命令
需要示例请

Hi
How to use SQL local database to save and search images and how to write insert,update,select command for it
need example please

推荐答案

使用google这是一个很好的工具.

一个简单的搜索结果: http://www.daniweb.com/software -development/csharp/code/303280/sql-insertupdateselectdelete-using-c [
Use google it is a great tool.

A simple search result : http://www.daniweb.com/software-development/csharp/code/303280/sql-insertupdateselectdelete-using-c[^]


您可以在Google中仅使用关键字 C#CRUD .对于图像保存和检索操作检查此答案如何保存和检索使用Asp.net的数据库中的图像 [
You could find many examples in google using just the keywords C# CRUD. For Image save & retrieve operation check this answer How to save and retrieve Image in Database using Asp.net[^]




您要问的是一种项目.它可以扩展到非常大的项目,但让我给您一些您应该学习的知识.

1)创建 StoredProcedure 并在您的应用程序中使用它.
2)了解.NET Framework中的文件处理
3)学习 N层/3层体系结构(如何分隔业务/数据库逻辑.)
4)您也可以使用
SQLHelper [ C#果壳 [ ^ ])

祝你好运
谢谢
-Amit Gajjar
Hi,

What you are asking is a kind of project. It can be expanded to very big project but let me give you some point that you should learn.

1) Creating StoredProcedure and use it in your application.
2) Learn about File Handling in .NET Framework
3) Learn N-Tier/3-Tier Architecture (How you can separate your Business/Database logic.)
4) You can also use SQLHelper[^] class to interact with Database.
5) And ofcourse C# Concepts (Refer : C# Nutshell[^])

Best of luck
Thanks
-Amit Gajjar


这篇关于在c#.net中使用SQL本地数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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