English 中文(简体)
Gridview within UpdatePanelurs
原标题:Gridview inside UpdatePanel refresh

我用“GridView”来代表我行的一张表格中的数据。

GridView有一些模板领域,其内容在显示Grid之前确定(我利用罗达塔·博恩活动在显示格里德意见之前确定模板领域的内容)。

网页上载有表格记录的记录清单,然后记录程序开始。 这一进程结束后,应更新模板领域。

在进程完成后,我如何自动恢复GredView? 应当指出,GridView是控制范围之内的,我不断利用每60秒在服务器级安装“GridView1.DataBind()”的超时控制对服务器进行污染。

由于GredView位于更新小组内,因此,使用Bind()数据方法似乎没有称呼罗DataBound事件。

我如何解决这一问题?

问题回答

是的,这足以指GridView1.Data Bind() 在使用时间控制的特定时间间隔期,但在使用数据比(Bnd)方法之前,您是否为格迪格(Grudview)指定了最新数据来源? 例; 当页数上载时,请使用一个名为“EmployeeDS”的数据集,绘制电网格。 在经过一些更新之后,你需要更新以下地方数据集,然后将数据比(Bnd)方法称作电网。

GridView1.DataSource = EmployeeDS.Table[0];
GridView1.DataBind();




相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签