Results 1 to 4 of 4

Thread: Highligting a row in a DataGrid in C# (Sharp)

  1. #1
    Join Date
    Jan 2009
    Posts
    44

    Highligting a row in a DataGrid in C# (Sharp)

    Hi,
    I want to know how can I do the following In C#(Sharp)

    In VB 6 For DataGrid property we have Split\Margue Style = dbgHighlightRow.
    ie. Row was highlighted and cell was not active.

    I am finding the same property in C# to give the same result for DataGrid.

  2. #2
    Join Date
    May 2008
    Posts
    72

    Re: Highligting a row in a DataGrid in C# (Sharp)

    Here is your answer:

    George Shepherd's Windows Forms FAQ

    How can I make my grid never have an active edit cell and always select
    whole rows (as in a browser-type grid)?

    Check it out at:
    http://www.syncfusion.com/faq/winforms/search/856.asp

  3. #3
    Join Date
    Jun 2008
    Posts
    97

    Re: Highligting a row in a DataGrid in C# (Sharp)


  4. #4
    Join Date
    May 2008
    Posts
    63

    Re: Highligting a row in a DataGrid in C# (Sharp)

    if you are trying to find an specific record on a data table the easiest way (for me) is to filter the table or dataview with the specified criteria. If you want the datagrid to show the rows (records) all the time then create a copy of the datatable or the dataview the datagrid is using as datasource or just freeze the screen while filtering; after that, just look for the record number and select the correct row in the datagrid.

Similar Threads

  1. Sharp 007SH Hybrid An 3D Clamshell Android Phone by Sharp
    By jackalz in forum Web News & Trends
    Replies: 3
    Last Post: 22-05-2011, 07:28 AM
  2. How to print web datagrid in VB.NET
    By spuff in forum Windows Software
    Replies: 3
    Last Post: 31-07-2009, 11:33 AM
  3. How to Export datagrid to pdf
    By Integer in forum Software Development
    Replies: 3
    Last Post: 17-03-2009, 07:58 PM
  4. How can I get the row count from DataGrid?
    By Shashikant in forum Software Development
    Replies: 4
    Last Post: 04-02-2009, 11:47 PM
  5. Add ComboBox in DataGrid in VB 6.0
    By Jateen in forum Software Development
    Replies: 3
    Last Post: 15-01-2009, 06:31 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,989,605.14023 seconds with 16 queries