asp.net 2.0 beta 2问题 [英] asp.net 2.0 beta 2 problems

查看:81
本文介绍了asp.net 2.0 beta 2问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

1)

有人宣布,beta 2中的会员资格,个人资料等的默认提供商将是SQLExpress,而不是Beta 1 AccessProvider,而

AccessProvider将停止使用。


我正在尝试在asp.net 2.0 beta 2中做一些简单的应用程序,但是

AccessProvider仍然活着,问题是我无法工作

带有SQL数据库的SQL提供程序,AccessDatabase自动创建并关联为
与供应商合作。


2)

asp.net 2.0 Beta 2中GridView的ImageField发生了什么。

在测试版1中,您可以将图像字段绑定到数据库,但现在属性

此标记的DataField不再可用。


3)在有一个Maste定义一些占位符的页面...

你不能从一个内容引用另一个内容的控件?

例如一个sqldatasource和一个gridView在另一个。

或一个组合,一个sqldatasource控制依赖,这个控制

在另一个。


任何人知道这些问题吗?


提前感谢任何建议

解决方案

re:< blockquote class =post_quotes> SQL提供者


参见 http://beta.asp.net/guidedtour2/s27.aspx


您必须运行ASP.NET SQL Server安装向导

(aspnet_regsql.exe)和*然后*使用WSAT设置

SQL Server提供程序。


查找aspnet_regsql.exe .Net Framework目录。


Juan T. Llibre

ASP.NET MVP
http://asp.net.do/foros/

Foros de ASP.NET en Espa?ol

Ven,y hablemos de ASP.NET ......

======================


" Marcos B" < Marcos B@discussions.microsoft.com >在消息中写道

新闻:E0 ********************************** @ microsof t.com ... 1)
已经宣布beta 2中的会员资格,个人资料等的默认提供商将是SQLExpress而不是Beta 1 AccessProvider,而且
AccessProvider将会停止使用。

我正在尝试在asp.net 2.0 beta 2中做一些简单的应用程序,但是
AccessProvider还活着,问题就是我无法制作使用SQL数据库的SQL提供程序,自动创建AccessDatabase并与提供程序关联。



> 1)

已宣布beta 2中的会员资格,
个人资料等的默认提供商将是SQLExpress而不是Beta 1 AccessProvider,

AccessProvider将停止使用。
我正在尝试在asp.net 2.0 beta 2中做一些简单的应用程序,但是
AccessProvider还活着,问题就在于我无法使用SQL数据库工作SQL提供程序,自动创建AccessDatabase并与提供程序关联。




代码AccessProvider将在某些时候作为

样本提供,但不受微软支持。


-Brock

DevelopMentor
http://staff.develop.com/ballen



感谢您花时间回答。


我已经使用过aspnet_regsq l命令,我有sql数据库

创建并运行。

问题是asp.net继续保持信息使用

AccessDataBase,但WSAT将SQLProvider显示为已配置的

提供程序,对Membership.Provider.Name的编程查询显示

AspNetSqlMembershipProvider。


还有其他任何建议吗?

对其他两项有何看法?


1)
There was announced that the default providers for membership, profile, etc
in beta 2 would be SQLExpress instead of the Beta 1 AccessProvider, and that
AccessProvider will be discontinued.

I''m trying to do some simple apps in asp.net 2.0 beta 2, but the
AccessProvider is still alive and the problem it''s that I cannot make work
the SQL provider with an SQL database, the AccessDatabase is automatically
created and associated as with the providers.

2)
What happened with the ImageField of the GridView in asp.net 2.0 Beta 2.
In beta 1 you can bound an image field to a database, but now the property
DataField of this tag is not more available.

3) In a page that has a Maste defining some placeholders...
You cannot reference a control from one content from another?
For example a sqldatasource in one and a gridView in another.
Or a combo in one, and a sqldatasource controldependency which this control
in the other.

Anyone knows something about any of these issues?

Thanks in advance for any suggestions

解决方案

re:

SQL provider
See http://beta.asp.net/guidedtour2/s27.aspx

You have to run the ASP.NET SQL Server Setup Wizard
(aspnet_regsql.exe) and *then* use WSAT to setup
the SQL Server Provider.

Look for aspnet_regsql.exe in the .Net Framework directory.

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Espa?ol
Ven, y hablemos de ASP.NET...
======================

"Marcos B" <Marcos B@discussions.microsoft.com> wrote in message
news:E0**********************************@microsof t.com... 1)
There was announced that the default providers for membership, profile, etc
in beta 2 would be SQLExpress instead of the Beta 1 AccessProvider, and that
AccessProvider will be discontinued.

I''m trying to do some simple apps in asp.net 2.0 beta 2, but the
AccessProvider is still alive and the problem it''s that I cannot make work
the SQL provider with an SQL database, the AccessDatabase is automatically
created and associated as with the providers.



> 1)

There was announced that the default providers for membership,
profile, etc
in beta 2 would be SQLExpress instead of the Beta 1 AccessProvider,
and that
AccessProvider will be discontinued.
I''m trying to do some simple apps in asp.net 2.0 beta 2, but the
AccessProvider is still alive and the problem it''s that I cannot make
work the SQL provider with an SQL database, the AccessDatabase is
automatically created and associated as with the providers.



The code for the AccessProvider will be made available at some point as a
sample but not supported by Microsoft.

-Brock
DevelopMentor
http://staff.develop.com/ballen



Thanks for taking the time to answer.

I already used the aspnet_regsql command, and I have the sql database
created and running.
The problem is that asp.net continues to persist the info using an
AccessDataBase, but the WSAT shows the SQLProvider as the configured
provider, and a programmatic query to the Membership.Provider.Name shows
"AspNetSqlMembershipProvider".

Any other suggestion?
Any idea of the other two items?


这篇关于asp.net 2.0 beta 2问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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