Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 677063
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T00:59:51+00:00 2026-05-14T00:59:51+00:00

Recently I use data binding to speed up my development of C# winforms application.

  • 0

Recently I use data binding to speed up my development of C# winforms application. But I found that data binding is just useful when the control is Textbox or textare and text kind of controls. If things come to be radio button, image control or datagridview, it’s hard for me to use data binding.
For example, it’s hard for me to bind a group of radio button to a database field.
It’s hard for me to pre-process the data in database and then bind to datagridview control(I know I can use view to do this, but it is not that convenient)
(another example: the vale in database is 1 and 0, I need to convert to female and male before binding datagridview)

So I really want to know, most of you guys when will use data binding? And how will you use it ?

EDIT:
I know I can separate these things into different layers, but I do want to take advantage of the data binding, but while I use it, I found it is not that convenient, is there any other suffer from this ?

EDIT:
but as far as i know the data binding is just like hardcode, it bind the control direct to the database field, and it’s hard to make changes upon these user interface afterwards

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T00:59:52+00:00Added an answer on May 14, 2026 at 12:59 am

    You should check out the Model-View-ViewModel style of development. In a very simple sense the ViewModel is a mapping to and from the Model (data from your database) and the View (your UI). The ViewModel should be almost purely data bound to the UI. Your business logic occurs here and it should be very testable.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've recently inherited an application that makes very heavy use of session, including storing
I recently found out that PHP not only has the fsock* functions, but also
I've recently been using data binding in c#, and while the way I am
I tried recently to use NAnt (beta 0.86.2962.0) to run some unit tests compiled
Recently saw someone commending another user on their use of sizeof var instead of
I use an sql server regularly and have recently been getting frustrated by the
We recently had a new requirement to use the phonon component of Qt, which
I recently began using BIRT and have developed a report to use with my
Ive recently been asked to recommend a .NET framework version to use in a
We use BigIP to load balance between our two IIS servers. We recently deployed

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.