Click here to Skip to main content
15,891,136 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: problems insert data in database using table adapter Pin
AAGTHosting31-Mar-08 7:41
AAGTHosting31-Mar-08 7:41 
GeneralRe: problems insert data in database using table adapter Pin
Sourie13-Sep-08 8:00
Sourie13-Sep-08 8:00 
QuestionEncryption Pin
KreativeKai28-Mar-08 9:21
professionalKreativeKai28-Mar-08 9:21 
GeneralRe: Encryption Pin
AlexeiXX328-Mar-08 9:28
AlexeiXX328-Mar-08 9:28 
GeneralRe: Encryption Pin
KreativeKai31-Mar-08 3:58
professionalKreativeKai31-Mar-08 3:58 
GeneralRe: Encryption Pin
AlexeiXX331-Mar-08 5:30
AlexeiXX331-Mar-08 5:30 
GeneralRe: Encryption Pin
Guffa28-Mar-08 10:38
Guffa28-Mar-08 10:38 
GeneralProblem with datatype in database insert Pin
AAGTHosting28-Mar-08 8:18
AAGTHosting28-Mar-08 8:18 
I have 2 phone number fields in the database that right now are a text dataType. They were an int, then I changed them to varchar(13). When I try to do an insert into the database there is an exception that says the following.

Failed to convert paramater value from a string to an Integer.


Here is my code. I declared addRow globally.

addRow = lpDataSet.Tables("tbl_students").NewRow()
                addRow("stud_cell") = txtStudCell.Text
                addRow("stud_phone") = txtStudPhone.Text

                lpDataSet.Tables("tbl_students").Rows.Add(addRow)

                Try
                    studTableAdapter.Update(addRow)
                Catch err As Exception
                    MessageBox.Show(err.Message)
                End Try

GeneralRe: Problem with datatype in database insert Pin
Dave Kreskowiak28-Mar-08 9:43
mveDave Kreskowiak28-Mar-08 9:43 
GeneralRe: Problem with datatype in database insert Pin
AAGTHosting28-Mar-08 10:11
AAGTHosting28-Mar-08 10:11 
GeneralRe: Problem with datatype in database insert Pin
Dave Kreskowiak28-Mar-08 10:21
mveDave Kreskowiak28-Mar-08 10:21 
GeneralRe: Problem with datatype in database insert Pin
AAGTHosting28-Mar-08 11:08
AAGTHosting28-Mar-08 11:08 
QuestionLaunching a form from a form Pin
Steven J Jowett28-Mar-08 5:21
Steven J Jowett28-Mar-08 5:21 
GeneralRe: Launching a form from a form Pin
Dave Kreskowiak28-Mar-08 6:45
mveDave Kreskowiak28-Mar-08 6:45 
GeneralRe: Launching a form from a form Pin
Steven J Jowett28-Mar-08 7:18
Steven J Jowett28-Mar-08 7:18 
GeneralPlease Reply - this is urgent Pin
sikhan55528-Mar-08 3:15
sikhan55528-Mar-08 3:15 
GeneralRe: Please Reply - this is urgent Pin
Dave Kreskowiak28-Mar-08 4:37
mveDave Kreskowiak28-Mar-08 4:37 
GeneralUnique Record - this is urgent Pin
sikhan55529-Mar-08 0:35
sikhan55529-Mar-08 0:35 
GeneralRe: Unique Record - this is urgent Pin
Dave Kreskowiak29-Mar-08 17:54
mveDave Kreskowiak29-Mar-08 17:54 
GeneralRe: Unique Record - this is urgent Pin
AlexeiXX331-Mar-08 5:36
AlexeiXX331-Mar-08 5:36 
GeneralCreate Installer/setup for Excel 2007 Addins Pin
Rupesh Kumar Swami28-Mar-08 2:51
Rupesh Kumar Swami28-Mar-08 2:51 
Questionhow to fasten form load Pin
ahzarmokhli27-Mar-08 23:22
ahzarmokhli27-Mar-08 23:22 
GeneralRe: how to fasten form load Pin
Christian Graus28-Mar-08 1:43
protectorChristian Graus28-Mar-08 1:43 
GeneralRe: how to fasten form load Pin
darkelv28-Mar-08 2:43
darkelv28-Mar-08 2:43 
GeneralRe: how to fasten form load Pin
Dave Kreskowiak28-Mar-08 4:18
mveDave Kreskowiak28-Mar-08 4:18 

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.