Windows Develop Bookmark and Share   
 index > Windows Forms Data Controls and Databinding > LINQ refresh databings
 

LINQ refresh databings

I have a form that has a parent child relationship between 2 tables. A grid shows the info of the child table. If I add a new master record a trigger in SQLcreates a record(s)in the childtable. When this is done I would like to see blank record(s) in the grid. The grid shows nothing since when I loaded the form the child record did not exist. Can I update/refresh my databinding to get new record to display?
Break40  Friday, August 07, 2009 12:57 AM
Hi Break40,

Did you add master record in your application? After you add it, why not requery the child table data again and load it to the DataGridView?

Sincerely,
Kira Qian
Please mark the replies as answers if they help and unmark if they don't.
Kira Qian  Monday, August 10, 2009 6:22 AM
We are changing the issue type to “General Discussion�because you have not followed up with the necessary information. If you have more time to look at the issue and provide more information, please feel free to change the issue type back to “Question�by opening the Options list at the top of the post editor window, and changing the type. If the issue is resolved, we will appreciate it if you can share the solution so that the answer can be found and used by other community members having similar questions.
Please mark the replies as answers if they help and unmark if they don't.
Kira Qian  Thursday, August 13, 2009 7:07 AM

You can use google to search for other answers

Custom Search

More Threads

• how to update connection string???
• Detecting if DB resources exist
• A bug? Nobody answers this kind of question, MS Fellows?
• customize the background colour in cf.net for datagrid?
• Grid DataBinding Problem
• Datagrid begin edit problem (bug)?
• Is it ok to make a LAN chatroom using...
• Its been 2 weeks still need help!! double sort on a datagridview
• Pop up calender
• Newbie question on DataGridView binding