Click here to Skip to main content
15,913,467 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHow to Add Carriage return line feed to string (globalization) Pin
Georg Kohler17-Jan-09 16:41
Georg Kohler17-Jan-09 16:41 
AnswerRe: How to Add Carriage return line feed to string (globalization) Pin
Wendelius17-Jan-09 22:21
mentorWendelius17-Jan-09 22:21 
GeneralRe: How to Add Carriage return line feed to string (globalization) Pin
Georg Kohler18-Jan-09 19:07
Georg Kohler18-Jan-09 19:07 
GeneralRe: How to Add Carriage return line feed to string (globalization) Pin
Wendelius19-Jan-09 2:02
mentorWendelius19-Jan-09 2:02 
GeneralRe: How to Add Carriage return line feed to string (globalization) Pin
Luc Pattyn18-Jan-09 11:06
sitebuilderLuc Pattyn18-Jan-09 11:06 
GeneralRe: How to Add Carriage return line feed to string (globalization) Pin
Georg Kohler18-Jan-09 13:46
Georg Kohler18-Jan-09 13:46 
GeneralRe: How to Add Carriage return line feed to string (globalization) Pin
Luc Pattyn18-Jan-09 14:00
sitebuilderLuc Pattyn18-Jan-09 14:00 
QuestionProblem populating DataSet Pin
carrigart17-Jan-09 15:55
carrigart17-Jan-09 15:55 
Hi,

I am trying to use the Fill() method of dataAdapter class to fill a dataset but Im getting a SqlException error when I run my code. The error says Invalid object name 'Testing'. My database name is Runner.mdf and Testing is a table in my database. Heres my code. Hope someone can help. Thanks

Dim ds As New DataSet
Dim cn As New SqlConnection()
Dim connString As String = "Data Source=.\SQLEXPRESS;AttachDbFilename=C:\Documents\Runner.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True"

cn.ConnectionString = connString
cn.Open()

Dim da As New SqlDataAdapter("SELECT * FROM Testing", cn)

da.Fill(ds)
AnswerRe: Problem populating DataSet Pin
N a v a n e e t h17-Jan-09 16:33
N a v a n e e t h17-Jan-09 16:33 
GeneralRe: Problem populating DataSet Pin
carrigart17-Jan-09 17:18
carrigart17-Jan-09 17:18 
GeneralRe: Problem populating DataSet Pin
carrigart17-Jan-09 19:42
carrigart17-Jan-09 19:42 
GeneralRe: Problem populating DataSet Pin
carrigart17-Jan-09 19:56
carrigart17-Jan-09 19:56 
AnswerRe: Problem populating DataSet Pin
Wendelius17-Jan-09 21:33
mentorWendelius17-Jan-09 21:33 
GeneralRe: Problem populating DataSet Pin
carrigart17-Jan-09 22:45
carrigart17-Jan-09 22:45 
GeneralRe: Problem populating DataSet Pin
Wendelius17-Jan-09 22:53
mentorWendelius17-Jan-09 22:53 
GeneralRe: Problem populating DataSet Pin
carrigart18-Jan-09 1:34
carrigart18-Jan-09 1:34 
GeneralRe: Problem populating DataSet Pin
Wendelius18-Jan-09 1:47
mentorWendelius18-Jan-09 1:47 
AnswerRe: Problem populating DataSet Pin
TheComputerMan18-Jan-09 12:26
TheComputerMan18-Jan-09 12:26 
QuestionVB web browser Pin
ragual17-Jan-09 15:50
ragual17-Jan-09 15:50 
AnswerRe: VB web browser Pin
Saul Johnson18-Jan-09 6:42
Saul Johnson18-Jan-09 6:42 
GeneralRe: VB web browser Pin
ragual18-Jan-09 7:31
ragual18-Jan-09 7:31 
GeneralRe: VB web browser Pin
Saul Johnson24-Jan-09 10:45
Saul Johnson24-Jan-09 10:45 
QuestionHow to always keep focus on a textbox? Pin
xbiplav17-Jan-09 10:50
xbiplav17-Jan-09 10:50 
AnswerRe: How to always keep focus on a textbox? Pin
Christian Graus17-Jan-09 11:33
protectorChristian Graus17-Jan-09 11:33 
QuestionRe: How to always keep focus on a textbox? Pin
xbiplav17-Jan-09 11:38
xbiplav17-Jan-09 11:38 

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.