DIGIT-ARC read-only archive · snapshot: July 23, 2026

Help with SQL query in VB.NET

4 posts · originally from https://geek.digit.in/community/threads/help-with-sql-query-in-vb-net.103296/

Sukhdeep Singh
Sukhdeep Singh Original post #1
Nov 30, 2008 at 8:06 PM
[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 ?
QwertyManiac
Dec 1, 2008 at 2:27 AM
It says "News". There's a thin navigation bar on top.
Sukhdeep Singh
Dec 1, 2008 at 10:36 AM
Ah Damn IT.


Kaspersky was blocking that Navbar.....Thanks a lot QwertyManiac
Faun
Faun #4
Dec 1, 2008 at 11:26 AM
lol @ kaspersky :D