?
Solved

Unbinding a datagrid (vs2003 winform)?

Posted on 2006-06-29
3
Medium Priority
?
472 Views
Last Modified: 2012-06-21
Hi there,

Does anybody know if its possible and how to Unbind a datagrid..

Hence if i currently have my datagrid  binded like so ...

uxmyDataGrid.SetDataBinding(myDataSet, "Record");

If there a way to unbind it, hence to clear it.....

Thanks in advacne

Ian
0
Comment
Question by:ianinspain
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
t_itanium earned 2000 total points
ID: 17008992
dataGrid.DataSource=null;
0
 

Author Comment

by:ianinspain
ID: 17010593
thanks

0
 
LVL 5

Expert Comment

by:t_itanium
ID: 17011433
welcome .. ;)
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

741 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question