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

Visual Basic

 
QuestionUploading binary file by using Inputsteam [modified] Pin
jibcht2-Jul-06 17:19
jibcht2-Jul-06 17:19 
QuestionOracle 9.2 Stored Procedure help in VB .NET Pin
mikewypy2-Jul-06 14:18
mikewypy2-Jul-06 14:18 
AnswerRe: Oracle 9.2 Stored Procedure help in VB .NET Pin
Colin Angus Mackay2-Jul-06 19:30
Colin Angus Mackay2-Jul-06 19:30 
GeneralRe: Oracle 9.2 Stored Procedure help in VB .NET Pin
User 17164923-Jul-06 4:55
professionalUser 17164923-Jul-06 4:55 
Questioncontrol Pin
Mr kilany2-Jul-06 6:54
Mr kilany2-Jul-06 6:54 
AnswerRe: control Pin
Dave Kreskowiak3-Jul-06 2:20
mveDave Kreskowiak3-Jul-06 2:20 
QuestionSQL Script to delete empty rows in a table Pin
Rashar2-Jul-06 5:17
Rashar2-Jul-06 5:17 
AnswerRe: SQL Script to delete empty rows in a table Pin
Colin Angus Mackay2-Jul-06 6:12
Colin Angus Mackay2-Jul-06 6:12 
Rashar wrote:
strSQL = DELETE FROM tblProducts WHERE prodID = & " "


Aren't your quotes in the wrong place?


Rashar wrote:
How do you delete a row in vb.net where there is blank data?


What do you mean by "blank data"? From the two examples you gave you appear to be trying to check whether prodID is an empty string (or is that a string with one space), or possibly if it is NULL.

strSQL = "DELETE FROM tblProducts WHERE prodID IS NULL"
or
strSQL = "DELETE FROM tblProducts WHERE prodID = ''"
The first checks for a null (i.e. the absense of any value), the second checks to see if the value is an empty string.

One of these is likely what you want - but you'll have to be more definite about what consitutes "blank data" in your vocabulary.


Scottish Developers events:
* .NET debugging, tracing and instrumentation by Duncan Edwards Jones and Code Coverage in .NET by Craig Murphy
* Developer Day Scotland: are you interested in speaking or attending?

My: Website | Blog
GeneralRe: SQL Script to delete empty rows in a table Pin
Rashar2-Jul-06 16:49
Rashar2-Jul-06 16:49 
GeneralRe: SQL Script to delete empty rows in a table [modified] Pin
Dave Kreskowiak3-Jul-06 2:06
mveDave Kreskowiak3-Jul-06 2:06 
GeneralRe: SQL Script to delete empty rows in a table Pin
Rashar3-Jul-06 4:42
Rashar3-Jul-06 4:42 
GeneralRe: SQL Script to delete empty rows in a table Pin
Dave Kreskowiak3-Jul-06 4:58
mveDave Kreskowiak3-Jul-06 4:58 
QuestionNon-stop Progress Bar Pin
J Liang2-Jul-06 3:34
J Liang2-Jul-06 3:34 
AnswerRe: Non-stop Progress Bar Pin
Mekong River2-Jul-06 4:02
Mekong River2-Jul-06 4:02 
GeneralRe: Non-stop Progress Bar Pin
J Liang6-Jul-06 6:04
J Liang6-Jul-06 6:04 
GeneralRe: Non-stop Progress Bar Pin
Mekong River6-Jul-06 15:14
Mekong River6-Jul-06 15:14 
GeneralRe: Non-stop Progress Bar Pin
J Liang6-Jul-06 20:14
J Liang6-Jul-06 20:14 
GeneralRe: Non-stop Progress Bar Pin
Mekong River6-Jul-06 21:28
Mekong River6-Jul-06 21:28 
AnswerRe: Non-stop Progress Bar Pin
HakunaMatada3-Jul-06 0:33
HakunaMatada3-Jul-06 0:33 
GeneralRe: Non-stop Progress Bar Pin
Dave Kreskowiak3-Jul-06 2:04
mveDave Kreskowiak3-Jul-06 2:04 
GeneralRe: Non-stop Progress Bar Pin
HakunaMatada3-Jul-06 2:56
HakunaMatada3-Jul-06 2:56 
GeneralRe: Non-stop Progress Bar Pin
Dave Kreskowiak3-Jul-06 4:27
mveDave Kreskowiak3-Jul-06 4:27 
GeneralRe: Non-stop Progress Bar Pin
J Liang6-Jul-06 6:02
J Liang6-Jul-06 6:02 
Questionchange font name in the rich text box Pin
komarko20012-Jul-06 1:21
komarko20012-Jul-06 1:21 
AnswerRe: change font name in the rich text box Pin
Mekong River2-Jul-06 4:07
Mekong River2-Jul-06 4:07 

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.