Click here to Skip to main content
15,903,856 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: What object is streamwriter located under? Pin
progload21-Feb-06 13:37
progload21-Feb-06 13:37 
GeneralRe: What object is streamwriter located under? Pin
kenn_rosie21-Feb-06 13:49
kenn_rosie21-Feb-06 13:49 
GeneralRe: What object is streamwriter located under? Pin
progload21-Feb-06 14:36
progload21-Feb-06 14:36 
GeneralRe: What object is streamwriter located under? Pin
kenn_rosie21-Feb-06 14:51
kenn_rosie21-Feb-06 14:51 
QuestionServer & Client Pin
ADY00721-Feb-06 12:25
ADY00721-Feb-06 12:25 
QuestionCreateObject("WindowsInstaller.Installer") Error Pin
Sysdoc262821-Feb-06 12:18
Sysdoc262821-Feb-06 12:18 
Questioncreating multiple dataset based on query Pin
uglyeyes21-Feb-06 12:00
uglyeyes21-Feb-06 12:00 
AnswerRe: creating multiple dataset based on query Pin
ne0h21-Feb-06 21:16
ne0h21-Feb-06 21:16 
no problem dude.

just create 2 query n store them in 2 seperate variable.
say
Dim q1 As String="SELECT * from table WHERE id=2"
Dim q2 As String="SELECT * from table WHERE id=2"

Dim cmd1 As New SQLCommand(q1,conn) 'conn is ur connection
Dim cmd2 As New SQLCommand(q2,conn)

Dim da1 as New SQLDataAdapter
Dim da2 as New SQLDataAdapter

da1.selectCommand=cmd1
da2.selectCommand=cmd2

Dim ds1 As New DataSet
Dim ds2 As New DataSet

da1.Fill(ds1)
da2.Fill(ds2)

' ur dataset populated
' show them

DataGrid1.DataSource=ds1
DataGrid2.DataSource=ds2

Hope that helps.

this is not the end, this is how its goin to begin !
QuestionVlookup function like excel Pin
Sergi2521-Feb-06 11:41
Sergi2521-Feb-06 11:41 
AnswerRe: Vlookup function like excel Pin
Ray Cassick21-Feb-06 11:48
Ray Cassick21-Feb-06 11:48 
QuestionInheritence, disallow ShowDialog() Pin
K. Shaffer21-Feb-06 8:59
K. Shaffer21-Feb-06 8:59 
AnswerRe: Inheritence, disallow ShowDialog() Pin
K. Shaffer21-Feb-06 9:09
K. Shaffer21-Feb-06 9:09 
QuestionVS 2003 to VS 2005 Crystal Reports Hell problems Pin
nordico2521-Feb-06 7:41
nordico2521-Feb-06 7:41 
QuestionCrystal reports via VB.Net Pin
directred21-Feb-06 7:29
directred21-Feb-06 7:29 
QuestionSending HTML emails with MAPI (VB6) Pin
ThePmanLives21-Feb-06 5:47
ThePmanLives21-Feb-06 5:47 
Questionsearching through a site Pin
teuneboon21-Feb-06 4:38
teuneboon21-Feb-06 4:38 
AnswerRe: searching through a site Pin
Divya Rathi22-Feb-06 3:55
Divya Rathi22-Feb-06 3:55 
QuestionUsing a digital camera in my VB project Pin
marclenoir200521-Feb-06 4:16
marclenoir200521-Feb-06 4:16 
QuestionIs there a way to do a spell check on a text box Pin
New_Coder21-Feb-06 3:59
New_Coder21-Feb-06 3:59 
AnswerRe: Is there a way to do a spell check on a text box Pin
uglyeyes21-Feb-06 12:05
uglyeyes21-Feb-06 12:05 
GeneralRe: Is there a way to do a spell check on a text box Pin
New_Coder21-Feb-06 12:12
New_Coder21-Feb-06 12:12 
Questionhow can we use ms agent control in a vb windows application? Pin
kamalika_kk21-Feb-06 3:54
kamalika_kk21-Feb-06 3:54 
AnswerRe: how can we use ms agent control in a vb windows application? Pin
Steve Pullan21-Feb-06 13:46
Steve Pullan21-Feb-06 13:46 
Questionusername filepath Pin
racebit21-Feb-06 3:10
racebit21-Feb-06 3:10 
AnswerRe: username filepath Pin
Dave Kreskowiak21-Feb-06 6:02
mveDave Kreskowiak21-Feb-06 6:02 

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.