我如何在asp.net中使用sql数据库启动我的网站 [英] How do i launch my website which made in asp.net with database of sql

查看:128
本文介绍了我如何在asp.net中使用sql数据库启动我的网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的问题是我不知道如何启动网站或者如果我有域名

那么我怎样才能将我的asp.net网站设置为此。

另一个问题是我在sql中创建了我的数据库。我必须在那里设置该数据库。

在线或在我的电脑上?



请帮助我



我尝试了什么:



i在线搜索如何启动网站以及如何使用数据库但是我无法获得信息。

my problem is this i don't know how to launch a website or if i have a domain name
then how can i set my asp.net website to this.
Another problem is i made my database in sql. where i have to set that database.
online or on my pc?

Please help me

What I have tried:

i search online that how to launch the website and how to use database but i cant get the information prorperly.

推荐答案

你需要从托管服务开始,可能 - 这是最简单的方法。

有免费的但它们往往相当无用:数据库太小,带宽低或可靠性差。有时全部三个!

有大量的付费托管服务,所以使用谷歌并用你的母语找到一个 - 当你遇到问题时它真的有帮助 - 它支持你想要的数据库( MySql和MSSQL并不完全相同),大多数(如果不是全部)都提供免费域名,并会为您注册。

那么你所要做的就是将你的网站发布到域(他们会告诉你如何做)并使用他们将给你的详细信息将其连接到他们的数据库服务器。创建你的数据库,加载数据,然后离开!



听起来很复杂?它不是,不是真的 - 而且当然比尝试注册域名,设置自己的网络服务器和数据库要复杂得多!
You need to start with a hosting service, probably - it's the easiest way.
There are free ones, but they tend to be pretty useless: far too small a DB, low bandwidth, or poor reliability. Sometimes all three!
There are a large number of pay-for hosting services, so use Google and find one in your native language - it really helps when you have problems - that supports the DB you want (MySql and MSSQL are not quite the same), and most (if not all) provide a free domain name, and will register it for you.
Then all you have to do is publish your site to the domain (they will tell you how to do that) and connect it to their Database server using the details they will give you. Create your DB, load the data, and off you go!

Sounds complicated? It isn't, not really - and certainly a lot less complicated than trying to register the domain, and set up your own webserver and DB!


这篇关于我如何在asp.net中使用sql数据库启动我的网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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