Link to home
Create AccountLog in
Avatar of lapucca
lapucca

asked on

How do I refresh a gridview control?

Hi, I'm using asp.net 3.5, C#
On this page, top half is for creating a new account and the bottom half of the page list the current accounts in the gridview control.  When user clicks the Create button and an account is created via C# code in the back.  How can I refresh the gridview so it would reflect the new account just created?  The gridview has a SqlDataSource control as the datasource.  Thank you.
ASKER CERTIFIED SOLUTION
Avatar of Paul Jackson
Paul Jackson
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of lapucca
lapucca

ASKER

yeah, right.  thank you,