Click here to Skip to main content
15,910,083 members
Home / Discussions / C#
   

C#

 
GeneralRe: the offset is calculated by byte or by double bytes? Pin
momer27-Oct-04 20:48
momer27-Oct-04 20:48 
GeneralRe: the offset is calculated by byte or by double bytes? Pin
Heath Stewart27-Oct-04 20:58
protectorHeath Stewart27-Oct-04 20:58 
GeneralRe: the offset is calculated by byte or by double bytes? Pin
momer27-Oct-04 21:30
momer27-Oct-04 21:30 
GeneralRe: the offset is calculated by byte or by double bytes? Pin
Heath Stewart27-Oct-04 21:41
protectorHeath Stewart27-Oct-04 21:41 
GeneralRe: the offset is calculated by byte or by double bytes? Pin
momer27-Oct-04 21:51
momer27-Oct-04 21:51 
GeneralRe:Stewart Pin
momer27-Oct-04 21:51
momer27-Oct-04 21:51 
AnswerRe: the offset is calculated by byte or by double bytes? Pin
Heath Stewart27-Oct-04 21:56
protectorHeath Stewart27-Oct-04 21:56 
GeneralXML Elements with escape characters in their names Pin
Guillermo Jimenez27-Oct-04 16:53
Guillermo Jimenez27-Oct-04 16:53 
Ok. Say you need to produce the following XML element:

<Product>
<Product#>1265-66ab5-d</Product#>
</Product>

Now suppose you have the following class

public Class Product
{
[System.XML.Serializaton.XMLElement("Product#")]
public string productnum;
......
....
}

Now try serializing product

Produce newProduct = new Product();
newProduct.product = "1265-66ab5-d";

Serializer xs = new Serializer(typeof(product));
....
....
xs.Serialize(somebuffer, product);


The outcome is:
<Product>
<Product_x0023_>1265-66ab5-d</Product_x0023_>
</Product>

In fact using two ## yields _x0023__x0023_ and /# _x002F__x0023_











GeneralRe: XML Elements with escape characters in their names Pin
Nick Parker27-Oct-04 17:50
protectorNick Parker27-Oct-04 17:50 
GeneralRe: XML Elements with escape characters in their names Pin
Guillermo Jimenez27-Oct-04 18:11
Guillermo Jimenez27-Oct-04 18:11 
GeneralRe: XML Elements with escape characters in their names Pin
Heath Stewart27-Oct-04 20:57
protectorHeath Stewart27-Oct-04 20:57 
GeneralColor shading like the Windows Media Player v10 Pin
Tony D. Abel27-Oct-04 15:57
Tony D. Abel27-Oct-04 15:57 
GeneralRe: Color shading like the Windows Media Player v10 Pin
Nick Parker27-Oct-04 17:53
protectorNick Parker27-Oct-04 17:53 
GeneralDataSet designer Pin
Corneliu Tusnea27-Oct-04 13:51
Corneliu Tusnea27-Oct-04 13:51 
GeneralRe: DataSet designer Pin
sreejith ss nair27-Oct-04 18:35
sreejith ss nair27-Oct-04 18:35 
GeneralRe: DataSet designer Pin
Corneliu Tusnea27-Oct-04 19:48
Corneliu Tusnea27-Oct-04 19:48 
Questionwhat's your number? Pin
Sled Dog27-Oct-04 11:54
Sled Dog27-Oct-04 11:54 
QuestionProtection level ? Pin
wtdoor196527-Oct-04 10:13
wtdoor196527-Oct-04 10:13 
AnswerRe: Protection level ? Pin
Christian Graus27-Oct-04 10:16
protectorChristian Graus27-Oct-04 10:16 
AnswerRe: Protection level ? Pin
sreejith ss nair27-Oct-04 18:19
sreejith ss nair27-Oct-04 18:19 
GeneralRe: Protection level ? Pin
Heath Stewart27-Oct-04 21:02
protectorHeath Stewart27-Oct-04 21:02 
GeneralGet the IP from HttpWebRequest Pin
Justin Garrick27-Oct-04 10:09
Justin Garrick27-Oct-04 10:09 
GeneralRe: Get the IP from HttpWebRequest Pin
Justin Garrick27-Oct-04 15:43
Justin Garrick27-Oct-04 15:43 
GeneralRe: Get the IP from HttpWebRequest Pin
Nick Parker27-Oct-04 17:12
protectorNick Parker27-Oct-04 17:12 
GeneralRe: Get the IP from HttpWebRequest Pin
Heath Stewart27-Oct-04 21:07
protectorHeath Stewart27-Oct-04 21: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.