Click here to Skip to main content
15,899,754 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionsystem.string[] Problem Pin
mrodriguezc1-Jun-06 12:05
mrodriguezc1-Jun-06 12:05 
QuestionCheck for admin rights in deploy/setup/install Pin
Kschuler1-Jun-06 8:53
Kschuler1-Jun-06 8:53 
AnswerRe: Check for admin rights in deploy/setup/install Pin
Mekong River1-Jun-06 21:21
Mekong River1-Jun-06 21:21 
AnswerRe: Check for admin rights in deploy/setup/install Pin
Mekong River3-Jun-06 6:23
Mekong River3-Jun-06 6:23 
QuestionRe: Check for admin rights in deploy/setup/install Pin
Kschuler5-Jun-06 2:57
Kschuler5-Jun-06 2:57 
AnswerRe: Check for admin rights in deploy/setup/install Pin
Mekong River6-Jun-06 6:49
Mekong River6-Jun-06 6:49 
QuestionSelect Top 1 Pin
boukaka1-Jun-06 8:36
boukaka1-Jun-06 8:36 
AnswerRe: Select Top 1 Pin
Kschuler1-Jun-06 8:48
Kschuler1-Jun-06 8:48 
What kind of an object are you getting the data from? And what version of Visual Studio do you use?

If you are using a DataTable you could use
dtMyTable.Row(0)("PaymentType")
To access the "PaymentType" column in the very first record.

dtMyTable.Row(1)("PaymentType")
To access the second record, and so on.)
If you mean the greatest record, you would have to sort the data first, by which ever column you wish to sort by. You'd have to do the sorting in SQL or by using a DataView control.

Does this help?
AnswerRe: Select Top 1 Pin
boukaka1-Jun-06 8:50
boukaka1-Jun-06 8:50 
AnswerRe: Select Top 1 Pin
Leeland1-Jun-06 10:29
Leeland1-Jun-06 10:29 
AnswerRe: Select Top 1 Pin
Guffa1-Jun-06 12:03
Guffa1-Jun-06 12:03 
GeneralRe: Select Top 1 Pin
boukaka1-Jun-06 14:52
boukaka1-Jun-06 14:52 
GeneralRe: Select Top 1 Pin
shreekar1-Jun-06 22:32
shreekar1-Jun-06 22:32 
QuestionContext Menu in Addin Pin
dlarkin771-Jun-06 5:28
dlarkin771-Jun-06 5:28 
AnswerRe: Context Menu in Addin Pin
dlarkin777-Jun-06 23:03
dlarkin777-Jun-06 23:03 
Questioncolumns don't currently have unique values Pin
Kashar1-Jun-06 4:52
Kashar1-Jun-06 4:52 
AnswerRe: columns don't currently have unique values Pin
Leeland1-Jun-06 5:02
Leeland1-Jun-06 5:02 
GeneralRe: columns don't currently have unique values Pin
Kashar1-Jun-06 8:20
Kashar1-Jun-06 8:20 
QuestionRepaint [modified] Pin
Resolver181-Jun-06 3:10
Resolver181-Jun-06 3:10 
AnswerRe: Repaint Pin
Tarakeshwar Reddy1-Jun-06 3:20
professionalTarakeshwar Reddy1-Jun-06 3:20 
AnswerRe: Repaint Pin
NormDroid1-Jun-06 3:25
professionalNormDroid1-Jun-06 3:25 
JokeRe: Repaint Pin
Guffa1-Jun-06 7:10
Guffa1-Jun-06 7:10 
GeneralRe: Repaint Pin
NormDroid1-Jun-06 20:41
professionalNormDroid1-Jun-06 20:41 
JokeRe: Repaint Pin
Resolver181-Jun-06 21:06
Resolver181-Jun-06 21:06 
GeneralRe: Repaint Pin
NormDroid1-Jun-06 21:14
professionalNormDroid1-Jun-06 21:14 

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.