Click here to Skip to main content
15,917,320 members
Home / Discussions / C#
   

C#

 
AnswerRe: shell extention problem on 64 bit PC Pin
Dave Kreskowiak9-Feb-10 2:30
mveDave Kreskowiak9-Feb-10 2:30 
Questioncommand.exe double quoted arguments Pin
stmweb8-Feb-10 15:27
stmweb8-Feb-10 15:27 
AnswerRe: command.exe double quoted arguments Pin
Luc Pattyn8-Feb-10 16:14
sitebuilderLuc Pattyn8-Feb-10 16:14 
GeneralRe: command.exe double quoted arguments Pin
stmweb8-Feb-10 17:11
stmweb8-Feb-10 17:11 
GeneralRe: command.exe double quoted arguments Pin
Luc Pattyn8-Feb-10 23:47
sitebuilderLuc Pattyn8-Feb-10 23:47 
Questionhow would i filter results on my bindingnavigator when using a stored procedure call with linq? Pin
tonyonlinux8-Feb-10 14:54
tonyonlinux8-Feb-10 14:54 
AnswerRe: how would i filter results on my bindingnavigator when using a stored procedure call with linq? Pin
tonyonlinux9-Feb-10 15:37
tonyonlinux9-Feb-10 15:37 
GeneralRe: how would i filter results on my bindingnavigator when using a stored procedure call with linq? Pin
tonyonlinux9-Feb-10 16:53
tonyonlinux9-Feb-10 16:53 
Okay well I got it work sorta but i'm having an issue with the where clause. If i hardcode the value it works fine but when I take and pass it the splitstring[1].tostring() which according to the debugger contains "tony" then i get no results..

 1.
    String[] splitstring = null;
 2.
                        string treeviewtext = treeView1.SelectedNode.Text.Trim();
 3.
                        splitstring = treeviewtext.Split(',');
 4.

 5.
                        var query = from b in db.Books
 6.
                                    join ba in db.BookAuthors on b.ID equals ba.BookID
 7.
                                    join a in db.Authors on ba.AuthorID equals a.ID
 8.
                                    join bn in db.BookNumbers on ba.BookID equals bn.BookID
 9.
                                    where a.AuthorFirst ==splitstring[1].tostring()
10.
                                    select b;


at line 9 if i make that where.a.AuthorFirst == "tony" all is fine
however if i leave it like it is then the query ends up being null. if i set splitstring[1] = "tony" in here specifically then it works. does spaces matter or am I overlooking something simple here ?
QuestionCorrect technique for implementating a modal loop Pin
Jim Crafton8-Feb-10 9:00
Jim Crafton8-Feb-10 9:00 
AnswerRe: Correct technique for implementating a modal loop [modified] Pin
Luc Pattyn8-Feb-10 9:13
sitebuilderLuc Pattyn8-Feb-10 9:13 
Questiondatagridcheckbox in a datagrid Pin
prithaa8-Feb-10 7:06
prithaa8-Feb-10 7:06 
AnswerRe: datagridcheckbox in a datagrid Pin
OriginalGriff8-Feb-10 8:27
mveOriginalGriff8-Feb-10 8:27 
GeneralRe: datagridcheckbox in a datagrid Pin
prithaa8-Feb-10 17:30
prithaa8-Feb-10 17:30 
QuestionSure this has been asked before but can not find answer (c# prototypes) Pin
Andy Braham8-Feb-10 6:16
Andy Braham8-Feb-10 6:16 
AnswerRe: Sure this has been asked before but can not find answer (c# prototypes) Pin
OriginalGriff8-Feb-10 6:27
mveOriginalGriff8-Feb-10 6:27 
GeneralRe: Sure this has been asked before but can not find answer (c# prototypes) Pin
Andy Braham8-Feb-10 7:21
Andy Braham8-Feb-10 7:21 
GeneralRe: Sure this has been asked before but can not find answer (c# prototypes) Pin
Dave Kreskowiak8-Feb-10 7:25
mveDave Kreskowiak8-Feb-10 7:25 
GeneralRe: Sure this has been asked before but can not find answer (c# prototypes) Pin
harold aptroot8-Feb-10 7:40
harold aptroot8-Feb-10 7:40 
GeneralRe: Sure this has been asked before but can not find answer (c# prototypes) Pin
DaveyM698-Feb-10 8:03
professionalDaveyM698-Feb-10 8:03 
AnswerRe: Sure this has been asked before but can not find answer (c# prototypes) Pin
Richard MacCutchan8-Feb-10 6:56
mveRichard MacCutchan8-Feb-10 6:56 
Questionzipping an xml file Pin
Shtel8-Feb-10 4:29
Shtel8-Feb-10 4:29 
AnswerRe: zipping an xml file Pin
musefan8-Feb-10 4:42
musefan8-Feb-10 4:42 
GeneralRe: zipping an xml file Pin
Shtel8-Feb-10 5:01
Shtel8-Feb-10 5:01 
GeneralRe: zipping an xml file Pin
musefan8-Feb-10 5:15
musefan8-Feb-10 5:15 
GeneralRe: zipping an xml file Pin
Shtel8-Feb-10 6:04
Shtel8-Feb-10 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.