1

I want to know how to create controls in Winforms using Datasource.I mean whatever fields in table that should be created as control in Form . I have seen that by drag and drop those fileds it create control .How its working like that?

2 Answers 2

1

The behavior that you mention can be done using he Data Source Window in Visual Studio. The following MSDN titled Data Sources Window will take you through all the steps needed to do what you want from connecting to a database to setting what controls show when you drag the data source onto the form.

Sign up to request clarification or add additional context in comments.

Comments

0

You can use a sourcecodegenerator like mygeneration plus a generator template for winforms.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.