Click here to Skip to main content
15,886,919 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: How to use spell checker in vb.net Pin
Eddy Vluggen12-Mar-09 4:29
professionalEddy Vluggen12-Mar-09 4:29 
AnswerRe: How to use spell checker in vb.net Pin
Dave Kreskowiak12-Mar-09 7:23
mveDave Kreskowiak12-Mar-09 7:23 
QuestionGridview SqlDataSource SelectCommand Pin
Tomb42112-Mar-09 2:19
Tomb42112-Mar-09 2:19 
AnswerRe: Resolved: Gridview SqlDataSource SelectCommand Pin
Tomb42117-Mar-09 9:24
Tomb42117-Mar-09 9:24 
Questionexport an image from sql 2005 to excel Pin
tw-de12-Mar-09 1:54
tw-de12-Mar-09 1:54 
AnswerRe: export an image from sql 2005 to excel Pin
Eddy Vluggen12-Mar-09 4:36
professionalEddy Vluggen12-Mar-09 4:36 
QuestionHow to use typed datasets with relationships. Pin
steve.borman12-Mar-09 0:48
steve.borman12-Mar-09 0:48 
QuestionPopulate Datagrid control Pin
tatchung12-Mar-09 0:11
tatchung12-Mar-09 0:11 
Hi,

Im having trouble populating my datagrid control from an ms access database. 1st method I used was through ADODC control and it worked fine. Then I just found a way to lessen the code by creating a class then passing variables through a module. Anyways using the class method my datagrid does not show any data at all. I've removed the datasource control and debugged the program...record count shows that it did get something. Im just in the dark why it won't populate in my datagrid. By the way I'm using vb6 and datagrid through common control 6.0.

populate datagrid
clsPubConnection.GetQuery rs1, "insert query here", 1, 1
    Set dgd1.DataSource = rs1
    dgd1.Refresh


code inside the class
If rs.State = 1 Then rs.Close
    With rs
    .CursorType = intCursorType
    .LockType = intLockType
    .ActiveConnection = cn
    .Source = strSqlCommand
    .Open
    End With


Any help would be greatly appreciated. Thanks in advance Big Grin | :-D

Aim small, miss small

QuestionPrint Screen Pin
afridy11-Mar-09 20:18
afridy11-Mar-09 20:18 
AnswerRe: Print Screen Pin
Expert Coming11-Mar-09 22:32
Expert Coming11-Mar-09 22:32 
GeneralRe: Print Screen Pin
afridy11-Mar-09 23:24
afridy11-Mar-09 23:24 
QuestionA textbox with squiggly lines in different colours Pin
jinxster11-Mar-09 20:04
professionaljinxster11-Mar-09 20:04 
AnswerRe: A textbox with squiggly lines in different colours Pin
dan!sh 11-Mar-09 20:23
professional dan!sh 11-Mar-09 20:23 
GeneralRe: A textbox with squiggly lines in different colours Pin
Expert Coming11-Mar-09 22:33
Expert Coming11-Mar-09 22:33 
GeneralRe: A textbox with squiggly lines in different colours Pin
dan!sh 11-Mar-09 22:53
professional dan!sh 11-Mar-09 22:53 
GeneralRe: A textbox with squiggly lines in different colours Pin
Expert Coming11-Mar-09 23:03
Expert Coming11-Mar-09 23:03 
AnswerRe: A textbox with squiggly lines in different colours Pin
Expert Coming11-Mar-09 22:34
Expert Coming11-Mar-09 22:34 
QuestionCompare data of the last day with the past 4 day’s data Pin
Dobrobit11-Mar-09 18:14
Dobrobit11-Mar-09 18:14 
AnswerRe: Compare data of the last day with the past 4 day’s data Pin
Jumping Jupiter12-Mar-09 7:05
Jumping Jupiter12-Mar-09 7:05 
GeneralRe: Compare data of the last day with the past 4 day’s data Pin
Dobrobit12-Mar-09 11:16
Dobrobit12-Mar-09 11:16 
GeneralRe: Compare data of the last day with the past 4 day’s data Pin
Dobrobit15-Mar-09 21:36
Dobrobit15-Mar-09 21:36 
GeneralRe: Compare data of the last day with the past 4 day’s data Pin
Jumping Jupiter16-Mar-09 1:43
Jumping Jupiter16-Mar-09 1:43 
QuestionInputbox triggering form_closed event Pin
Sonhospa11-Mar-09 13:48
Sonhospa11-Mar-09 13:48 
AnswerRe: Inputbox triggering form_closed event Pin
Luc Pattyn11-Mar-09 14:16
sitebuilderLuc Pattyn11-Mar-09 14:16 
GeneralRe: Inputbox triggering form_closed event Pin
Sonhospa12-Mar-09 9:26
Sonhospa12-Mar-09 9:26 

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.