Click here to Skip to main content
15,890,512 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: create a shortecut in vb4 Pin
Anonymous16-Apr-05 11:23
Anonymous16-Apr-05 11:23 
Questiondatagrid with checkbox ?????? Pin
sumit2115-Apr-05 7:31
sumit2115-Apr-05 7:31 
Questioncan i retrieve the primary keys of a table? Pin
sumit2115-Apr-05 7:28
sumit2115-Apr-05 7:28 
AnswerRe: can i retrieve the primary keys of a table? Pin
Nicholas Cardi15-Apr-05 12:57
Nicholas Cardi15-Apr-05 12:57 
GeneralRe: can i retrieve the primary keys of a table? Pin
sumit2116-Apr-05 0:31
sumit2116-Apr-05 0:31 
GeneralRe: can i retrieve the primary keys of a table? Pin
Nicholas Cardi16-Apr-05 2:05
Nicholas Cardi16-Apr-05 2:05 
GeneralRe: can i retrieve the primary keys of a table? Pin
sumit2116-Apr-05 3:49
sumit2116-Apr-05 3:49 
GeneralRe: can i retrieve the primary keys of a table? Pin
Nicholas Cardi16-Apr-05 5:07
Nicholas Cardi16-Apr-05 5:07 
Not sure why this is but I found a solution to you problem

For i = 0 To ds.Tables(0).PrimaryKey.GetUpperBound(0)
ComboBox1.Items.Add(ds.Tables(0).PrimaryKey(i).ColumnName())
Next

it seems that when filling the schema you cannot refer to the table by its name but only by index number or the value "Table"


Forever Developing
GeneralRe: can i retrieve the primary keys of a table? Pin
sumit2116-Apr-05 17:16
sumit2116-Apr-05 17:16 
GeneralRead a MP3 Bite rate Pin
FastFriedMonkey15-Apr-05 6:07
FastFriedMonkey15-Apr-05 6:07 
GeneralRe: Read a MP3 Bite rate Pin
Anonymous16-Apr-05 11:37
Anonymous16-Apr-05 11:37 
GeneralDirectDraw in VB 6.0 Pin
timothyl15-Apr-05 6:03
timothyl15-Apr-05 6:03 
GeneralDynamically loaded controls Pin
Member 188578015-Apr-05 4:19
Member 188578015-Apr-05 4:19 
Generalrecording sound over .net Pin
goalzeze15-Apr-05 4:17
goalzeze15-Apr-05 4:17 
Generalshifting focus from datagrids Pin
Paps215-Apr-05 3:29
Paps215-Apr-05 3:29 
GeneralRe: shifting focus from datagrids Pin
Anonymous15-Apr-05 22:24
Anonymous15-Apr-05 22:24 
Questionhow to reload dataReader? Pin
Lisana15-Apr-05 2:25
Lisana15-Apr-05 2:25 
AnswerRe: how to reload dataReader? Pin
Dave Kreskowiak15-Apr-05 3:54
mveDave Kreskowiak15-Apr-05 3:54 
GeneralRe: how to reload dataReader? Pin
Lisana15-Apr-05 3:58
Lisana15-Apr-05 3:58 
GeneralRe: how to reload dataReader? Pin
Dave Kreskowiak15-Apr-05 4:20
mveDave Kreskowiak15-Apr-05 4:20 
GeneralRe: how to reload dataReader? Pin
Lisana15-Apr-05 4:30
Lisana15-Apr-05 4:30 
GeneralRe: how to reload dataReader? Pin
Dave Kreskowiak15-Apr-05 7:26
mveDave Kreskowiak15-Apr-05 7:26 
GeneralRe: how to reload dataReader? Pin
Lisana15-Apr-05 8:06
Lisana15-Apr-05 8:06 
QuestionHow to chage query at runtime Pin
Sheel Gohe15-Apr-05 2:01
Sheel Gohe15-Apr-05 2:01 
Questionhow to retrieve primary key of a database ? Pin
sumit2115-Apr-05 1:49
sumit2115-Apr-05 1:49 

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.