Click here to Skip to main content
15,895,799 members
Home / Discussions / C#
   

C#

 
QuestionHow can I extrude ESCAPE CHARACTERS from a string ? [modified] Pin
Mohammad Dayyan11-Aug-08 11:56
Mohammad Dayyan11-Aug-08 11:56 
AnswerRe: How can I extrude ESCAPE CHARACTERS from a string ? Pin
Yusuf11-Aug-08 13:13
Yusuf11-Aug-08 13:13 
GeneralRe: How can I extrude ESCAPE CHARACTERS from a string ? Pin
Mohammad Dayyan11-Aug-08 14:21
Mohammad Dayyan11-Aug-08 14:21 
QuestionDateTime Pin
ctrlnick11-Aug-08 11:51
ctrlnick11-Aug-08 11:51 
AnswerRe: DateTime Pin
Mohammad Dayyan11-Aug-08 12:21
Mohammad Dayyan11-Aug-08 12:21 
AnswerRe: DateTime Pin
Paul Conrad11-Aug-08 12:29
professionalPaul Conrad11-Aug-08 12:29 
AnswerRe: DateTime Pin
nelsonpaixao11-Aug-08 14:37
nelsonpaixao11-Aug-08 14:37 
QuestionXML elements not showing values Pin
Ekjon11-Aug-08 11:11
Ekjon11-Aug-08 11:11 
Hello,

I was trying to load data from xml files to SQL Server tables.
I am using XMLTextReader to read from the files. my code's working and loading information to two tables. Except, few fields.
They show no values when read - even though the file contains values for them.
I notice all of them are either unsignedByte or unsignedInt type in the xml schema.
I changed them to strings just to test, but it's doing the same.
I think the datatype is not making any difference, but these elements don't have any attributes and the values are directly in the tags.
So, could be I'm missing something. Here's part of my code:
while (reader.Read())
{  switch (reader.NodeType)  
   {    case XmlNodeType.Element:        
           if (reader.Name.ToLower().Equals("decimals"))
           {          dec = reader.Value;       }       
           .....       break;     
        case XmlNodeType.Text:         
           ...nothing       break;     
        case XmlNodeType.EndElement:      
           break;   
   }
}

Any idea, what's wrong?
Thanks.
AnswerRe: XML elements not showing values Pin
Christian Graus11-Aug-08 11:18
protectorChristian Graus11-Aug-08 11:18 
GeneralRe: XML elements not showing values Pin
Ekjon11-Aug-08 11:25
Ekjon11-Aug-08 11:25 
GeneralRe: XML elements not showing values Pin
Ekjon11-Aug-08 12:23
Ekjon11-Aug-08 12:23 
QuestionHelp with calling external applications from C# Pin
charlieyv11-Aug-08 10:26
charlieyv11-Aug-08 10:26 
AnswerRe: Help with calling external applications from C# Pin
Manas Bhardwaj11-Aug-08 10:50
professionalManas Bhardwaj11-Aug-08 10:50 
AnswerRe: Help with calling external applications from C# Pin
Mohammad Dayyan11-Aug-08 12:29
Mohammad Dayyan11-Aug-08 12:29 
Questionwindows forms data business objects or database Pin
bfis10813711-Aug-08 10:05
bfis10813711-Aug-08 10:05 
AnswerRe: windows forms data business objects or database Pin
Pete O'Hanlon11-Aug-08 10:37
mvePete O'Hanlon11-Aug-08 10:37 
GeneralRe: windows forms data business objects or database Pin
bfis10813711-Aug-08 11:33
bfis10813711-Aug-08 11:33 
GeneralRe: windows forms data business objects or database Pin
Pete O'Hanlon11-Aug-08 21:56
mvePete O'Hanlon11-Aug-08 21:56 
AnswerRe: windows forms data business objects or database Pin
Wendelius11-Aug-08 10:40
mentorWendelius11-Aug-08 10:40 
GeneralRe: windows forms data business objects or database Pin
bfis10813711-Aug-08 10:58
bfis10813711-Aug-08 10:58 
GeneralRe: windows forms data business objects or database Pin
Mark Churchill11-Aug-08 19:03
Mark Churchill11-Aug-08 19:03 
GeneralRe: windows forms data business objects or database Pin
bfis10813711-Aug-08 19:10
bfis10813711-Aug-08 19:10 
GeneralRe: windows forms data business objects or database Pin
Mark Churchill11-Aug-08 19:27
Mark Churchill11-Aug-08 19:27 
GeneralRe: windows forms data business objects or database Pin
Wendelius12-Aug-08 8:25
mentorWendelius12-Aug-08 8:25 
QuestionJavascript and C# Pin
MinaFawzi11-Aug-08 9:07
MinaFawzi11-Aug-08 9:07 

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.