Click here to Skip to main content
15,904,416 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# Pin
0x3c030-Mar-09 7:50
0x3c030-Mar-09 7:50 
QuestionFlowchart - approach Pin
dfreeser30-Mar-09 7:06
dfreeser30-Mar-09 7:06 
AnswerRe: Flowchart - approach Pin
dfreeser30-Mar-09 8:37
dfreeser30-Mar-09 8:37 
QuestionSetting the httprequestheader.date Pin
MVMaasakkers30-Mar-09 6:56
MVMaasakkers30-Mar-09 6:56 
AnswerRe: Setting the httprequestheader.date Pin
Ravi Bhavnani30-Mar-09 12:00
professionalRavi Bhavnani30-Mar-09 12:00 
QuestionSearching within datagridview Pin
Martin3108830-Mar-09 6:18
Martin3108830-Mar-09 6:18 
AnswerRe: Searching within datagridview Pin
celso_cabaleiro30-Mar-09 6:34
celso_cabaleiro30-Mar-09 6:34 
AnswerRe: Searching within datagridview Pin
musefan30-Mar-09 6:54
musefan30-Mar-09 6:54 
you will want to use 'LIKE' instead of '='

example...

Command.CommandText = "SELECT * FROM Users WHERE [User ID] LIKE '%" + txtSearchID.Text + "%'";



of course what you really want to do is...


Command.CommandText = "SELECT * FROM Users WHERE [User ID] LIKE '%@1'";
Command.Parameters.Add("@1", OleDbType.Char).Value = txtSearchID.Text;


Life goes very fast. Tomorrow, today is already yesterday.

GeneralRe: Searching within datagridview Pin
celso_cabaleiro30-Mar-09 7:07
celso_cabaleiro30-Mar-09 7:07 
GeneralRe: Searching within datagridview Pin
musefan30-Mar-09 7:12
musefan30-Mar-09 7:12 
GeneralRe: Searching within datagridview Pin
celso_cabaleiro30-Mar-09 7:25
celso_cabaleiro30-Mar-09 7:25 
GeneralRe: Searching within datagridview Pin
musefan30-Mar-09 7:32
musefan30-Mar-09 7:32 
GeneralRe: Searching within datagridview Pin
celso_cabaleiro30-Mar-09 7:41
celso_cabaleiro30-Mar-09 7:41 
QuestionPrinting Pin
mark_w_30-Mar-09 5:59
mark_w_30-Mar-09 5:59 
AnswerRe: Printing Pin
Yusuf30-Mar-09 6:14
Yusuf30-Mar-09 6:14 
GeneralRe: Printing Pin
mark_w_30-Mar-09 6:22
mark_w_30-Mar-09 6:22 
QuestionHow to find status of usercontrol wether it is cleared or not Pin
Narendra Reddy Vajrala30-Mar-09 5:40
Narendra Reddy Vajrala30-Mar-09 5:40 
AnswerRe: How to find status of usercontrol wether it is cleared or not Pin
musefan30-Mar-09 6:47
musefan30-Mar-09 6:47 
GeneralRe: How to find status of usercontrol wether it is cleared or not Pin
Narendra Reddy Vajrala31-Mar-09 2:29
Narendra Reddy Vajrala31-Mar-09 2:29 
QuestionHow Syncronize..in C#??? Pin
VisualLive30-Mar-09 5:16
VisualLive30-Mar-09 5:16 
AnswerRe: How Syncronize..in C#??? Pin
dan!sh 30-Mar-09 5:44
professional dan!sh 30-Mar-09 5:44 
AnswerRe: How Syncronize..in C#??? Pin
lisan_al_ghaib30-Mar-09 5:44
lisan_al_ghaib30-Mar-09 5:44 
GeneralRe: How Syncronize..in C#??? Pin
VisualLive30-Mar-09 6:04
VisualLive30-Mar-09 6:04 
Questionupadated html format of google images seacrh result Pin
yogesh_deshmukh30-Mar-09 4:54
yogesh_deshmukh30-Mar-09 4:54 
AnswerRe: upadated html format of google images seacrh result Pin
SeMartens30-Mar-09 5:10
SeMartens30-Mar-09 5:10 

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.