Click here to Skip to main content
15,896,557 members
Home / Discussions / C#
   

C#

 
GeneralRe: Simple Histogram Pin
riced11-Nov-10 22:44
riced11-Nov-10 22:44 
AnswerRe: Simple Histogram Pin
J4amieC11-Nov-10 22:25
J4amieC11-Nov-10 22:25 
GeneralRe: Simple Histogram Pin
pancakeleh12-Nov-10 5:39
pancakeleh12-Nov-10 5:39 
GeneralRe: Simple Histogram Pin
rld197112-Nov-10 6:06
rld197112-Nov-10 6:06 
GeneralRe: Simple Histogram Pin
pancakeleh12-Nov-10 7:02
pancakeleh12-Nov-10 7:02 
QuestionWebClient cannot DownLoadFile error Pin
yu-jian11-Nov-10 17:11
yu-jian11-Nov-10 17:11 
AnswerRe: WebClient cannot DownLoadFile error Pin
Luc Pattyn11-Nov-10 17:25
sitebuilderLuc Pattyn11-Nov-10 17:25 
QuestionData labels ? Pin
SRJ9211-Nov-10 12:01
SRJ9211-Nov-10 12:01 
sorry, my other post wasn't clear ...

hello, i want to create a more complex highscore board that displays the playname and score in labels!
currently i have a datagrid which is displaying my data as a test, here is my code for that:

OLEDataConnector Dat = new OLEDataConnector("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=\"Highscore.accdb\";Persist Security Info=False;");
DataTable Dt = new DataTable();
Dat.dataSelect("select Playername, Score, LevelNumber from score order by score desc", ref Dt);
dataGridView1.DataSource = Dt.DefaultView;


its a microsoft access database and i need to get around 10 rows if they are in the database to be put onto my highscore board ...

So what i want is the playername of the record to be put into one label and the other as a score in another label, obviosuly they will move around using the query, :P
Any help? as i can't find anything on this that is of any use.... Thanks
AnswerRe: Data labels ? Pin
Dave Kreskowiak11-Nov-10 12:56
mveDave Kreskowiak11-Nov-10 12:56 
AnswerRe: Data labels ? Pin
Henry Minute11-Nov-10 12:58
Henry Minute11-Nov-10 12:58 
GeneralRe: Data labels ? Pin
SRJ9211-Nov-10 13:32
SRJ9211-Nov-10 13:32 
GeneralRe: Data labels ? Pin
SRJ9213-Nov-10 13:56
SRJ9213-Nov-10 13:56 
GeneralRe: Data labels ? Pin
Henry Minute13-Nov-10 14:19
Henry Minute13-Nov-10 14:19 
GeneralRe: Data labels ? Pin
SRJ9214-Nov-10 1:54
SRJ9214-Nov-10 1:54 
QuestionManaging Connection Strings Pin
Kevin Marois11-Nov-10 9:00
professionalKevin Marois11-Nov-10 9:00 
AnswerRe: Managing Connection Strings Pin
OriginalGriff11-Nov-10 9:10
mveOriginalGriff11-Nov-10 9:10 
GeneralRe: Managing Connection Strings Pin
Kevin Marois11-Nov-10 9:15
professionalKevin Marois11-Nov-10 9:15 
GeneralRe: Managing Connection Strings Pin
OriginalGriff11-Nov-10 9:24
mveOriginalGriff11-Nov-10 9:24 
GeneralRe: Managing Connection Strings Pin
Kevin Marois11-Nov-10 9:29
professionalKevin Marois11-Nov-10 9:29 
GeneralRe: Managing Connection Strings Pin
Not Active11-Nov-10 10:11
mentorNot Active11-Nov-10 10:11 
GeneralRe: Managing Connection Strings Pin
Not Active11-Nov-10 10:13
mentorNot Active11-Nov-10 10:13 
AnswerRe: Managing Connection Strings Pin
PIEBALDconsult11-Nov-10 14:47
mvePIEBALDconsult11-Nov-10 14:47 
QuestionHow i can to activate a method automatically like a task programed Pin
msaez11-Nov-10 5:01
msaez11-Nov-10 5:01 
AnswerRe: How i can to activate a method automatically like a task programed Pin
OriginalGriff11-Nov-10 5:07
mveOriginalGriff11-Nov-10 5:07 
AnswerRe: How i can to activate a method automatically like a task programed Pin
Luc Pattyn11-Nov-10 6:18
sitebuilderLuc Pattyn11-Nov-10 6:18 

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.