Click here to Skip to main content
15,896,730 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionSimple program exceptions on all other win7 platforms Pin
Uranium-23514-Aug-12 19:22
Uranium-23514-Aug-12 19:22 
AnswerRe: Simple program exceptions on all other win7 platforms Pin
Bernhard Hiller14-Aug-12 21:06
Bernhard Hiller14-Aug-12 21:06 
QuestionUsing VB.Net printing Pin
DWprogrammer14-Aug-12 8:18
DWprogrammer14-Aug-12 8:18 
AnswerRe: Using VB.Net printing Pin
Eddy Vluggen15-Aug-12 1:13
professionalEddy Vluggen15-Aug-12 1:13 
QuestionVisual Studio Expenses Project Pin
garyu8714-Aug-12 5:16
garyu8714-Aug-12 5:16 
AnswerRe: Visual Studio Expenses Project Pin
Eddy Vluggen15-Aug-12 1:21
professionalEddy Vluggen15-Aug-12 1:21 
GeneralRe: Visual Studio Expenses Project Pin
garyu8715-Aug-12 21:20
garyu8715-Aug-12 21:20 
GeneralRe: Visual Studio Expenses Project Pin
Eddy Vluggen15-Aug-12 22:05
professionalEddy Vluggen15-Aug-12 22:05 
garyu87 wrote:
How do I display the data into each textbox with table adapters.

I don't know how the TableAdapter[^]s work, I don't use them. Fetching data can be done with a IDataReader, as a Reader[^] is the most efficient way. That would require code like below;
VB.NET
Using con = new SqlConnection(connectionString)
Using cmd = con.CreateCommand()

  cmd.CommandText = "SELECT * FROM Food"
  con.Open()
  
  Using rdr = cmd.ExecuteReader
    TextBox1.Text += rdr.GetString(0)
  End Using

End Using
End Using

Bastard Programmer from Hell Suspicious | :suss:
if you can't read my code, try converting it here[^]

GeneralRe: Visual Studio Expenses Project Pin
garyu8715-Aug-12 22:24
garyu8715-Aug-12 22:24 
GeneralRe: Visual Studio Expenses Project Pin
Eddy Vluggen15-Aug-12 22:31
professionalEddy Vluggen15-Aug-12 22:31 
GeneralRe: Visual Studio Expenses Project Pin
garyu8716-Aug-12 2:54
garyu8716-Aug-12 2:54 
AnswerRe: Visual Studio Expenses Project Pin
Eddy Vluggen16-Aug-12 3:05
professionalEddy Vluggen16-Aug-12 3:05 
GeneralRe: Visual Studio Expenses Project Pin
garyu8716-Aug-12 3:48
garyu8716-Aug-12 3:48 
AnswerRe: Visual Studio Expenses Project Pin
Eddy Vluggen16-Aug-12 5:12
professionalEddy Vluggen16-Aug-12 5:12 
GeneralRe: Visual Studio Expenses Project Pin
garyu8716-Aug-12 5:36
garyu8716-Aug-12 5:36 
GeneralRe: Visual Studio Expenses Project Pin
Eddy Vluggen16-Aug-12 5:47
professionalEddy Vluggen16-Aug-12 5:47 
QuestionRun-time 430: class doesnot support automation or does not support expected interface Pin
Karthik Chintala12-Aug-12 23:35
Karthik Chintala12-Aug-12 23:35 
AnswerRe: Run-time 430: class doesnot support automation or does not support expected interface Pin
Eddy Vluggen12-Aug-12 23:47
professionalEddy Vluggen12-Aug-12 23:47 
GeneralRe: Run-time 430: class doesnot support automation or does not support expected interface Pin
Karthik Chintala12-Aug-12 23:51
Karthik Chintala12-Aug-12 23:51 
AnswerRe: Run-time 430: class doesnot support automation or does not support expected interface Pin
Eddy Vluggen13-Aug-12 0:06
professionalEddy Vluggen13-Aug-12 0:06 
GeneralRe: Run-time 430: class doesnot support automation or does not support expected interface Pin
Karthik Chintala13-Aug-12 0:14
Karthik Chintala13-Aug-12 0:14 
GeneralRe: Run-time 430: class doesnot support automation or does not support expected interface Pin
Eddy Vluggen13-Aug-12 0:28
professionalEddy Vluggen13-Aug-12 0:28 
GeneralRe: Run-time 430: class doesnot support automation or does not support expected interface Pin
Karthik Chintala13-Aug-12 0:34
Karthik Chintala13-Aug-12 0:34 
GeneralRe: Run-time 430: class doesnot support automation or does not support expected interface Pin
Eddy Vluggen13-Aug-12 1:24
professionalEddy Vluggen13-Aug-12 1:24 
GeneralRe: Run-time 430: class doesnot support automation or does not support expected interface Pin
Karthik Chintala13-Aug-12 1:29
Karthik Chintala13-Aug-12 1:29 

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.