Click here to Skip to main content
16,017,922 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Specified cast is not valid Pin
Stephen McGuire5-Aug-06 5:31
Stephen McGuire5-Aug-06 5:31 
GeneralRe: Specified cast is not valid Pin
Colin Angus Mackay5-Aug-06 5:37
Colin Angus Mackay5-Aug-06 5:37 
GeneralRe: Specified cast is not valid Pin
Stephen McGuire5-Aug-06 5:40
Stephen McGuire5-Aug-06 5:40 
GeneralRe: Specified cast is not valid Pin
newbjohny5-Aug-06 5:42
newbjohny5-Aug-06 5:42 
GeneralRe: Specified cast is not valid Pin
Stephen McGuire5-Aug-06 5:56
Stephen McGuire5-Aug-06 5:56 
GeneralRe: Specified cast is not valid Pin
newbjohny5-Aug-06 6:10
newbjohny5-Aug-06 6:10 
GeneralRe: Specified cast is not valid Pin
Stephen McGuire5-Aug-06 6:16
Stephen McGuire5-Aug-06 6:16 
GeneralRe: Specified cast is not valid Pin
newbjohny5-Aug-06 6:23
newbjohny5-Aug-06 6:23 
This is the selectAll code, I just called it selectAll(select *) as that is what I am doing from the database, selecting all from a table and displaying it to the user.

  Public Function selectAll(ByVal strSQL As String, ByVal tableName As String)<br />
        Dim dset As DataSet = New DataSet()<br />
        sqlite_cmd.CommandText = (strSQL)<br />
        sqlite_datareader = sqlite_cmd.ExecuteReader()<br />
<br />
        Dim sqlite_dataAdapter As SQLiteDataAdapter = New SQLiteDataAdapter(strSQL, sqlite_conn)<br />
        sqlite_commandBuilder = New SQLiteCommandBuilder(sqlite_dataAdapter)<br />
        sqlite_dataAdapter.Fill(dset, tableName)<br />
        Return dset<br />
    End Function

GeneralRe: Specified cast is not valid Pin
Stephen McGuire5-Aug-06 6:32
Stephen McGuire5-Aug-06 6:32 
GeneralRe: Specified cast is not valid [modified] Pin
newbjohny5-Aug-06 6:45
newbjohny5-Aug-06 6:45 
GeneralRe: Specified cast is not valid Pin
Stephen McGuire5-Aug-06 6:56
Stephen McGuire5-Aug-06 6:56 
GeneralRe: Specified cast is not valid Pin
newbjohny5-Aug-06 7:02
newbjohny5-Aug-06 7:02 
GeneralRe: Specified cast is not valid Pin
Stephen McGuire5-Aug-06 7:06
Stephen McGuire5-Aug-06 7:06 
GeneralRe: Specified cast is not valid Pin
newbjohny5-Aug-06 7:13
newbjohny5-Aug-06 7:13 
GeneralRe: Specified cast is not valid Pin
Colin Angus Mackay5-Aug-06 5:36
Colin Angus Mackay5-Aug-06 5:36 
GeneralRe: Specified cast is not valid Pin
newbjohny5-Aug-06 5:53
newbjohny5-Aug-06 5:53 
GeneralRe: Specified cast is not valid Pin
Colin Angus Mackay5-Aug-06 5:59
Colin Angus Mackay5-Aug-06 5:59 
GeneralRe: Specified cast is not valid Pin
newbjohny5-Aug-06 6:16
newbjohny5-Aug-06 6:16 
AnswerRe: Specified cast is not valid [modified] Pin
Colin Angus Mackay5-Aug-06 6:03
Colin Angus Mackay5-Aug-06 6:03 
GeneralRe: Specified cast is not valid Pin
newbjohny5-Aug-06 6:19
newbjohny5-Aug-06 6:19 
GeneralRe: Specified cast is not valid Pin
Colin Angus Mackay5-Aug-06 10:05
Colin Angus Mackay5-Aug-06 10:05 
GeneralRe: Specified cast is not valid Pin
newbjohny5-Aug-06 10:36
newbjohny5-Aug-06 10:36 
AnswerRe: Specified cast is not valid [modified] Pin
mtone5-Aug-06 18:32
mtone5-Aug-06 18:32 
GeneralRe: Specified cast is not valid Pin
newbjohny5-Aug-06 23:41
newbjohny5-Aug-06 23:41 
AnswerRe: Specified cast is not valid Pin
newbjohny7-Aug-06 2:35
newbjohny7-Aug-06 2:35 

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.