468,784 Members | 1,536 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,784 developers. It's quick & easy.

How to update datagrid after update

Hi,
I've got a simple web(asp.net) form that adds a record to the database. That
works fine, but I also would like to have the datagrid refreshed with the new
record. What is the best way to handle this. I have a sqlDatasource as the
datasource for the grid. Thanks for any info.
Michael

Mar 17 '06 #1
1 1061
DataGrid1.DataBind(); ?

"Michael" <Mi*****@discussions.microsoft.com> wrote in message
news:F7**********************************@microsof t.com...
Hi,
I've got a simple web(asp.net) form that adds a record to the database.
That
works fine, but I also would like to have the datagrid refreshed with the
new
record. What is the best way to handle this. I have a sqlDatasource as the
datasource for the grid. Thanks for any info.
Michael

Mar 17 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Manish | last post: by
3 posts views Thread by D. Shane Fowlkes | last post: by
25 posts views Thread by Neo Geshel | last post: by
4 posts views Thread by Jonathan Upright | last post: by
5 posts views Thread by Stephen Plotnick | last post: by
1 post views Thread by Sharon | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.