使用IE6在page_Init之前出现vb .net网页错误 [英] vb .net web page error before page_Init with IE6

查看:45
本文介绍了使用IE6在page_Init之前出现vb .net网页错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到的问题是我在某些机器上的IE6中查看它时创建的网页问题。该页面有一个数据库查找。

用户输入一个帐户名或编号,然后单击一个查找按钮。

这会命中AS400数据库查找匹配项并返回一个数据集

用于填充数据网格。然后用户从列表中选择一个

条目,此条目用于填充页面上的几个

文本框和用户控件中的几个文本框

页面。该页面有另一个数据库查找。用户输入

产品名称或编号,然后单击查找按钮。这命中AS400

数据库查找匹配项并返回一个数据集,用于填充数据网格
。然后用户从列表中选择

中的一个条目,此条目用于填充

页面上的几个文本框和用户控件中的几个文本框。这页纸。

的问题是在某些计算机上的IE6上,该页面运行代码以查询数据库中的数据,创建数据集,将数据绑定到

a datagrid,然后IE6冻结,直到因为没有响应而不得不关闭。我已经输入了许多行来记录我所在的位置和我

在page.dispose方法完成后,IE冻结了,但在

之前,下一个page_init被调用。


有问题的电脑在XP Pro SP2上使用IE6。我在工作中使用IE6在

XP PRO SP2上,一切都很好。我也尝试了使用IE6,IE7,Firefox 1.x和2.0的其他计算机没有任何问题。

在某些机器上只有IE6。帐户查询的过程

和产品查找是相同的,除了不同的表格

和字段。


所以,我想知道的是,如果有什么事情发生在

我可以尝试拦截的dispose和page_init之间,或者如果有人

听说过这样的话。 />

如果您需要密码,请告诉我。


请帮助。感谢您阅读本文。


-Justin

解决方案

Bo ************* @ gmail.com 写道:
< blockquote class =post_quotes>
我在某些机器上的IE6中查看它时,我创建的网页遇到了问题。该页面有一个数据库查找。

用户输入一个帐户名或编号,然后单击一个查找按钮。

这会命中AS400数据库查找匹配项并返回一个数据集

用于填充数据网格。然后用户从列表中选择一个

条目,此条目用于填充页面上的几个

文本框和用户控件中的几个文本框

页面。该页面有另一个数据库查找。用户输入

产品名称或编号,然后单击查找按钮。这命中AS400

数据库查找匹配项并返回一个数据集,用于填充数据网格
。然后用户从列表中选择

中的一个条目,此条目用于填充

页面上的几个文本框和用户控件中的几个文本框。这页纸。

的问题是在某些计算机上的IE6上,该页面运行代码以查询数据库中的数据,创建数据集,将数据绑定到

a datagrid,然后IE6冻结,直到因为没有响应而不得不关闭。我已经输入了许多行来记录我所在的位置和我

在page.dispose方法完成后,IE冻结了,但在

之前,下一个page_init被调用。


有问题的电脑在XP Pro SP2上使用IE6。我在工作中使用IE6在

XP PRO SP2上,一切都很好。我也尝试了使用IE6,IE7,Firefox 1.x和2.0的其他计算机没有任何问题。

在某些机器上只有IE6。帐户查询的过程

和产品查找是相同的,除了不同的表格

和字段。


所以,我想知道的是,如果有什么事情发生在

我可以尝试拦截的dispose和page_init之间,或者如果有人

听说过这样的话。 />



不,我从来没有听说过这个。这就是为什么我从不使用数据集来做任何事情。我总是通过使用IList接口使用对象或集合

强类型对象来做所有事情,这样集合

就可以绑定到一个控件,即对象或对象从数据库源(如表)派生

,对象可以自行保留。


看来你的代码中还包含了所有代码文件,数据

访问等等,所有这些都是代码隐藏文件中的整个九码,

这是一个不可以。你在做吗?您是否将ASP.NET视为

它的ASP 3.0或更低,在代码隐藏文件和用户界面中完成数据访问和数据验证

直接

实例化数据访问?




IE6和IE7工作效果最好用VB6


dotnet是平庸无用的实验

对不起孩子


