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

C#

 
GeneralRe: Display numerical value in DataGrid Pin
zaboboa19-Sep-05 2:32
zaboboa19-Sep-05 2:32 
GeneralRe: Display numerical value in DataGrid Pin
miah alom19-Sep-05 3:54
miah alom19-Sep-05 3:54 
GeneralRe: Display numerical value in DataGrid Pin
zaboboa19-Sep-05 4:05
zaboboa19-Sep-05 4:05 
GeneralRe: Display numerical value in DataGrid Pin
miah alom19-Sep-05 4:27
miah alom19-Sep-05 4:27 
GeneralRe: Display numerical value in DataGrid Pin
zaboboa19-Sep-05 5:14
zaboboa19-Sep-05 5:14 
GeneralRe: Display numerical value in DataGrid Pin
zaboboa19-Sep-05 5:31
zaboboa19-Sep-05 5:31 
GeneralRe: Display numerical value in DataGrid Pin
miah alom19-Sep-05 8:00
miah alom19-Sep-05 8:00 
QuestionSeeking advice on proper control to use: Datagrid, listview, other? Pin
Glenn E. Lanier II16-Sep-05 7:55
Glenn E. Lanier II16-Sep-05 7:55 
I want to display a "table" of data on the screen. This "table" may contain 2000+ entries. I want to sort the columns, highlight an entire row, programmatically select entries, and be able to determine which row (or at least the key column) that was clicked.

I can do all of this using a ListView, but it is slow to display when I loop through all record from the database and add to the ListView. When I use a DataGrid, it is much faster loading, but I can't determine how to change the column headers or more importantly, how to determine when a record is clicked and/or which record is selected.

Can someone provide a pointer or two, or tell me I'm approaching this from the wrong angle?

Thanks,
Glenn Confused | :confused:
AnswerRe: Seeking advice on proper control to use: Datagrid, listview, other? Pin
Turtle Hand16-Sep-05 9:25
Turtle Hand16-Sep-05 9:25 
GeneralRe: Seeking advice on proper control to use: Datagrid, listview, other? Pin
Glenn E. Lanier II16-Sep-05 9:48
Glenn E. Lanier II16-Sep-05 9:48 
JokeRe: Seeking advice on proper control to use: Datagrid, listview, other? Pin
Anonymous17-Sep-05 0:28
Anonymous17-Sep-05 0:28 
Questionautomating a web based service Pin
gashach16-Sep-05 7:55
gashach16-Sep-05 7:55 
AnswerRe: automating a web based service Pin
Andy Brummer16-Sep-05 18:22
sitebuilderAndy Brummer16-Sep-05 18:22 
GeneralRe: automating a web based service Pin
gashach19-Sep-05 4:57
gashach19-Sep-05 4:57 
GeneralRe: automating a web based service Pin
Andy Brummer19-Sep-05 7:00
sitebuilderAndy Brummer19-Sep-05 7:00 
GeneralRe: automating a web based service Pin
gashach19-Sep-05 7:20
gashach19-Sep-05 7:20 
AnswerRe: automating a web based service Pin
Thaynann18-Sep-05 12:10
Thaynann18-Sep-05 12:10 
QuestionScrolling Programmatically Pin
Gulfraz Khan16-Sep-05 7:47
Gulfraz Khan16-Sep-05 7:47 
AnswerRe: Scrolling Programmatically Pin
Mathew Hall16-Sep-05 23:53
Mathew Hall16-Sep-05 23:53 
QuestionDynamically Add rows to DataGrid Pin
Member 205198016-Sep-05 6:23
Member 205198016-Sep-05 6:23 
QuestionDateTime Pin
Gktony16-Sep-05 5:37
Gktony16-Sep-05 5:37 
AnswerRe: DateTime Pin
miah alom16-Sep-05 5:56
miah alom16-Sep-05 5:56 
AnswerRe: DateTime Pin
Niklas Ulvinge16-Sep-05 5:56
Niklas Ulvinge16-Sep-05 5:56 
AnswerRe: DateTime Pin
Guffa16-Sep-05 7:19
Guffa16-Sep-05 7:19 
QuestionFramework 1.1 and 2 Pin
Niklas Ulvinge16-Sep-05 5:35
Niklas Ulvinge16-Sep-05 5:35 

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.