"unbind" a datatable?

  • Thread starter Thread starter KC
  • Start date Start date
K

KC

I want to remove or "unbind" a Datatable from a datagrid. Would I say,

dt.Container.Dispose()

where dt is the DataTable?
 
No No.

If you set the datasource property for your bindings, u can just set it to
nothing

Me.DataGrid1.DataSource = Nothing



--

OHM ( Terry Burns )
. . . One-Handed-Man . . .

Time flies when you don't know what you're doing
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top