Click here to Skip to main content
15,925,528 members
Home / Discussions / C#
   

C#

 
GeneralEnableVisualStyles() crashes my app! Pin
Anonymous23-Apr-05 10:51
Anonymous23-Apr-05 10:51 
GeneralRe: EnableVisualStyles() crashes my app! Pin
DavidNohejl23-Apr-05 11:08
DavidNohejl23-Apr-05 11:08 
GeneralRe: EnableVisualStyles() crashes my app! Pin
Anonymous23-Apr-05 11:45
Anonymous23-Apr-05 11:45 
GeneralRe: EnableVisualStyles() crashes my app! Pin
DavidNohejl23-Apr-05 11:55
DavidNohejl23-Apr-05 11:55 
GeneralRe: EnableVisualStyles() crashes my app! Pin
Anonymous23-Apr-05 12:26
Anonymous23-Apr-05 12:26 
GeneralRe: EnableVisualStyles() crashes my app! Pin
DavidNohejl23-Apr-05 12:57
DavidNohejl23-Apr-05 12:57 
GeneralRe: EnableVisualStyles() crashes my app! Pin
Anonymous23-Apr-05 13:22
Anonymous23-Apr-05 13:22 
GeneralRe: EnableVisualStyles() crashes my app! Pin
DavidNohejl24-Apr-05 2:06
DavidNohejl24-Apr-05 2:06 
QuestionAutoScroll problem with richTextBox? Pin
Snowjim23-Apr-05 3:36
Snowjim23-Apr-05 3:36 
AnswerRe: AutoScroll problem with richTextBox? Pin
Snowjim23-Apr-05 3:49
Snowjim23-Apr-05 3:49 
GeneralRe: AutoScroll problem with richTextBox? Pin
Snowjim23-Apr-05 12:56
Snowjim23-Apr-05 12:56 
GeneralRe: AutoScroll problem with richTextBox? Pin
Snowjim24-Apr-05 8:44
Snowjim24-Apr-05 8:44 
AnswerRe: AutoScroll problem with richTextBox? Pin
Ashok Dhamija24-Apr-05 19:07
Ashok Dhamija24-Apr-05 19:07 
GeneralRe: AutoScroll problem with richTextBox? Pin
Snowjim26-Apr-05 6:14
Snowjim26-Apr-05 6:14 
Generalcustom data in WS Pin
balkang23-Apr-05 3:29
balkang23-Apr-05 3:29 
Questionhow to update dataset from dataview ? Pin
kings_123-Apr-05 0:07
kings_123-Apr-05 0:07 
AnswerRe: how to update dataset from dataview ? Pin
Polis Pilavas23-Apr-05 5:25
Polis Pilavas23-Apr-05 5:25 
Generalhelp me!!!! Pin
SEAGames2222-Apr-05 23:59
SEAGames2222-Apr-05 23:59 
GeneralRe: help me!!!! Pin
Colin Angus Mackay23-Apr-05 0:33
Colin Angus Mackay23-Apr-05 0:33 
Generalmail api Pin
abandito22-Apr-05 23:53
abandito22-Apr-05 23:53 
GeneralSearch Pin
vuthaianh22-Apr-05 23:33
vuthaianh22-Apr-05 23:33 
GeneralRe: Search Pin
Polis Pilavas23-Apr-05 5:32
Polis Pilavas23-Apr-05 5:32 
vuthaianh wrote:
It may be a stupid question because i'm too

There's no such thing as a stupid question. I think that you would stupid if u never asked. So don't worry about that.

Dynamically constructing an SQL statement is a quite good way to do it actually. To solve the problem you are facing I would either:
(1) Force the users to fill in all the fields (which is not what you are after as u said)
(2) Check for the blank fields and just avoid inserting an "AND" operator for them into your SQL statement. Only handle the fields that were filled by the user.

Hope this helps.

Regards,
Polis

Can you practice what you teach?
GeneralRe: Search Pin
Anonymous24-Apr-05 1:44
Anonymous24-Apr-05 1:44 
GeneralRe: Search Pin
vuthaianh24-Apr-05 13:16
vuthaianh24-Apr-05 13:16 
GeneralFile/Folder properties for multiple files Pin
Anonymous22-Apr-05 17:46
Anonymous22-Apr-05 17:46 

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.