good and cheap DBGrid for C#

hi,

can anyone recommend and good and cheap DBGrid for C# application. The most important for me is to assign an ID (e.g. Primary Key) for each row instead for adding it as a column but hide it which i feel it's stupid way...


Many Thanks,
Jassim Rahma




Answer this question

good and cheap DBGrid for C#

  • begginer666

  • kchan9999

    until now i am missing two important things..

    1. FullRowSelect property

    2. There is no Row ID concept when i add rows to the DataGrid, for example if i want to assign a row ID, let's say Primary Key for each row..

    Best Regards,

    Jassim Rahma



  • DkRDbA

    um which framework are you using

    toy I guess you found setting DataGridView "SelectionMode" to FullRowSelect

    as far as the primary key, I think you are looking at things backwards. Controls have nothing to do with the data the present. Manipulate the object that datasource is bound to. Take a look at CurrencyManager and BindingSource classes.

    forget everything you did in VBSUX . . . it was wrong.



  • ChrisDe

    Why don't you use a DataGrid or other existing control These are easy to use and well documented.

    Wish things do you miss with the existing controls


  • good and cheap DBGrid for C#