By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,967 Members | 1,329 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,967 IT Pros & Developers. It's quick & easy.

Datagrid not clearing

P: n/a
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
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.