Click here to Skip to main content
16,005,149 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questiontree view question Pin
scottstarbuck21-Mar-06 11:09
scottstarbuck21-Mar-06 11:09 
Questiondropdown item access thro' Javascript Pin
anarayan21-Mar-06 10:20
anarayan21-Mar-06 10:20 
AnswerRe: dropdown item access thro' Javascript Pin
CWIZO21-Mar-06 23:12
CWIZO21-Mar-06 23:12 
QuestionWord to XML to Word Pin
ruzica21-Mar-06 10:07
ruzica21-Mar-06 10:07 
QuestionCreating a logarithmic scale grid for charting Pin
Setharial21-Mar-06 10:04
Setharial21-Mar-06 10:04 
QuestionWindows Image and Fax Viewer Integration Pin
Madni Abbasi21-Mar-06 6:42
Madni Abbasi21-Mar-06 6:42 
Questioncreating a tree view to be mapped to a specific directory path Pin
madxxi21-Mar-06 6:42
madxxi21-Mar-06 6:42 
QuestionAdodb.recordset in a datagridview Pin
Rey999921-Mar-06 3:11
Rey999921-Mar-06 3:11 
Hello to everyone. for my project i need to display some data in a datagridview. these data are contained in an Adodb.recordset object, that is given from an external class they gave me (and i am _forced_ to use adodb.recordsets).
the problem is, i can't set the datasource for the datagridview to be the recordset. i'll give you an example:

Dim dy As New ADODB.Recordset
Dim query As String = "SELECT * FROM table1"
''MyConn is an instance of the class i must use
MyConn.OpenRecordset(dy, query)

at this point i would write:
DataGridView1.DataSource = dy

it doesn't give me an error, but it doesn't work either, my datagridview remains empty.

is there any way to work on it without using datasets? i sadly have to use recordsets...

thanks in advance and sorry for my bad english.

~~~ From Milano to The Hague, easy as it goes ~~~
AnswerRe: Adodb.recordset in a datagridview Pin
Dave Kreskowiak21-Mar-06 8:28
mveDave Kreskowiak21-Mar-06 8:28 
GeneralRe: Adodb.recordset in a datagridview Pin
Rey999921-Mar-06 20:29
Rey999921-Mar-06 20:29 
GeneralRe: Adodb.recordset in a datagridview Pin
Dave Kreskowiak22-Mar-06 3:08
mveDave Kreskowiak22-Mar-06 3:08 
GeneralRe: Adodb.recordset in a datagridview Pin
Rey999922-Mar-06 3:18
Rey999922-Mar-06 3:18 
GeneralRe: Adodb.recordset in a datagridview Pin
Dave Kreskowiak22-Mar-06 3:39
mveDave Kreskowiak22-Mar-06 3:39 
GeneralRe: Adodb.recordset in a datagridview Pin
Rey999922-Mar-06 3:44
Rey999922-Mar-06 3:44 
QuestionTicker tape at the bottem of a tv screen Pin
scottstarbuck21-Mar-06 2:30
scottstarbuck21-Mar-06 2:30 
AnswerRe: Ticker tape at the bottem of a tv screen Pin
scottstarbuck21-Mar-06 3:37
scottstarbuck21-Mar-06 3:37 
QuestionMain Menu (Icons) Pin
FeRtoll21-Mar-06 1:46
FeRtoll21-Mar-06 1:46 
AnswerRe: Main Menu (Icons) Pin
Dave Kreskowiak21-Mar-06 8:24
mveDave Kreskowiak21-Mar-06 8:24 
GeneralRe: Main Menu (Icons) Pin
FeRtoll21-Mar-06 10:38
FeRtoll21-Mar-06 10:38 
GeneralRe: Main Menu (Icons) Pin
Dave Kreskowiak21-Mar-06 11:53
mveDave Kreskowiak21-Mar-06 11:53 
QuestionShared Member warning Pin
sujanakar21-Mar-06 1:46
sujanakar21-Mar-06 1:46 
AnswerRe: Shared Member warning Pin
CWIZO21-Mar-06 2:41
CWIZO21-Mar-06 2:41 
QuestionCAB file Pin
Paritos21-Mar-06 1:28
Paritos21-Mar-06 1:28 
Questionhi,how to unregistered a downloaded dll Pin
Paritos21-Mar-06 1:23
Paritos21-Mar-06 1:23 
AnswerRe: hi,how to unregistered a downloaded dll Pin
Dave Kreskowiak21-Mar-06 8:05
mveDave Kreskowiak21-Mar-06 8:05 

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.