Click here to Skip to main content
15,887,746 members
Home / Discussions / C#
   

C#

 
GeneralRe: Could not load type (X) from assembly (XX) Pin
WebMaster31-Aug-10 10:14
WebMaster31-Aug-10 10:14 
AnswerRe: Could not load type (X) from assembly (XX) Pin
PIEBALDconsult31-Aug-10 10:56
mvePIEBALDconsult31-Aug-10 10:56 
QuestionPassing Linq query results to a different function Pin
Swiftain31-Aug-10 3:57
Swiftain31-Aug-10 3:57 
AnswerRe: Passing Linq query results to a different function Pin
brunoseixas31-Aug-10 4:28
brunoseixas31-Aug-10 4:28 
GeneralRe: Passing Linq query results to a different function Pin
Swiftain31-Aug-10 4:41
Swiftain31-Aug-10 4:41 
GeneralRe: Passing Linq query results to a different function Pin
Not Active31-Aug-10 4:44
mentorNot Active31-Aug-10 4:44 
GeneralRe: Passing Linq query results to a different function Pin
Swiftain31-Aug-10 4:48
Swiftain31-Aug-10 4:48 
GeneralRe: Passing Linq query results to a different function Pin
Ian Shlasko31-Aug-10 5:26
Ian Shlasko31-Aug-10 5:26 
Create a structure to represent your query results, instead of using anonymous types. Then you know what kind of IEnumerable it is.

Alternatively, make your Bind function generic, like so:

public void BindGridData<T>(IEnumerable<T> result)
{
  gridView.DataSource = result;
  gridView.DataBind();
}

Proud to have finally moved to the A-Ark. Which one are you in?
Author of the Guardians Saga (Sci-Fi/Fantasy novels)

GeneralRe: Passing Linq query results to a different function Pin
Swiftain31-Aug-10 5:42
Swiftain31-Aug-10 5:42 
GeneralRe: Passing Linq query results to a different function Pin
Not Active31-Aug-10 5:50
mentorNot Active31-Aug-10 5:50 
GeneralRe: Passing Linq query results to a different function Pin
Swiftain31-Aug-10 5:54
Swiftain31-Aug-10 5:54 
GeneralRe: Passing Linq query results to a different function Pin
Ian Shlasko31-Aug-10 6:17
Ian Shlasko31-Aug-10 6:17 
GeneralRe: Passing Linq query results to a different function Pin
Not Active31-Aug-10 6:17
mentorNot Active31-Aug-10 6:17 
GeneralRe: Passing Linq query results to a different function Pin
Swiftain31-Aug-10 22:04
Swiftain31-Aug-10 22:04 
GeneralRe: Passing Linq query results to a different function Pin
Not Active1-Sep-10 1:41
mentorNot Active1-Sep-10 1:41 
GeneralRe: Passing Linq query results to a different function [modified] Pin
Not Active31-Aug-10 5:46
mentorNot Active31-Aug-10 5:46 
GeneralRe: Passing Linq query results to a different function Pin
Swiftain31-Aug-10 5:55
Swiftain31-Aug-10 5:55 
GeneralRe: Passing Linq query results to a different function Pin
Not Active31-Aug-10 6:13
mentorNot Active31-Aug-10 6:13 
QuestionProblem with ToolStrip and ToolStripButtons Pin
Dewald31-Aug-10 2:50
Dewald31-Aug-10 2:50 
AnswerRe: Problem with ToolStrip and ToolStripButtons Pin
phil.o31-Aug-10 2:56
professionalphil.o31-Aug-10 2:56 
GeneralRe: Problem with ToolStrip and ToolStripButtons Pin
Dewald31-Aug-10 3:11
Dewald31-Aug-10 3:11 
GeneralRe: Problem with ToolStrip and ToolStripButtons Pin
phil.o31-Aug-10 3:37
professionalphil.o31-Aug-10 3:37 
GeneralRe: Problem with ToolStrip and ToolStripButtons Pin
Dewald31-Aug-10 4:35
Dewald31-Aug-10 4:35 
GeneralRe: Problem with ToolStrip and ToolStripButtons Pin
phil.o31-Aug-10 4:50
professionalphil.o31-Aug-10 4:50 
QuestionChanging font style of TabControl Text Pin
NarVish31-Aug-10 1:36
NarVish31-Aug-10 1:36 

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.