Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Default select of datagridview C#

Posted on 2009-04-14
1
Medium Priority
?
708 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 1000 total points
ID: 24136617
After binding datasouce to DataGridView
do something like:
dataGridView1.ClearSelection();
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…

782 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