Click here to Skip to main content
16,004,977 members
Home / Discussions / C#
   

C#

 
AnswerRe: GridvIewCell Click Pin
Richard MacCutchan30-Apr-10 2:21
mveRichard MacCutchan30-Apr-10 2:21 
QuestionReturning an object from a web service Pin
JohnLBevan30-Apr-10 0:17
professionalJohnLBevan30-Apr-10 0:17 
AnswerRe: Returning an object from a web service [modified] Pin
Peace ON30-Apr-10 1:13
Peace ON30-Apr-10 1:13 
AnswerRe: Returning an object from a web service Pin
Pete O'Hanlon30-Apr-10 1:22
mvePete O'Hanlon30-Apr-10 1:22 
QuestionList of SQL error codes Pin
Yosh_29-Apr-10 23:27
professionalYosh_29-Apr-10 23:27 
AnswerRe: List of SQL error codes Pin
Peace ON29-Apr-10 23:34
Peace ON29-Apr-10 23:34 
AnswerRe: List of SQL error codes Pin
PIEBALDconsult30-Apr-10 5:01
mvePIEBALDconsult30-Apr-10 5:01 
QuestionRemoving special characters from collection of string Pin
dashingsidds29-Apr-10 23:18
dashingsidds29-Apr-10 23:18 
Hi Experts,

I am having a datatable object which is getting populated dynamically. My requirement is that i need to check whether the datatable contains any column with the name of "recordid". I have achieved this by doing the following

m_dataTable.Columns.Contains("recordid")


But my problem is that the column names might not come as "recordid" but might contain special characters. So my column name might be any of (but not restricted to) the following

1. Record Id
2. RECORD ID
3. Record_Id
4. Record-Id

I have a solution of passing each string to a method which is posted on this link but this approach will hamper performance.

Can anyone please help?
Thanks in advance!

Regards,

Samar
AnswerRe: Removing special characters from collection of string Pin
sanforjackass29-Apr-10 23:26
sanforjackass29-Apr-10 23:26 
GeneralRe: Removing special characters from collection of string Pin
dashingsidds29-Apr-10 23:33
dashingsidds29-Apr-10 23:33 
AnswerRe: Removing special characters from collection of string Pin
Peace ON29-Apr-10 23:39
Peace ON29-Apr-10 23:39 
GeneralRe: Removing special characters from collection of string Pin
dashingsidds30-Apr-10 0:09
dashingsidds30-Apr-10 0:09 
AnswerRe: Removing special characters from collection of string Pin
Peace ON2-May-10 23:16
Peace ON2-May-10 23:16 
AnswerRe: Removing special characters from collection of string Pin
OriginalGriff29-Apr-10 23:48
mveOriginalGriff29-Apr-10 23:48 
QuestionCross-thread operation not valid (Custom .NET Marquee Control) Pin
Aaron Radich29-Apr-10 19:35
Aaron Radich29-Apr-10 19:35 
AnswerRe: Cross-thread operation not valid (Custom .NET Marquee Control) Pin
Abhinav S29-Apr-10 19:53
Abhinav S29-Apr-10 19:53 
AnswerRe: Cross-thread operation not valid (Custom .NET Marquee Control) Pin
OriginalGriff29-Apr-10 21:18
mveOriginalGriff29-Apr-10 21:18 
AnswerRe: Cross-thread operation not valid (Custom .NET Marquee Control) Pin
Alan N29-Apr-10 21:32
Alan N29-Apr-10 21:32 
AnswerRe: Cross-thread operation not valid (Custom .NET Marquee Control) Pin
Luc Pattyn30-Apr-10 1:18
sitebuilderLuc Pattyn30-Apr-10 1:18 
Questionwhere to put \ (slash)? Pin
Member 216810329-Apr-10 11:06
Member 216810329-Apr-10 11:06 
AnswerRe: where to put \ (slash)? Pin
Luc Pattyn29-Apr-10 11:34
sitebuilderLuc Pattyn29-Apr-10 11:34 
AnswerRe: where to put \ (slash)? Pin
Member 216810329-Apr-10 13:05
Member 216810329-Apr-10 13:05 
GeneralRe: where to put \ (slash)? Pin
Luc Pattyn29-Apr-10 13:59
sitebuilderLuc Pattyn29-Apr-10 13:59 
AnswerRe: where to put \ (slash)? Pin
Ravi Bhavnani29-Apr-10 13:00
professionalRavi Bhavnani29-Apr-10 13:00 
AnswerRe: where to put \ (slash)? Pin
Member 216810329-Apr-10 22:52
Member 216810329-Apr-10 22:52 

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.