The parent Datagridview is a listing of Users and the child Datagridview is a listing of user transactions. It's not a really a matter of refreshing the Binding Source, but rather refreshing the Data Table whose data is exposed by that Binding Source. Stored Procedure ds Parent = New Data Set dt Parent = New Data Table("Parent") da Parent. Fill(dt Parent) End Using Return dt Parent End Function Private Function Get Child Table() As Data Table Using con As Sql Connection = New Sql Connection(CS) da Child = New Sql Data Adapter("NET_tbl Pos_Official Receipt_Select All", con) da Child. Question: I will have a refresh button that will refresh the child Datagridview to see if there where transactions added to a user. The Binding Source contains no data of it's own; it simply provides access to data contained in another list for the purposes of binding. Columns("User ID")) Return data End Function Private Function Get Parent Table() As Data Table Using con As Sql Connection = New Sql Connection(CS) da Parent = New Sql Data Adapter("NET_tbl Pos_Users_is Disabled", con) da Parent.
It gives you number of properties, methods and events to customize its appearance and behavior.Data Grid View control is a Windows Forms control that gives you the ability to customize and edit tabular data.In this short snippet, we will populate a Data Grid View using the Load Data() method.In this article, we will discuss some frequently asked questions and their solutions.These questions have been collected from a variety of sources including some newsgroups, MSDN site and a few, answered by me at the MSDN forums. Net Question Answer site, specially started to allow visitors of this site ask their doubts and queries. Just click the Ask Now button and ask your question now.