Kukukuchu

Kukukuchu


  • Name: [not set]
  • Favorite Languages: [not set]
  • Website: [not set]
  • Location: [not set]
  • About Me: [not set]

Recent Comments

  • C# Tutorial - Binding a DataGridView to a Database
    09/16/2010 - 06:30

    It didn't, hence the question :)
    "Dynamic SQL generation is not supported against multiple base tables."
    The thing is, I don't even want to change the other table, just display the name column, so I don't need him to generate sql for multiple tables, just to refresh name column ih one changes foreign key..
    Is it possible to use several adapters, one for each table? DataSource property takes only one source, but maybe it is possible to combine several datagridviews, or something..? Any suggestion on what to try is welcome..
    I already tried to create two datagridviews, each with its source and adapter, and then combining its columns, but it is not allowed, at least not the way I tried it.. :\
    (edit: sorry for not hitting reply)

  • C# Tutorial - Binding a DataGridView to a Database
    09/15/2010 - 09:20

    Is it possible to bind, and change in database through a datagridview, joined tables?
    For example, table A has a foreign key to ID column of table B. But, while showing table A in DataGridView, I want to show B.Name, associated with that ID instead just that number which is useless to the user. That column would be read only, but I want to be able to change the rest of the DataGridView and update the changes to the database. Is it possible to do with adapters, command builder etc..?

  • C# Tutorial - Binding a DataGridView to a Collection
    09/15/2010 - 09:19

    Is it possible to bind, and change in database through a datagridview, joined tables?
    For example, table A has a foreign key to ID column of table B. But, while showing table A in DataGridView, I want to show B.Name, associated with that ID instead just that number which is useless to the user. That column would be read only, but I want to be able to change the rest of the DataGridView and update the changes to the database. Is it possible to do with adapters, command builder etc..?