Click here to Skip to main content
16,005,281 members
Home / Discussions / C#
   

C#

 
GeneralRe: Select Statement Pin
Heath Stewart12-Oct-04 7:17
protectorHeath Stewart12-Oct-04 7:17 
GeneralRe: Select Statement Pin
pat27088112-Oct-04 7:36
pat27088112-Oct-04 7:36 
GeneralRe: Select Statement Pin
Heath Stewart12-Oct-04 7:52
protectorHeath Stewart12-Oct-04 7:52 
GeneralRe: Select Statement Pin
pat27088112-Oct-04 8:43
pat27088112-Oct-04 8:43 
GeneralRe: Select Statement Pin
Dave Kreskowiak12-Oct-04 9:07
mveDave Kreskowiak12-Oct-04 9:07 
GeneralRe: Select Statement Pin
pat27088112-Oct-04 9:15
pat27088112-Oct-04 9:15 
GeneralRe: Select Statement Pin
Dave Kreskowiak12-Oct-04 10:16
mveDave Kreskowiak12-Oct-04 10:16 
GeneralRe: Select Statement Pin
pat27088112-Oct-04 10:28
pat27088112-Oct-04 10:28 
Really, that specification of that field is NVarChar(50) - I can send you the tables, if you want.

With direct mean, if I write it in that way

SqlCeCommand cmd = new SqlCeCommand(@"
SELECT Priority, Problem, EmailClient
FROM JobDescription
WHERE EngineerUserId = 'hattl70'
ORDER BY Priority");

cmd.Connection = new SqlCeConnection( strConn );

dataSet = new DataSet();

daptJobs = new SqlCeDataAdapter(cmd);
daptJobs.Fill(dataSet,"Jobs");
dtabJobs = dataSet.Tables["Jobs"];
dgridDisplay.DataSource = dtabJobs;

MobileHelpDesk.UtilGUI.AddCustomDataTableStyle(dgridDisplay,"Jobs");

When i quote a certain value of the field, for example hattl70 than the corresponding rows are display without an error.
Can you explain that yourselves??Frown | :( Believe me I tried so much, nearly the whole day.

regards

patrick
GeneralRe: Select Statement Pin
Heath Stewart12-Oct-04 10:53
protectorHeath Stewart12-Oct-04 10:53 
GeneralRe: Select Statement Pin
Dave Kreskowiak12-Oct-04 11:20
mveDave Kreskowiak12-Oct-04 11:20 
GeneralRe: Select Statement Pin
Heath Stewart12-Oct-04 11:49
protectorHeath Stewart12-Oct-04 11:49 
GeneralRe: Select Statement Pin
Heath Stewart12-Oct-04 10:52
protectorHeath Stewart12-Oct-04 10:52 
GeneralRe: Select Statement Pin
pat27088112-Oct-04 11:51
pat27088112-Oct-04 11:51 
GeneralRe: Select Statement Pin
Heath Stewart12-Oct-04 13:45
protectorHeath Stewart12-Oct-04 13:45 
GeneralRe: Select Statement Pin
pat27088112-Oct-04 12:35
pat27088112-Oct-04 12:35 
GeneralRe: Select Statement Pin
Heath Stewart12-Oct-04 13:41
protectorHeath Stewart12-Oct-04 13:41 
GeneralRe: Select Statement Pin
pat27088112-Oct-04 21:26
pat27088112-Oct-04 21:26 
GeneralRe: Select Statement Pin
Heath Stewart13-Oct-04 5:22
protectorHeath Stewart13-Oct-04 5:22 
GeneralRe: Select Statement Pin
pat27088113-Oct-04 6:03
pat27088113-Oct-04 6:03 
GeneralRe: Select Statement Pin
Mike Dimmick12-Oct-04 9:19
Mike Dimmick12-Oct-04 9:19 
GeneralRe: Select Statement Pin
pat27088112-Oct-04 9:23
pat27088112-Oct-04 9:23 
GeneralRe: Select Statement Pin
pat27088112-Oct-04 9:58
pat27088112-Oct-04 9:58 
GeneralRe: Select Statement Pin
pat27088112-Oct-04 2:49
pat27088112-Oct-04 2:49 
GeneralRe: Select Statement Pin
Colin Angus Mackay12-Oct-04 3:17
Colin Angus Mackay12-Oct-04 3:17 
GeneralRe: Select Statement Pin
pat27088112-Oct-04 4:49
pat27088112-Oct-04 4:49 

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.