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

ASP.NET

 
Questionhow can i use google search engine in my site Pin
Arihant rathi11-Oct-07 3:23
Arihant rathi11-Oct-07 3:23 
AnswerRe: how can i use google search engine in my site Pin
Abhijit Jana11-Oct-07 6:21
professionalAbhijit Jana11-Oct-07 6:21 
AnswerRe: how can i use google search engine in my site Pin
DigiOz Multimedia11-Oct-07 15:11
DigiOz Multimedia11-Oct-07 15:11 
Questionwant paging in repeater Pin
Arihant rathi11-Oct-07 3:09
Arihant rathi11-Oct-07 3:09 
AnswerRe: want paging in repeater Pin
Christian Graus11-Oct-07 10:32
protectorChristian Graus11-Oct-07 10:32 
Questionhow can i set image control left position Pin
jagadeeshkumar8411-Oct-07 3:03
jagadeeshkumar8411-Oct-07 3:03 
AnswerRe: how can i set image control left position Pin
Eduard Keilholz11-Oct-07 3:14
Eduard Keilholz11-Oct-07 3:14 
QuestionHow to emit encoding="utf-8" from XML Pin
But_Im_a_Lady11-Oct-07 1:12
But_Im_a_Lady11-Oct-07 1:12 
Hi,

Am I sending this XML to a SP in SQL:-

<?xml version="1.0" encoding="utf-8"?><Entities xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><Entity><ID>5a939ee4-37ef-416f-b658-04b5c759d065</ID><Type>OWNSITE</Type><Name>125 NAS2</Name><ImportCode>00125E</ImportCode></Entity></Entities>

Although it seem that SQL 2005 doesnt like encoding="utf-8"

I am creating this xml by running a Serialize method in my EntityCollection, by using the following code:-

public string Serialize()
{
return XMLUtil.SerializeClass(this, GetType());
}

Before a pass this XML in the DAL to the SP I am trying to replace encoding="utf-8" with string.empty, with not to much success.

Just wondering that's the best way around my problem, should I try & replace with empty string, or should I not have it there in the first place?

Either way, I'm not sure how to do this in code.

Anyone any ideas?

Many thanks
janet

Lady Programmers are a rare breed!
AnswerRe: How to emit encoding="utf-8" from XML Pin
Sandeep Akhare11-Oct-07 1:59
Sandeep Akhare11-Oct-07 1:59 
AnswerRe: How to emit encoding="utf-8" from XML Pin
N a v a n e e t h11-Oct-07 2:00
N a v a n e e t h11-Oct-07 2:00 
GeneralRe: How to emit encoding="utf-8" from XML Pin
But_Im_a_Lady11-Oct-07 2:04
But_Im_a_Lady11-Oct-07 2:04 
GeneralRe: How to emit encoding="utf-8" from XML Pin
N a v a n e e t h11-Oct-07 2:08
N a v a n e e t h11-Oct-07 2:08 
GeneralRe: How to emit encoding=&quot;utf-8&quot; from XML Pin
But_Im_a_Lady11-Oct-07 2:16
But_Im_a_Lady11-Oct-07 2:16 
GeneralRe: How to emit encoding=&quot;utf-8&quot; from XML Pin
N a v a n e e t h11-Oct-07 2:22
N a v a n e e t h11-Oct-07 2:22 
GeneralRe: How to emit encoding=&quot;utf-8&quot; from XML Pin
But_Im_a_Lady11-Oct-07 2:26
But_Im_a_Lady11-Oct-07 2:26 
GeneralRe: How to emit encoding=&quot;utf-8&quot; from XML Pin
N a v a n e e t h11-Oct-07 2:57
N a v a n e e t h11-Oct-07 2:57 
Questionwhats the url of requester?/????? Pin
mr.mohsen11-Oct-07 1:09
mr.mohsen11-Oct-07 1:09 
AnswerRe: whats the url of requester?/????? Pin
Spunky Coder11-Oct-07 1:13
Spunky Coder11-Oct-07 1:13 
GeneralRe: whats the url of requester?/????? Pin
mr.mohsen11-Oct-07 1:20
mr.mohsen11-Oct-07 1:20 
GeneralRe: whats the url of requester?/????? Pin
Sandeep Akhare11-Oct-07 1:25
Sandeep Akhare11-Oct-07 1:25 
GeneralRe: whats the url of requester?/????? Pin
mr.mohsen11-Oct-07 1:33
mr.mohsen11-Oct-07 1:33 
GeneralRe: whats the url of requester?/????? Pin
Sandeep Akhare11-Oct-07 1:34
Sandeep Akhare11-Oct-07 1:34 
GeneralRe: whats the url of requester?/????? Pin
N a v a n e e t h11-Oct-07 2:03
N a v a n e e t h11-Oct-07 2:03 
QuestionHow to print specified contents in .NET 2.0? Pin
salon11-Oct-07 0:53
salon11-Oct-07 0:53 
AnswerRe: How to print specified contents in .NET 2.0? Pin
Amit Agarrwal11-Oct-07 1:04
Amit Agarrwal11-Oct-07 1:04 

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.