Click here to Skip to main content
15,913,685 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Three tier example in ASP.Net Pin
minhpc_bk4-May-06 17:18
minhpc_bk4-May-06 17:18 
QuestionVWD.Net, SQL and ASP.Net Pin
arstacey764-May-06 10:56
arstacey764-May-06 10:56 
AnswerRe: VWD.Net, SQL and ASP.Net Pin
minhpc_bk4-May-06 17:28
minhpc_bk4-May-06 17:28 
GeneralRe: VWD.Net, SQL and ASP.Net Pin
arstacey765-May-06 2:01
arstacey765-May-06 2:01 
Questionimporting VS created classes into dreamweaver Pin
stacyF4-May-06 8:48
stacyF4-May-06 8:48 
QuestionEXCEL and ASP.Net Pin
VK-Link4-May-06 8:27
VK-Link4-May-06 8:27 
AnswerRe: EXCEL and ASP.Net Pin
minhpc_bk4-May-06 17:37
minhpc_bk4-May-06 17:37 
QuestionQuery SQL DB from VB.NET Pin
MontenegroATL4-May-06 8:22
MontenegroATL4-May-06 8:22 
Hello,

I am playing with ways to set query command in VB.NET to retrieve set of records from SQL DB. I know basic sytanx and it works well.
However I can not get this to work.
I have a textbox where users enters a name of broker and then when clicks Search button, data grid gets populated with all broker info. This works well if name that user entered exists in SQL DB.
My goal was to have this same result, but when users enters partial name too.
Example: Full broker name: Mike Tyson
Partial broker name: Mi
This is the string I used but it does not work:

Dim strSQL As String = "SELECT * FROM broker
where name like '" & strName& "%'"

This returns error : Index was outside the bounds of the array.

If I enter this command directly in SQL Analyzer as
SELECT * FROM broker where name like 'Mi%' it works just fine.

What I am missing???


AnswerRe: Query SQL DB from VB.NET Pin
minhpc_bk4-May-06 17:47
minhpc_bk4-May-06 17:47 
QuestionHow to detect browser-close (X) event in ASP.net Pin
Rajesh_K_Sharma4-May-06 8:17
Rajesh_K_Sharma4-May-06 8:17 
AnswerRe: How to detect browser-close (X) event in ASP.net Pin
minhpc_bk4-May-06 17:51
minhpc_bk4-May-06 17:51 
QuestionFree ASP hosts needed Pin
ISIS554-May-06 8:13
ISIS554-May-06 8:13 
AnswerRe: Free ASP hosts needed Pin
Neeraj Arora4-May-06 20:49
Neeraj Arora4-May-06 20:49 
GeneralRe: Free ASP hosts needed Pin
ISIS554-May-06 22:44
ISIS554-May-06 22:44 
Questioncheckbox control and rowID Pin
karinb4-May-06 5:43
karinb4-May-06 5:43 
AnswerRe: checkbox control and rowID Pin
Paddy Boyd4-May-06 5:54
Paddy Boyd4-May-06 5:54 
AnswerRe: checkbox control and rowID Pin
MontenegroATL4-May-06 8:29
MontenegroATL4-May-06 8:29 
GeneralRe: checkbox control and rowID Pin
karinb9-May-06 8:58
karinb9-May-06 8:58 
QuestionFREE !!!! ASP.NET Resources Pin
dotnetguide4-May-06 5:06
dotnetguide4-May-06 5:06 
AnswerRe: FREE !!!! ASP.NET Resources Pin
Guffa4-May-06 6:23
Guffa4-May-06 6:23 
QuestionHelp me..with this message..The server viewstate cache has timed out Pin
jorgeils4-May-06 4:04
jorgeils4-May-06 4:04 
QuestionUsing CommandArgument inside a DataList geeks out Pin
Ista4-May-06 3:47
Ista4-May-06 3:47 
AnswerRe: Using CommandArgument inside a DataList geeks out Pin
minhpc_bk4-May-06 16:06
minhpc_bk4-May-06 16:06 
GeneralRe: Using CommandArgument inside a DataList geeks out Pin
Ista4-May-06 16:29
Ista4-May-06 16:29 
GeneralRe: Using CommandArgument inside a DataList geeks out Pin
minhpc_bk4-May-06 16:50
minhpc_bk4-May-06 16:50 

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.