空间不支持.net,但支持asp,上传至服务器运行不了,怎么办!各位大牛帮帮忙啊! 我做了一个.net(aspx)的网站,怎样把它快速的转化为asp的,空间服务商增加.net要收费吗?大约收多少钱!另外问一下,上传至服务器的数据库是什么,是哪个文件,望大牛们百忙之中予以解答!谢谢 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 快速的转化为asp的??有方法?差别太大了!!空间服务商增加.net要收费吗?问空间服务商很难吗? asp转asp.net还容易点,asp.net转asp就是重写了支持.NET的空间服务商很多,不过一般价格稍微贵一点如果是使用虚拟空间,最好使用access数据库, sql server数据库的价格往往比空间还贵 .net空间不是很贵。200多的都有。-----------------------------有问题请及时联系: asp转.NET,还说可以,如果说.NET转asp,麻烦很大,首先编程方式就完全不同。其次,编程所用的语言也不同。大麻烦。楼主就交多一点点钱吧,否则,所遇到的麻烦,比你想像中还多 还是弄个.net空间吧,又不会贵多少钱 如果是空间数据库支持的问题,那如果用 sqlserver就非常有必要换成access了,必境改动还是可以接受的而且sqlserver空间贵的有点离谱 using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;namespace Demo{ public partial class reg1 : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void p_submit_Click(object sender, EventArgs e) { string Name = ""; string sex = ""; string phone = ""; if (this.p_txtcode.Text.Trim().ToString() == Session["code"].ToString()) { if (this.p_names.Text.Trim().ToString() != "") Name = p_names.Text.Trim().ToString(); else { Page.ClientScript.RegisterStartupScript(this.GetType(), "", "<script>alert('姓名不能为空!')</script>"); return; } for (int i = 0; i < this.p_gender.Items.Count; i++) { if (p_gender.Items[i].Selected == true) { sex = p_gender.Items[i].Text; } } phone = this.p_mobile.Text.Trim().ToString(); if (BLL.RegisterBLL.Exists(Name)) { Page.ClientScript.RegisterStartupScript(this.GetType(), "", "<script>alert('用户名重名请重新输入用户名!')</script>"); return; } string Sql = "insert into Register(RName,RSex ,RPhone) values('" + Name + "','" + sex + "','" + phone + "')"; if (BLL.RegisterBLL.Register(Sql)) Page.ClientScript.RegisterStartupScript(this.GetType(), "", "<script>alert('提交成功!')</script>"); else Page.ClientScript.RegisterStartupScript(this.GetType(), "", "<script>alert('提交失败!')</script>"); } else { Page.ClientScript.RegisterStartupScript(this.GetType(), "", "<script>alert('验证码错误!')</script>"); } } }}为什么留言的内容在数据库里不显示????? using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;namespace Demo{ public partial class reg3 : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void g_submit_Click(object sender, EventArgs e) { string Name = ""; string phone = ""; string message = ""; if (this.g_txtcode.Text.Trim().ToString() == Session["code"].ToString()) { Name = this.name.Text.Trim().ToString(); phone = this.phone.Text.Trim().ToString(); string Sql = "insert into Register(RName,RPhone,message) values('" + Name + "','" + phone + "','" + message + "')"; if (BLL.RegisterBLL.Register(Sql)) Page.ClientScript.RegisterStartupScript(this.GetType(), "", "<script>alert('留言成功!')</script>"); else Page.ClientScript.RegisterStartupScript(this.GetType(), "", "<script>alert('留言失败!')</script>"); } else { Page.ClientScript.RegisterStartupScript(this.GetType(), "", "<script>alert('验证码错误!')</script>"); } } }}上面贴错了,应该是这个,为什么留言的内容在数据库中不显示???? 不用转化成asp吧,一般空间服务商对数据库有限制吧,至于是什么文件问题不大吧。还有你不能把源码传上去,得是你发布后的dll包和.aspx文件。 其实有很多方法可以实现,看你想用那种方式实现!还要看你上线打算是beta版还是正式版。如果用beta自己的电脑都可以满足 frameset空白 请高手赐教ASP问题 求助急System.NullReferenceException: 未将对象引用设置到对象的实例 ****高分求助!!我现在在.net环境中,在.aspx页面中加入了一个listbox,请问如何让它与数据库连接来显示一个表里的一列呢??谢谢!!SQL 第一次测试ASPX文件出错,大家帮帮忙看看!!!!! datagrid問題,請教高手 获取图片类型 Index.aspx页面js获取不到cookie 大家遇到没遇到这样的问题? 高分求救,请教一个问题?????????????(100分) 初学者遇到不会的了,请帮忙 刷新页面+1
有方法?差别太大了!!
空间服务商增加.net要收费吗?
问空间服务商很难吗?
-----------------------------有问题请及时联系:
如果是空间数据库支持的问题,那如果用 sqlserver就非常有必要换成access了,必境改动还是可以接受的
而且sqlserver空间贵的有点离谱
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;namespace Demo
{
public partial class reg1 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{ } protected void p_submit_Click(object sender, EventArgs e)
{
string Name = "";
string sex = "";
string phone = "";
if (this.p_txtcode.Text.Trim().ToString() == Session["code"].ToString())
{
if (this.p_names.Text.Trim().ToString() != "")
Name = p_names.Text.Trim().ToString();
else
{
Page.ClientScript.RegisterStartupScript(this.GetType(), "", "<script>alert('姓名不能为空!')</script>");
return;
}
for (int i = 0; i < this.p_gender.Items.Count; i++)
{
if (p_gender.Items[i].Selected == true)
{
sex = p_gender.Items[i].Text;
}
} phone = this.p_mobile.Text.Trim().ToString(); if (BLL.RegisterBLL.Exists(Name))
{
Page.ClientScript.RegisterStartupScript(this.GetType(), "", "<script>alert('用户名重名请重新输入用户名!')</script>");
return;
}
string Sql = "insert into Register(RName,RSex ,RPhone) values('" + Name + "','" + sex + "','" + phone + "')";
if (BLL.RegisterBLL.Register(Sql))
Page.ClientScript.RegisterStartupScript(this.GetType(), "", "<script>alert('提交成功!')</script>");
else
Page.ClientScript.RegisterStartupScript(this.GetType(), "", "<script>alert('提交失败!')</script>");
}
else
{
Page.ClientScript.RegisterStartupScript(this.GetType(), "", "<script>alert('验证码错误!')</script>");
}
}
}
}
为什么留言的内容在数据库里不显示?????
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;namespace Demo
{
public partial class reg3 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{ } protected void g_submit_Click(object sender, EventArgs e)
{
string Name = ""; string phone = "";
string message = "";
if (this.g_txtcode.Text.Trim().ToString() == Session["code"].ToString())
{
Name = this.name.Text.Trim().ToString();
phone = this.phone.Text.Trim().ToString(); string Sql = "insert into Register(RName,RPhone,message) values('" + Name + "','" + phone + "','" + message + "')";
if (BLL.RegisterBLL.Register(Sql))
Page.ClientScript.RegisterStartupScript(this.GetType(), "", "<script>alert('留言成功!')</script>");
else
Page.ClientScript.RegisterStartupScript(this.GetType(), "", "<script>alert('留言失败!')</script>");
}
else
{
Page.ClientScript.RegisterStartupScript(this.GetType(), "", "<script>alert('验证码错误!')</script>");
}
}
}
}上面贴错了,应该是这个,为什么留言的内容在数据库中不显示????