在表中插入新行后,网格刷新. [英] Grid Refresh after a new row is inserted into the table.

查看:78
本文介绍了在表中插入新行后,网格刷新.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我有两页,一个是故障单,另一个是createticket.

每当我创建票证而没有任何单击时,ticketsit网格都应更新.

请帮助我实现这一目标.

Hi ,

I have two pages one ticketlist and another one is createticket .

Whenever i create a ticket without any click the ticketlsit grid should update .

please help me to achieve this.

推荐答案

您可以设置计时器以刷新gridview

或者您在更新后绑定gridview

公共无效的bindgrid()
{
grid1.datasource = ds;
grid1.databind();
}

在更新后调用此函数.......
you can set timer to refresh gridview

or u bind gridview after updating

public void bindgrid()
{
grid1.datasource=ds;
grid1.databind();
}

call this function after updating.......


这篇关于在表中插入新行后,网格刷新.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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