Click here to Skip to main content
15,923,197 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionauto upload/export of a downloaded CSV file to SQLSERVER on the server [modified] Pin
amitcoder8310-Jul-06 19:47
amitcoder8310-Jul-06 19:47 
QuestionForms Pin
K71810-Jul-06 16:23
K71810-Jul-06 16:23 
AnswerRe: Forms Pin
Dave Kreskowiak11-Jul-06 4:22
mveDave Kreskowiak11-Jul-06 4:22 
GeneralRe: Forms Pin
K71811-Jul-06 14:59
K71811-Jul-06 14:59 
GeneralRe: Forms Pin
Dave Kreskowiak11-Jul-06 16:58
mveDave Kreskowiak11-Jul-06 16:58 
GeneralRe: Forms Pin
K71811-Jul-06 17:20
K71811-Jul-06 17:20 
GeneralRe: Forms Pin
Dave Kreskowiak12-Jul-06 2:16
mveDave Kreskowiak12-Jul-06 2:16 
QuestionNull value error Pin
str5010-Jul-06 11:51
str5010-Jul-06 11:51 
Hi,

I am getting this error when I try to add null to the value. Operator is not valid for type DBNull and type Date. Not sure how to fix this issue. I tried everything I could, but with no luck. Any help will be appreciated. Thanks
This is the code I have so far, which is causing the error.


comm.CommandText = "Update testbackup set datein = (null) & timein = (null) where barcodeid = '" & DgDisplay.Item(DgDisplay.CurrentRowIndex, 0).ToString & "'"<br />
comm.ExecuteNonQuery()

AnswerRe: Null value error Pin
Christian Graus10-Jul-06 11:52
protectorChristian Graus10-Jul-06 11:52 
QuestionRe: Null value error Pin
str5010-Jul-06 11:56
str5010-Jul-06 11:56 
AnswerRe: Null value error Pin
Christian Graus10-Jul-06 12:05
protectorChristian Graus10-Jul-06 12:05 
QuestionRe: Null value error Pin
str5010-Jul-06 12:10
str5010-Jul-06 12:10 
AnswerRe: Null value error Pin
Christian Graus10-Jul-06 12:14
protectorChristian Graus10-Jul-06 12:14 
GeneralRe: Null value error Pin
str5010-Jul-06 12:19
str5010-Jul-06 12:19 
AnswerRe: Null value error Pin
Colin Angus Mackay10-Jul-06 12:07
Colin Angus Mackay10-Jul-06 12:07 
QuestionRe: Null value error Pin
str5010-Jul-06 12:11
str5010-Jul-06 12:11 
AnswerRe: Null value error Pin
Colin Angus Mackay10-Jul-06 20:21
Colin Angus Mackay10-Jul-06 20:21 
QuestionRe: Null value error Pin
str5011-Jul-06 0:18
str5011-Jul-06 0:18 
QuestionMoving ListViewItem [modified] Pin
MAP Tiger10-Jul-06 9:53
MAP Tiger10-Jul-06 9:53 
AnswerRe: Moving ListViewItem Pin
kumarprabhakar7410-Jul-06 20:18
kumarprabhakar7410-Jul-06 20:18 
GeneralRe: Moving ListViewItem Pin
MAP Tiger10-Jul-06 21:15
MAP Tiger10-Jul-06 21:15 
GeneralRe: Moving ListViewItem Pin
MAP Tiger10-Jul-06 22:10
MAP Tiger10-Jul-06 22:10 
Question.net 1.1 Vs 2.0 Pin
huckeuri10-Jul-06 8:41
huckeuri10-Jul-06 8:41 
QuestionSmtpMail Pin
lula12310-Jul-06 8:02
lula12310-Jul-06 8:02 
GeneralRe: SmtpMail [modified] Pin
Guffa10-Jul-06 9:42
Guffa10-Jul-06 9:42 

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.