Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 04-02-2009
Member
 
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.
Reply With Quote
  #2  
Old 04-02-2009
Member
 
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
Reply With Quote
  #3  
Old 04-02-2009
Member
 
Join Date: Jun 2008
Posts: 97
Re: Highligting a row in a DataGrid in C# (Sharp)

You can also refer this link for more details for the same!
http://www.codeproject.com/csharp/cu...&select=970880

and

http://www.codersource.net/asp_net_d...art1_azam.html
Reply With Quote
  #4  
Old 04-02-2009
Member
 
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.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Highligting a row in a DataGrid in C# (Sharp)"
Thread Thread Starter Forum Replies Last Post
Sharp 007SH Hybrid An 3D Clamshell Android Phone by Sharp jackalz Web News & Trends 3 22-05-2011 07:28 AM
How to print web datagrid in VB.NET spuff Windows Software 3 31-07-2009 11:33 AM
How to Export datagrid to pdf Integer Software Development 3 17-03-2009 07:58 PM
How can I get the row count from DataGrid? Shashikant Software Development 4 04-02-2009 11:47 PM
Add ComboBox in DataGrid in VB 6.0 Jateen Software Development 3 15-01-2009 06:31 PM


All times are GMT +5.5. The time now is 06:26 AM.