继续使用php等等;或者发一些球并要求从M



2月13日,1:59下午,先生。阿诺德" <"先生。 Arnold@Arnold.COMwrote:


BoogieWithSt ... @ gmail.com写道:


I我在一些机器上用IE6查看它时创建的网页遇到了问题。该页面有一个数据库查找。

用户输入一个帐户名或编号,然后单击一个查找按钮。

这会命中AS400数据库查找匹配项并返回一个数据集

用于填充数据网格。然后用户从列表中选择一个

条目,此条目用于填充页面上的几个

文本框和用户控件中的几个文本框

页面。该页面有另一个数据库查找。用户输入

产品名称或编号,然后单击查找按钮。这命中AS400

数据库查找匹配项并返回一个数据集,用于填充数据网格
。然后用户从列表中选择

中的一个条目,此条目用于填充

页面上的几个文本框和用户控件中的几个文本框。这页纸。

的问题是在某些计算机上的IE6上,该页面运行代码以查询数据库中的数据,创建数据集,将数据绑定到

a datagrid,然后IE6冻结,直到因为没有响应而不得不关闭。我已经输入了许多行来记录我所在的位置和我

在page.dispose方法完成后,IE冻结了,但在

之前,下一个page_init被调用。


有问题的计算机在XP Pro SP2上使用IE6。我在工作中使用IE6在

XP PRO SP2上,一切都很好。我也尝试了使用IE6,IE7,Firefox 1.x和2.0的其他计算机没有任何问题。

在某些机器上只有IE6。除了不同的表格

和字段之外,帐户查找的流程

和产品查找是相同的。


所以,我想知道是否有任何事情发生在

dispose和page_init之间我可以尝试截取或如果有人

听说过这样的话。



不,我从来没有听说过这个。这就是为什么我从不使用数据集来做任何事情。我总是通过使用IList接口使用对象或集合

强类型对象来做所有事情,这样集合

就可以绑定到一个控件,即对象或对象从数据库源(如表)派生

,对象可以自行保留。


看来你的代码中还包含了所有代码文件,数据

访问等等,所有这些都是代码隐藏文件中的整个九码,

这是一个不可以。你在做吗?您是否将ASP.NET视为

它的ASP 3.0或更低,在代码隐藏文件和用户界面中完成数据访问和数据验证

是直接

实例化数据访问? - 隐藏引用文本 -


- 显示引用文本 -



I am running into a problem with a web page I have created when
viewing it in IE6 on some machines. The page has a database lookup.
The user enters an account name or number and clicks a lookup button.
This hits an AS400 database looks for matches and returns a dataset
that is used to populate a datagrid. The user then selects one of the
entries from the list, this entry is used to populate a couple of
textboxes on the page and a couple of textboxes in a usercontrol on
the page. The page has another database lookup. The user enters an
productname or number and clicks a lookup button. This hits an AS400
database looks for matches and returns a dataset that is used to
populate a datagrid. The user then selects one of the entries from
the list, this entry is used to populate a couple of textboxes on the
page and a couple of textboxes in a usercontrol on the page. The
problem is that on IE6 on some computers, the page runs the code to
lookup the data in the database, creates a dataset, binds the data to
a datagrid, and then IE6 freezes until it has to be closed due to not
responding. I have put in many many lines to log where I am at and I
IE is freezing after the page.dispose method is finished, but before
the next page_init is called.

The computers in question are using IE6 on XP Pro SP2. I use IE6 on
XP PRO SP2 here at work and everything is fine. I have also tried on
other computers using IE6, IE7, Firefox 1.x and 2.0 with no problems.
It is only IE6 on some machines. The processes for the account lookup
and the product lookup are identical except for the different tables
and fields.

So, what I am wondering is if there is anything that happens between
the dispose and page_init that I could try to intercept or if anyone
has heard of anything like this.

If you need code, let me know.

Please help. Thanks for reading this.

-Justin

解决方案

Bo*************@gmail.com wrote:

