Click here to Skip to main content
16,015,018 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Required Output Pin
Jason McBurney17-Jan-07 6:26
Jason McBurney17-Jan-07 6:26 
QuestionVBScript code to extract Window title Pin
B.L.Praveen17-Jan-07 1:19
B.L.Praveen17-Jan-07 1:19 
AnswerRe: VBScript code to extract Window title Pin
jstark11017-Jan-07 7:54
jstark11017-Jan-07 7:54 
GeneralRe: VBScript code to extract Window title Pin
B.L.Praveen17-Jan-07 20:40
B.L.Praveen17-Jan-07 20:40 
Questionwant mysql+vb.net application Pin
priya_p23316-Jan-07 23:59
priya_p23316-Jan-07 23:59 
AnswerRe: want mysql+vb.net application Pin
Christian Graus17-Jan-07 0:22
protectorChristian Graus17-Jan-07 0:22 
AnswerRe: want mysql+vb.net application Pin
Vinay Dornala17-Jan-07 0:59
Vinay Dornala17-Jan-07 0:59 
GeneralRe: want mysql+vb.net application [modified] Pin
priya_p23317-Jan-07 2:27
priya_p23317-Jan-07 2:27 
hi dornala,
Thank u so much for ur help.
i write as u given , i didnt get any error but data is not displayed in datagridview.
i put MsgBox(ds.Tables(0).Columns(0).ColumnName) it is showing columnName it means data is there is ds(dataset) but not seen on datagridview(DgvCustList)
will u give me wht to do plizzzz.....

Dim connectionString As String = "User Id=root; Password=root; Host=jupitor;port=3306;Database=timesheet;"

Dim conn As New MySqlConnection(connectionString)
conn.Open()
Dim da As New MySqlDataAdapter("SELECT custid,custcode,custname FROM cust_mast;", conn)
Dim ds As New DataSet("Cust")

da.Fill(ds, "cust_mast")
DgvCustList.DataSource = ds.DefaultViewManager


MsgBox(ds.Tables(0).Columns(0).ColumnName)

conn.Close()


-- modified at 8:33 Wednesday 17th January, 2007


-- modified at 8:34 Wednesday 17th January, 2007

priya

GeneralRe: want mysql+vb.net application Pin
Jason McBurney17-Jan-07 6:29
Jason McBurney17-Jan-07 6:29 
QuestionShow Table name Pin
Socheat.Net16-Jan-07 23:57
Socheat.Net16-Jan-07 23:57 
AnswerRe: Show Table name Pin
Jason McBurney17-Jan-07 6:39
Jason McBurney17-Jan-07 6:39 
Questionunknown software exception on closedown Pin
Ben Dessau16-Jan-07 23:03
Ben Dessau16-Jan-07 23:03 
Questionurgent!!!!!!!!!problem in VB.NET Pin
salon16-Jan-07 22:29
salon16-Jan-07 22:29 
QuestionSearching in datasets or datatables Pin
WofR16-Jan-07 22:11
WofR16-Jan-07 22:11 
AnswerRe: Searching in datasets or datatables Pin
shreekar16-Jan-07 23:20
shreekar16-Jan-07 23:20 
AnswerRe: Searching in datasets or datatables Pin
MatthysDT17-Jan-07 0:05
MatthysDT17-Jan-07 0:05 
AnswerRe: Searching in datasets or datatables Pin
Jason McBurney17-Jan-07 6:50
Jason McBurney17-Jan-07 6:50 
Questionpromblem Pin
ravimwani16-Jan-07 21:33
ravimwani16-Jan-07 21:33 
AnswerRe: promblem Pin
Christian Graus17-Jan-07 0:22
protectorChristian Graus17-Jan-07 0:22 
AnswerRe: promblem Pin
Jason McBurney17-Jan-07 6:52
Jason McBurney17-Jan-07 6:52 
Questionquery in vb.net [modified] Pin
amaneet16-Jan-07 21:24
amaneet16-Jan-07 21:24 
AnswerRe: query in vb.net Pin
Guffa16-Jan-07 22:01
Guffa16-Jan-07 22:01 
GeneralRe: query in vb.net [modified] Pin
amaneet16-Jan-07 22:25
amaneet16-Jan-07 22:25 
GeneralRe: query in vb.net Pin
nlarson1117-Jan-07 4:20
nlarson1117-Jan-07 4:20 
QuestionGlobal Error Handling Pin
MatthysDT16-Jan-07 20:58
MatthysDT16-Jan-07 20:58 

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.