Solved

Default select of datagridview C#

Posted on 2009-04-14
1
702 Views
Last Modified: 2013-12-17
Hi,
I have set the SelectionMode of my datagridview to FullRow.
I notice when i run the application the datagirdview automatically highlight the first row.
Is there a way to disable this?As i want the suer to select the initial row.

Thanks in advance for the help offered.
0
Comment
Question by:csharp_learner
1 Comment
 
LVL 9

Accepted Solution

by:
Sreedhar Vengala earned 250 total points
ID: 24136617
After binding datasouce to DataGridView
do something like:
dataGridView1.ClearSelection();
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Groupbox Control ? 2 27
C# class library debugging - Breakpoint will not hit. 8 30
itextsharp with c# 3 18
VB.net Filesystem watcher not working 5 31
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question