注册 登录
编程论坛 ASP.NET技术论坛

用VWD的登陆框做身份验证出现问题,55555怎么办

ZHANGLIANMOMO 发布于 2008-05-08 12:45, 909 次点击
我用vwd在登陆页面上拖一个登录框的控件如图1,然后点击上面的小箭头选择ADMINISTER WEBSITE,进入第一个向导如图2,点击SECURITY进入向导2,就出现无法连接的字样如图3,我在database esplorer里面已经将自己的数据库连接了啊,为什么还会这样呢,是不是要在站点的APP-DATA的文件夹里面把自己的数据库放进去啊,麻烦大家指点一下
4 回复
#2
hebingbing2008-05-08 20:37
这个控件没有这样用过……
#3
ZHANGLIANMOMO2008-05-14 12:40
哪想把第一个页面的ID为txt工号文本框内的内容在default页面文本框ID是专家工号内显示是不是要这么写啊 Response.Redirect("Default.aspx" 专家工号="+txt工号.Text.Trim());
#4
hebingbing2008-05-14 12:52
Response.Redirect("Default.aspx? 专家工号="+txt工号.Text.Trim()");
建议少用中文,若要用中文则应该用urlencode()加码,urldecode()解码
若是本地的文件我喜好用Server.Transfer
#5
ZHANGLIANMOMO2008-05-14 13:35
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0131: The left-hand side of an assignment must be a variable, property or indexer

Source Error:

 

Line 17:     protected void Button2_Click(object sender, EventArgs e)
Line 18:     {
Line 19:       Response.Redirect("Default.aspx? num"="+txtnum.Text.Trim()");
Line 20:  
Line 21:
 
我把ID改了英文的了为什么还有错啊
1