Click here to Skip to main content
15,889,367 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionsyntax error Pin
peteyshrew16-May-07 3:05
peteyshrew16-May-07 3:05 
AnswerRe: syntax error Pin
andyharman16-May-07 3:53
professionalandyharman16-May-07 3:53 
GeneralRe: syntax error Pin
peteyshrew16-May-07 4:19
peteyshrew16-May-07 4:19 
QuestionInsert Stored Procedure taking values from vb Help Pin
Vimalsoft(Pty) Ltd16-May-07 3:00
professionalVimalsoft(Pty) Ltd16-May-07 3:00 
AnswerRe: Insert Stored Procedure taking values from vb Help Pin
Dave Kreskowiak16-May-07 4:11
mveDave Kreskowiak16-May-07 4:11 
GeneralRe: Insert Stored Procedure taking values from vb Help Pin
Vimalsoft(Pty) Ltd16-May-07 4:19
professionalVimalsoft(Pty) Ltd16-May-07 4:19 
GeneralRe: Insert Stored Procedure taking values from vb Help [modified] Pin
Vimalsoft(Pty) Ltd16-May-07 4:19
professionalVimalsoft(Pty) Ltd16-May-07 4:19 
GeneralRe: Insert Stored Procedure taking values from vb Help Pin
Dave Kreskowiak16-May-07 4:31
mveDave Kreskowiak16-May-07 4:31 
This question was already answered a few hours ago. My answer isn't going to change. You absolutely NEED to validate the data in the textboxs and convert it to the appropriate types expected by your fields.

Like was said before, you're trying to assign a string to a numeric field, hence the error you're getting. Convert the string in the TextBox to a valid number BEFORE you assign it to your field.


A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


Questionhow do i edit a selected row or record in sql database through datagrid during runtime? Pin
sathyan_829416-May-07 2:51
sathyan_829416-May-07 2:51 
AnswerRe: how do i edit a selected row or record in sql database through datagrid during runtime? Pin
Dave Kreskowiak16-May-07 4:29
mveDave Kreskowiak16-May-07 4:29 
AnswerRe: how do i edit a selected row or record in sql database through datagrid during runtime? Pin
Xandip16-May-07 18:32
Xandip16-May-07 18:32 
Questionfitting application screen resolution and size Pin
balakpn16-May-07 2:44
balakpn16-May-07 2:44 
AnswerRe: fitting application screen resolution and size Pin
Dave Kreskowiak16-May-07 4:26
mveDave Kreskowiak16-May-07 4:26 
GeneralRe: fitting application screen resolution and size Pin
balakpn16-May-07 20:42
balakpn16-May-07 20:42 
GeneralRe: fitting application screen resolution and size Pin
Dave Kreskowiak17-May-07 2:44
mveDave Kreskowiak17-May-07 2:44 
QuestionHow to convert HTML to Doc, pdf, rtf Pin
Kumaran21cen16-May-07 1:54
Kumaran21cen16-May-07 1:54 
AnswerRe: How to convert HTML to Doc, pdf, rtf Pin
andyharman16-May-07 3:59
professionalandyharman16-May-07 3:59 
QuestionLevel Output Meter Pin
mweingart16-May-07 0:13
mweingart16-May-07 0:13 
AnswerRe: Level Output Meter Pin
Xandip16-May-07 0:19
Xandip16-May-07 0:19 
GeneralRe: Level Output Meter Pin
mweingart16-May-07 0:42
mweingart16-May-07 0:42 
AnswerRe: Level Output Meter Pin
Dave Kreskowiak16-May-07 4:17
mveDave Kreskowiak16-May-07 4:17 
QuestionHow do i work with PDF files in vb.net Pin
koolprasad200315-May-07 23:16
professionalkoolprasad200315-May-07 23:16 
AnswerRe: How do i work with PDF files in vb.net Pin
Christian Graus16-May-07 0:54
protectorChristian Graus16-May-07 0:54 
GeneralRe: How do i work with PDF files in vb.net Pin
koolprasad200316-May-07 1:21
professionalkoolprasad200316-May-07 1:21 
Questionanyone know how to edit the item in listview with vb.net? Pin
charleslau285515-May-07 23:04
charleslau285515-May-07 23:04 

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.