Solved

Unbinding a datagrid (vs2003 winform)?

Posted on 2006-06-29
3
461 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
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
t_itanium earned 500 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

830 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