Click here to Skip to main content
15,919,434 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Can I connect to MS SQL using HTML & JavaScript? Pin
wikizhao7-Nov-13 22:22
wikizhao7-Nov-13 22:22 
AnswerRe: Can I connect to MS SQL using HTML & JavaScript? Pin
Peter Leow10-Nov-13 16:39
professionalPeter Leow10-Nov-13 16:39 
QuestionOracle 10g connectivity issue with .net 2.0 website hosted on win 2008 server Pin
abhi17_66-Nov-13 4:20
abhi17_66-Nov-13 4:20 
QuestionImplement Custom Membership Provider in n-tier architecture Pin
Member 103823785-Nov-13 11:56
Member 103823785-Nov-13 11:56 
QuestionPage_init with variable Pin
vkEE4-Nov-13 2:30
vkEE4-Nov-13 2:30 
AnswerRe: Page_init with variable Pin
Gopi Kishan Mariyala11-Nov-13 3:52
Gopi Kishan Mariyala11-Nov-13 3:52 
QuestionThe name '###' does not exist in the current context - error Pin
miss7864-Nov-13 0:47
miss7864-Nov-13 0:47 
AnswerRe: The name '###' does not exist in the current context - error Pin
Richard Deeming4-Nov-13 1:38
mveRichard Deeming4-Nov-13 1:38 
GeneralRe: The name '###' does not exist in the current context - error Pin
miss7864-Nov-13 3:38
miss7864-Nov-13 3:38 
GeneralRe: The name '###' does not exist in the current context - error Pin
Richard Deeming4-Nov-13 4:38
mveRichard Deeming4-Nov-13 4:38 
GeneralRe: The name '###' does not exist in the current context - error Pin
miss7865-Nov-13 0:54
miss7865-Nov-13 0:54 
GeneralRe: The name '###' does not exist in the current context - error Pin
Richard Deeming5-Nov-13 1:17
mveRichard Deeming5-Nov-13 1:17 
GeneralRe: The name '###' does not exist in the current context - error Pin
miss7865-Nov-13 1:56
miss7865-Nov-13 1:56 
GeneralRe: The name '###' does not exist in the current context - error Pin
Richard Deeming5-Nov-13 2:04
mveRichard Deeming5-Nov-13 2:04 
GeneralRe: The name '###' does not exist in the current context - error Pin
miss7865-Nov-13 2:56
miss7865-Nov-13 2:56 
GeneralRe: The name '###' does not exist in the current context - error Pin
Richard Deeming5-Nov-13 3:13
mveRichard Deeming5-Nov-13 3:13 
I'm using .NET 4.5.1 and a text editor. As long as you're using .NET 4.0 or higher, it shouldn't make any difference.

Are you seeing an empty chart? The String.Contains method[^] is case-sensitive, so if you type "clavs" you'll get no data back. If you want a case-insensitive search, try using the IndexOf method[^]:

C#
[WebMethod]
public static List<Data> GetData(string name)
{
    var dataList = new List<Data>();

    ...

    return dataList.FindAll(r => r.ColumnName.IndexOf(name, StringComparison.CurrentCultureIgnoreCase) != -1);
}




"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


GeneralRe: The name '###' does not exist in the current context - error Pin
miss7865-Nov-13 3:47
miss7865-Nov-13 3:47 
GeneralRe: The name '###' does not exist in the current context - error Pin
Richard Deeming5-Nov-13 4:14
mveRichard Deeming5-Nov-13 4:14 
GeneralRe: The name '###' does not exist in the current context - error Pin
miss7865-Nov-13 4:28
miss7865-Nov-13 4:28 
GeneralRe: The name '###' does not exist in the current context - error Pin
Richard Deeming5-Nov-13 4:34
mveRichard Deeming5-Nov-13 4:34 
GeneralRe: The name '###' does not exist in the current context - error Pin
miss78611-Nov-13 3:28
miss78611-Nov-13 3:28 
QuestionASP Buttons event not firing Pin
Blikkies3-Nov-13 19:18
professionalBlikkies3-Nov-13 19:18 
AnswerRe: ASP Buttons event not firing Pin
Joshua Omundson4-Nov-13 4:16
Joshua Omundson4-Nov-13 4:16 
GeneralRe: ASP Buttons event not firing Pin
Blikkies4-Nov-13 5:06
professionalBlikkies4-Nov-13 5:06 
GeneralRe: ASP Buttons event not firing Pin
Joshua Omundson5-Nov-13 12:28
Joshua Omundson5-Nov-13 12:28 

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.