Click here to Skip to main content
15,892,537 members
Home / Discussions / C#
   

C#

 
QuestionHow to Convert Image data into Data formet through OCR scaning technology Pin
meygnanam.p19-Feb-10 19:05
meygnanam.p19-Feb-10 19:05 
AnswerRe: How to Convert Image data into Data formet through OCR scaning technology Pin
Saksida Bojan19-Feb-10 20:47
Saksida Bojan19-Feb-10 20:47 
AnswerRe: How to Convert Image data into Data formet through OCR scaning technology Pin
Wamuti19-Feb-10 21:32
Wamuti19-Feb-10 21:32 
QuestionFormatting text in text boxes Pin
ASPnoob19-Feb-10 16:59
ASPnoob19-Feb-10 16:59 
AnswerRe: Formatting text in text boxes Pin
tonyonlinux19-Feb-10 17:14
tonyonlinux19-Feb-10 17:14 
GeneralRe: Formatting text in text boxes Pin
AspDotNetDev19-Feb-10 17:19
protectorAspDotNetDev19-Feb-10 17:19 
AnswerRe: Formatting text in text boxes Pin
AspDotNetDev19-Feb-10 17:16
protectorAspDotNetDev19-Feb-10 17:16 
Questionhow would i do a groupby in this instance ?[modified] Pin
tonyonlinux19-Feb-10 16:54
tonyonlinux19-Feb-10 16:54 
How would I do something like this
var distinctBooks = query
                                                 .GroupBy(x => x.BookID)
                                                 .Select(x => x.FirstOrDefault());


to this
List<FillGrid> query = (from b in db.Books
                                                                            join ba in db.BookAuthors on b.ID equals ba.BookID
                                                                            join a in db.Authors on ba.AuthorID equals a.ID
                                                                            join bn in db.BookNumbers on b.ID equals bn.BookID
                                                                            where a.AuthorFirst == splitstring[1].ToString() && a.AuthorLast == splitstring[0].ToString()
                                                                            select new FillGrid
                                                                            {
                                                                                AuthorID = a.ID,
                                                                                Author = string.Format("{0} {1}", a.AuthorFirst, a.AuthorLast),
                                                                                Title = b.Title,
                                                                                Price = (decimal)b.Price,
                                                                                BookNumber = bn.SurrogateNumber,
                                                                                BookID = b.ID,
                                                                                Count = db.BookNumbers.Count(c => c.BookID == b.ID)
                                                                            }).ToList();


I keep getting a conversion error...
I also tried taking and doing query.tolist().firstordefault(); still no go any help would be great thanks
AnswerRe: how would i do a groupby in this instance Pin
Dan Mos19-Feb-10 17:21
Dan Mos19-Feb-10 17:21 
GeneralRe: how would i do a groupby in this instance Pin
tonyonlinux19-Feb-10 18:05
tonyonlinux19-Feb-10 18:05 
GeneralRe: how would i do a groupby in this instance Pin
Dan Mos19-Feb-10 18:41
Dan Mos19-Feb-10 18:41 
GeneralRe: how would i do a groupby in this instance Pin
tonyonlinux19-Feb-10 18:55
tonyonlinux19-Feb-10 18:55 
QuestionMoving form without showing contents Pin
desto-tj19-Feb-10 14:55
desto-tj19-Feb-10 14:55 
GeneralREPOST Pin
AspDotNetDev19-Feb-10 15:07
protectorAspDotNetDev19-Feb-10 15:07 
AnswerRe: Moving form without showing contents Pin
Som Shekhar19-Feb-10 18:57
Som Shekhar19-Feb-10 18:57 
GeneralRe: Moving form without showing contents Pin
desto-tj19-Feb-10 20:38
desto-tj19-Feb-10 20:38 
GeneralRe: Moving form without showing contents Pin
Som Shekhar19-Feb-10 20:59
Som Shekhar19-Feb-10 20:59 
GeneralRe: Moving form without showing contents Pin
desto-tj19-Feb-10 21:08
desto-tj19-Feb-10 21:08 
GeneralRe: Moving form without showing contents Pin
Dan Mos20-Feb-10 21:16
Dan Mos20-Feb-10 21:16 
QuestionAbout property grid. Pin
gaferrero19-Feb-10 13:57
gaferrero19-Feb-10 13:57 
AnswerRe: About property grid. Pin
AspDotNetDev19-Feb-10 14:13
protectorAspDotNetDev19-Feb-10 14:13 
Questioninternet Pin
sanforjackass19-Feb-10 11:58
sanforjackass19-Feb-10 11:58 
AnswerRe: internet Pin
AspDotNetDev19-Feb-10 12:28
protectorAspDotNetDev19-Feb-10 12:28 
GeneralRe: internet Pin
sanforjackass19-Feb-10 12:40
sanforjackass19-Feb-10 12:40 
GeneralRe: internet Pin
AspDotNetDev19-Feb-10 12:46
protectorAspDotNetDev19-Feb-10 12: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.