Click here to Skip to main content
15,923,273 members
Home / Discussions / C#
   

C#

 
QuestionC# Pin
M aJi D30-Mar-09 7:08
M aJi D30-Mar-09 7:08 
AnswerRe: C# Pin
EliottA30-Mar-09 7:20
EliottA30-Mar-09 7:20 
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 
Hey everyone,

I've got a datagridview linked to an access database with a seach function. It's working well, but with one problem. It only displays the row(s) when you search for the complete User Name. It would be a big time saver if the search would locate any row(s) which contains the txtSearchID, so you would not need to type out the whole user name every time.

At the moment I am using:
Command.CommandText = "SELECT * FROM Users WHERE [User ID] = '" + txtSearchID.Text + "'";<br />
OleDbDataAdapter Adapter = new OleDbDataAdapter(Command);<br />
Adapter.Fill(ds);<br />


I'm sure theres a simple answer, just can't quite figure it out.

Any help greatly appreciated

Martin
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 
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 

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.