Windows Develop Bookmark and Share   
 index > Windows Forms Designer > Extending BindingSource
 

Extending BindingSource

Hi,

I am developing Parent, child, Grand Child detaentry form. I have to create bindingsouce, dataadapter,datatbale for each table. Instead of that can we inherit bindingsource class with adding dataAdapter, Datatable, Connection Properties and Update and Fill Method to it.

So that I can use three components only. I will write all the coordination between dataadapter, datatable and connect inside the class only.


If I do like aove will it create any problems?

Please reply me
bolisetti_Sridhar  Tuesday, February 10, 2009 7:00 AM

Hi bolisetti_Sridhar,

I am not sure what you want to achieve. However, you can take advantage of the designer which will serialize code for each table. So you even don't need to write any code, The designer will generate those components for you.

Best regards,
Bruce Zhou


Please mark the replies as answers if they help and unmark if they don't.
Bruce.Zhou  Wednesday, February 11, 2009 8:37 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.
Bruce.Zhou  Monday, February 16, 2009 1:49 AM

You can use google to search for other answers

Custom Search

More Threads

• Problem with DataGridView CustomControl
• Control Similar to IE Address Bar
• Getting more information about a serial port in C#
• TableLayoutPanel fill problem
• ListView SelectedIndexChanged fired more than once
• Weird artifact in Designer
• Unable to move controls in a custom form designer
• IObjectSafety
• Network Browser Control Like Explorer
• TextBox classes do not have thie method: set_AutoSize(true)