Help with SQL query in VB.NET

Status
Not open for further replies.

Sukhdeep Singh

Host4Cheap.org
[SOLVED:MYSELF] Help with SQL query in VB.NET

Hello

I have textbox with text like 10,20,30

I need to know how can i convert this for SQL query like

Code:
where column in ('10','20','30')

Solution
Code:
 Dim sword As String
        sword = Replace(TextBox1.Text, ",", "','")
        sword = "'" & sword & "'"
        TextBox1.Text = sword

Also, does anyone know how to register at
*www.vbforums.com/register.php

I am unable to understand :confused:
NoSpam! verification question At the very top of this page, there is a toolbar containing several links. The first reads "IT", the second reads "Developer", what does the third one say?
Which toolbar ?
 
Last edited:
Status
Not open for further replies.
Top Bottom