Solved

Unbinding a datagrid (vs2003 winform)?

Posted on 2006-06-29
3
450 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
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!
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

706 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now