Set SelectedIndex dynamically from datagrid
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Set SelectedIndex dynamically from datagrid

  1. #1
    Join Date
    Apr 2009
    Posts
    12

    Set SelectedIndex dynamically from datagrid

    Is there a way to dynamically set the SelectedIndex="" from a datagrid tag? I want to set it based on the last modified record.

  2. #2
    Join Date
    Sep 2002
    Location
    14 39'19.65"N / 121 1'44.34"E
    Posts
    9,815

    Re: Set SelectedIndex dynamically from datagrid

    Yes, DataGrid has a SelectedIndex property that can be set. But what do you mean by "dynamically ... from a datagrid tag"?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center