locked
How to add TextBox to a DataGrid RRS feed

  • Question

  • Hi

    I am using compactframework vs 2005

    I need to add a Textbox on a single column in the datagrid,so that user can enter values in that textbox. rest of the columns in the grid need not be edited.

     

    How can we add textbox into datagrid?

     

    Thanks

     

    Jacob


    Wednesday, June 29, 2011 8:29 AM

Answers

  • Hi Jacob,

     

    As far as I know, the Compact Framework Datagrid control does not support hosting other controls, nor would it allow creating ColumnStyles that have controls.

    Can We Put a Button in DataGrid?

     

    On the other hand, we can create many textbox controls and binding the data of them.

     

    Best regards,

    Jesse


    Jesse Jiang [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    • Proposed as answer by Jesse Jiang Tuesday, July 5, 2011 2:02 AM
    • Marked as answer by Jesse Jiang Wednesday, July 6, 2011 3:09 AM
    Friday, July 1, 2011 6:47 AM