Click here to Skip to main content
15,902,299 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionUsing FaceBook in ASP Pin
Anil Kumar.Arvapalli28-Dec-09 3:36
Anil Kumar.Arvapalli28-Dec-09 3:36 
AnswerRe: Using FaceBook in ASP Pin
sashidhar28-Dec-09 6:13
sashidhar28-Dec-09 6:13 
QuestionDatabase searching Pin
sv_vasja28-Dec-09 1:17
sv_vasja28-Dec-09 1:17 
AnswerRe: Database searching Pin
ProtoBytes28-Dec-09 12:33
ProtoBytes28-Dec-09 12:33 
GeneralRe: Database searching Pin
sv_vasja28-Dec-09 21:19
sv_vasja28-Dec-09 21:19 
GeneralRe: Database searching [Null Values] Pin
ProtoBytes29-Dec-09 3:27
ProtoBytes29-Dec-09 3:27 
GeneralRe: Database searching [Null Values] Pin
sv_vasja29-Dec-09 21:35
sv_vasja29-Dec-09 21:35 
GeneralRe: Database searching [Null Values] Pin
ProtoBytes30-Dec-09 3:30
ProtoBytes30-Dec-09 3:30 
Well the example only lists the two values.

If there are many values the dynamic LINQ would still do this, just build the query for the values you do have.

Another way to do it might be to change the input to the LINQ method to take an array.

static void myLINQ(String[] s)
{
  for(int i=0;i<s.Count;i++)
  {
    if(s[i] == null)
      s[i] = "";
  }

  //Then build the LINQ dynamically...
}


There are several example here on The Code Project on Dynamic LINQ:

Dynamic LINQ Queries[^]

Google friendly search:

Dynamic LINq c# site:codeproject.com
QuestionOnline Update Issue! Pin
Sr...Frank27-Dec-09 23:54
Sr...Frank27-Dec-09 23:54 
AnswerRe: Online Update Issue! Pin
Sr...Frank28-Dec-09 4:53
Sr...Frank28-Dec-09 4:53 
QuestionRow should be bold in SSRS Pin
siddisagar27-Dec-09 20:27
siddisagar27-Dec-09 20:27 
AnswerRe: Row should be bold in SSRS Pin
sashidhar27-Dec-09 21:27
sashidhar27-Dec-09 21:27 
GeneralRe: Row should be bold in SSRS Pin
siddisagar27-Dec-09 23:58
siddisagar27-Dec-09 23:58 
GeneralRe: Row should be bold in SSRS Pin
sashidhar28-Dec-09 0:13
sashidhar28-Dec-09 0:13 
QuestionHow to check cookies are enable or disable in borwser Pin
Samarjeet Singh@india27-Dec-09 20:12
Samarjeet Singh@india27-Dec-09 20:12 
AnswerRe: How to check cookies are enable or disable in borwser Pin
Abhishek Sur27-Dec-09 20:23
professionalAbhishek Sur27-Dec-09 20:23 
GeneralRe: How to check cookies are enable or disable in borwser Pin
Samarjeet Singh@india27-Dec-09 20:57
Samarjeet Singh@india27-Dec-09 20:57 
GeneralRe: How to check cookies are enable or disable in borwser Pin
Abhishek Sur27-Dec-09 21:32
professionalAbhishek Sur27-Dec-09 21:32 
GeneralRe: How to check cookies are enable or disable in borwser Pin
Samarjeet Singh@india27-Dec-09 22:02
Samarjeet Singh@india27-Dec-09 22:02 
GeneralRe: How to check cookies are enable or disable in borwser Pin
Abhishek Sur27-Dec-09 22:11
professionalAbhishek Sur27-Dec-09 22:11 
GeneralRe: How to check cookies are enable or disable in borwser Pin
Samarjeet Singh@india27-Dec-09 22:35
Samarjeet Singh@india27-Dec-09 22:35 
GeneralRe: How to check cookies are enable or disable in borwser Pin
geeeeeeeetha27-Dec-09 23:34
geeeeeeeetha27-Dec-09 23:34 
GeneralRe: How to check cookies are enable or disable in borwser Pin
Samarjeet Singh@india28-Dec-09 1:04
Samarjeet Singh@india28-Dec-09 1:04 
GeneralRe: How to check cookies are enable or disable in borwser Pin
Abhishek Sur28-Dec-09 4:45
professionalAbhishek Sur28-Dec-09 4:45 
QuestionGridView SelectedIndex error:'Index out of range' Pin
MATTXtwo27-Dec-09 17:35
MATTXtwo27-Dec-09 17:35 

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.