连接到SQL Server数据库C#-WinForms [英] Connecting to SQL Server Database C#-WinForms
问题描述
我有一个桌面应用程序,我在做,我想用户需要登录后才程序可以用来最大程度地。我建立了www.winhost.com(在我的网站的托管)的数据库,但现在我不知道该怎么办。我一直对谷歌和MSDN,我想知道如何以编程方式添加新行/ colums这个新的数据库,它目前是空的。我怎么可以更新新的帐户信息数据库/从它那里得到的信息。
I have a desktop app that I'm making and I want users to have to login before the program can be used to its fullest extent. I have created a database on www.winhost.com (where my site's hosted), but now I don't know what to do. I've been on google and msdn and I would like to know how to programmatically add new rows/colums to this new database which is currently empty. And how I can update the database with new account info/get information from it.
我不期待code或任何东西,只是也许几个不错的简单教程什么的,因为我还没有找到我要找的可是...
I'm not expecting code or anything, just maybe a few good simple tutorials or something, since I haven't found what I'm looking for yet...
推荐答案
下面是一个初学者指南,使用C#访问SQL Server的: <一href="http://www.$c$cproject.com/KB/database/sql_in_csharp.aspx">http://www.$c$cproject.com/KB/database/sql_in_csharp.aspx
Here is a beginners guide to accessing SQL Server using C#: http://www.codeproject.com/KB/database/sql_in_csharp.aspx
希望它可以帮助:)
这篇关于连接到SQL Server数据库C#-WinForms的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!