Click here to Skip to main content
15,891,810 members
Home / Discussions / C#
   

C#

 
Questionread file Pin
tek 200926-May-10 1:17
tek 200926-May-10 1:17 
AnswerRe: read file Pin
Richard MacCutchan26-May-10 1:54
mveRichard MacCutchan26-May-10 1:54 
GeneralRe: read file Pin
tek 200926-May-10 2:45
tek 200926-May-10 2:45 
GeneralRe: read file Pin
Richard MacCutchan26-May-10 4:22
mveRichard MacCutchan26-May-10 4:22 
GeneralRe: read file Pin
tek 200926-May-10 4:28
tek 200926-May-10 4:28 
GeneralRe: read file Pin
Richard MacCutchan26-May-10 6:33
mveRichard MacCutchan26-May-10 6:33 
QuestionDatagridview moves to first column when selecting row(s) Pin
andrehoyer26-May-10 0:54
andrehoyer26-May-10 0:54 
AnswerRe: Datagridview moves to first column when selecting row(s) Pin
Peace ON27-May-10 0:09
Peace ON27-May-10 0:09 
It is default behavior of datagridview control.
You cannot change it.

There are two tricks to avoid it.

1. You need to minimize the number of columns to display by hiding some of the columns.

C#
DataGridView1.Columns[2].Visible=False;



2. You can change the order of columns so that the columns that require to be visible
for selecting rows comes first so no need to scroll to right side of the grid.

HTH
Jinal Desai - LIVE
Experience is mother of sage....

QuestionMessage Removed Pin
26-May-10 0:30
MohammadAmiry26-May-10 0:30 
AnswerRe: How to serialize static members of a class? Pin
Dave Kreskowiak26-May-10 2:06
mveDave Kreskowiak26-May-10 2:06 
GeneralRe: How to serialize static members of a class? Pin
Henry Minute26-May-10 2:37
Henry Minute26-May-10 2:37 
GeneralRe: How to serialize static members of a class? Pin
MohammadAmiry26-May-10 3:07
MohammadAmiry26-May-10 3:07 
Questionmouse right click on a control in .net 2.0 Pin
prasadbuddhika26-May-10 0:14
prasadbuddhika26-May-10 0:14 
AnswerRe: mouse right click on a control in .net 2.0 Pin
Johnny J.26-May-10 0:16
professionalJohnny J.26-May-10 0:16 
AnswerRe: mouse right click on a control in .net 2.0 Pin
Abhinav S26-May-10 0:51
Abhinav S26-May-10 0:51 
QuestionDatagridview Split Pin
Rohit Kumar Mumbai26-May-10 0:08
Rohit Kumar Mumbai26-May-10 0:08 
AnswerRe: Datagridview Split Pin
Peace ON26-May-10 0:18
Peace ON26-May-10 0:18 
QuestionHow to merge my content with a existing word document. Pin
Exelioindia25-May-10 23:22
Exelioindia25-May-10 23:22 
AnswerRe: How to merge my content with a existing word document. Pin
Peace ON25-May-10 23:40
Peace ON25-May-10 23:40 
QuestionBest way to read a file?? Pin
Muammar©25-May-10 22:17
Muammar©25-May-10 22:17 
AnswerRe: Best way to read a file?? Pin
Richard MacCutchan25-May-10 22:55
mveRichard MacCutchan25-May-10 22:55 
GeneralRe: Best way to read a file?? Pin
Muammar©28-May-10 8:17
Muammar©28-May-10 8:17 
GeneralRe: Best way to read a file?? Pin
Richard MacCutchan28-May-10 22:05
mveRichard MacCutchan28-May-10 22:05 
QuestionLoad PDF inside the .Net Application Pin
Fakeer25-May-10 21:35
Fakeer25-May-10 21:35 
AnswerRe: Load PDF inside the .Net Application Pin
Mycroft Holmes25-May-10 22:43
professionalMycroft Holmes25-May-10 22:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.