470,609 Members | 1,576 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

Datagrid not clearing

I have a problem with the datagrid not clearing when the datasource changes,
a few fields remain on the screen and even when new data would fill those
grid squares the old data remains.

I wind up with


Another field

and the rest of the grid is blank (as expected when no data exists in the

I have added explicitly clearing the data source and reatching the table,
refreshing before and after (I am up to this now and it still leaves a dirty

dgEmpHours.DataSource = Nothing
dtHours = TAF.LocalProcDB.DB.GetDataTable(strSQL)
dgEmpHours.DataSource = dtHours

Thank you for any help. (VS 2003, VB.NET)


Jul 21 '05 #1
0 1734

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Brad | last post: by
5 posts views Thread by John Richardson | last post: by
2 posts views Thread by enak | last post: by
reply views Thread by guy | last post: by
reply views Thread by Gary | last post: by
1 post views Thread by amber | last post: by
9 posts views Thread by mfahnestock | last post: by
2 posts views Thread by DaveP | last post: by
4 posts views Thread by gane | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.