How do I get the rowid of an entity whose List<> has been bound to a VSTO ListObject in the ListObject Change or SelectionChange event handler RRS feed

  • Question

  • for eg I binded my entity using something like below

    List <Emp> emps = GetEmployees();
    this.fullDetailsList.SetDataBinding(emps, null, GetColumnNames()))

    In the ListObject's SelectionChange or Change event handler, is it possible to get the EmpId of the entity. in the change event handler, we just have access to the target range so not sure how we can do this.

    Friday, February 22, 2013 11:10 PM

All replies

  • Hi Vikrantbhosale15,

    Thank you for posting in the MSDN Forum.

    Your information is not clear enough. Could you please tell me what kind of project you are working on? Your definition for GetEmployees() and GetColumnNames()?

    I look forward to your reply.

    Best regards,

    Quist Zhang [MSFT]
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Tuesday, February 26, 2013 9:03 AM