TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
ultra2
NA
9
0
Question about the DataConnector (BindingSource) component
Apr 29 2005 7:53 AM
Hi! I've just read about DataConnector (BindingSource) component. My little qusetion is:): I want to create ONE dataset in the whole application on the MainForm(not on all the forms!) and all the other form's data-aware components use that one. Ok I know I can set comps' datasources to the MainForm's DataSet in run-time... But I also want to retrieve the structure information from the DataSet to create colums in the grids IN DESIGN TIME, without to create any DataSet instance on the grid's form! -Does the Dataconnector (or BindingSource) component make it possible? ----------------------------------------------------------------------------- More clearly, for example, let's suppose: I have a grid and a DataConnector on the form1. The grid's datasource is set to the DataConnector. I have a DataSet class named DataSet1. I have a DataSet1 instance on the MainForm. It's name DataSet11. -Can I set the DataSet1 class to the DataConnector? -Can I create the colums in the grid according to the DataSet of the DataConnector IN DESIGN TIME, WITHOUT create any instance from the DataSet1 class? -Can the grid(on form1) use the Dataset11 object(on MainForm) through the DataConnector IN RUNTIME? ----------------------------------------------------------------------------- please help
Reply
Answers (
0
)
Anyway to restore .resx file in c#/.NET
matching controls on a windows form with shortcut keys on the keyboard