I am running into a problem with a web page I have created when
viewing it in IE6 on some machines. The page has a database lookup.
The user enters an account name or number and clicks a lookup button.
This hits an AS400 database looks for matches and returns a dataset
that is used to populate a datagrid. The user then selects one of the
entries from the list, this entry is used to populate a couple of
textboxes on the page and a couple of textboxes in a usercontrol on
the page. The page has another database lookup. The user enters an
productname or number and clicks a lookup button. This hits an AS400
database looks for matches and returns a dataset that is used to
populate a datagrid. The user then selects one of the entries from
the list, this entry is used to populate a couple of textboxes on the
page and a couple of textboxes in a usercontrol on the page. The
problem is that on IE6 on some computers, the page runs the code to
lookup the data in the database, creates a dataset, binds the data to
a datagrid, and then IE6 freezes until it has to be closed due to not
responding. I have put in many many lines to log where I am at and I
IE is freezing after the page.dispose method is finished, but before
the next page_init is called.

The computers in question are using IE6 on XP Pro SP2. I use IE6 on
XP PRO SP2 here at work and everything is fine. I have also tried on
other computers using IE6, IE7, Firefox 1.x and 2.0 with no problems.
It is only IE6 on some machines. The processes for the account lookup
and the product lookup are identical except for the different tables
and fields.

So, what I am wondering is if there is anything that happens between
the dispose and page_init that I could try to intercept or if anyone
has heard of anything like this.

No, I have never heard of this. That''s why I never use datasets to do
anything. I always do everything by using an object or collection of
strong typed objects using the IList interface so that the collection
can be bound to a control, which the object or objects being derived
from a database source such as a table and the object can persist itself.

It also seems that you have all your code in the code behind file, data
access, etc, all of it the whole nine yards in the code behind file,
which is a no no too. Are you doing that? Are you treating ASP.NET like
it''s ASP 3.0 or lower, with data access and validation of data being
done in the code behind file and the user interface is directly
instantiating data access?




IE6 and IE7 work best with VB6

dotnet is a futile experiment in mediocrity
sorry kids

move on to php or something; or else grow some balls and demand a
complete solution from M




On Feb 13, 1:59 pm, "Mr. Arnold" <"Mr. Arnold"@Arnold.COMwrote:

BoogieWithSt...@gmail.com wrote:

I am running into a problem with a web page I have created when
viewing it in IE6 on some machines. The page has a database lookup.
The user enters an account name or number and clicks a lookup button.
This hits an AS400 database looks for matches and returns a dataset
that is used to populate a datagrid. The user then selects one of the
entries from the list, this entry is used to populate a couple of
textboxes on the page and a couple of textboxes in a usercontrol on
the page. The page has another database lookup. The user enters an
productname or number and clicks a lookup button. This hits an AS400
database looks for matches and returns a dataset that is used to
populate a datagrid. The user then selects one of the entries from
the list, this entry is used to populate a couple of textboxes on the
page and a couple of textboxes in a usercontrol on the page. The
problem is that on IE6 on some computers, the page runs the code to
lookup the data in the database, creates a dataset, binds the data to
a datagrid, and then IE6 freezes until it has to be closed due to not
responding. I have put in many many lines to log where I am at and I
IE is freezing after the page.dispose method is finished, but before
the next page_init is called.

The computers in question are using IE6 on XP Pro SP2. I use IE6 on
XP PRO SP2 here at work and everything is fine. I have also tried on
other computers using IE6, IE7, Firefox 1.x and 2.0 with no problems.
It is only IE6 on some machines. The processes for the account lookup
and the product lookup are identical except for the different tables
and fields.

So, what I am wondering is if there is anything that happens between
the dispose and page_init that I could try to intercept or if anyone
has heard of anything like this.


No, I have never heard of this. That''s why I never use datasets to do
anything. I always do everything by using an object or collection of
strong typed objects using the IList interface so that the collection
can be bound to a control, which the object or objects being derived
from a database source such as a table and the object can persist itself.

It also seems that you have all your code in the code behind file, data
access, etc, all of it the whole nine yards in the code behind file,
which is a no no too. Are you doing that? Are you treating ASP.NET like
it''s ASP 3.0 or lower, with data access and validation of data being
done in the code behind file and the user interface is directly
instantiating data access?- Hide quoted text -

- Show quoted text -



这篇关于使用IE6在page_Init之前出现vb .net网页错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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