Click here to Skip to main content
15,890,557 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: new line in nvarchar Pin
Christian Graus13-Feb-09 10:59
protectorChristian Graus13-Feb-09 10:59 
AnswerRe: new line in nvarchar Pin
Guffa14-Feb-09 9:12
Guffa14-Feb-09 9:12 
QuestionFrozen Listview Headers + IE Resize issue Pin
nathan bisges13-Feb-09 9:27
nathan bisges13-Feb-09 9:27 
AnswerRe: Frozen Listview Headers + IE Resize issue [modified] Pin
nathan bisges18-Feb-09 5:31
nathan bisges18-Feb-09 5:31 
GeneralRe: Frozen Listview Headers + IE Resize issue Pin
nathan bisges18-Feb-09 6:15
nathan bisges18-Feb-09 6:15 
QuestionConvert Custom Collection Object into Xml Pin
dayakar_dn13-Feb-09 7:51
dayakar_dn13-Feb-09 7:51 
AnswerRe: Convert Custom Collection Object into Xml Pin
Christian Graus13-Feb-09 8:23
protectorChristian Graus13-Feb-09 8:23 
AnswerRe: Convert Custom Collection Object into Xml Pin
Scott Dorman13-Feb-09 9:24
professionalScott Dorman13-Feb-09 9:24 
What type of collection are you using? If the collection itself is serializable, you can mark your employee objects as serializable using the SerializableAttribute (or ISerializable, but that requires more work), and then simply serialize the collection. You can also make use of data contracts and use the data contract serializer. The only drawback to these options (except implementing ISerailzable) is that you don't really have much control over the generated XML.

The other option would be to follow Christian's solution and implement some sort of ToXml()\FromXml() pair of functions that then generate and consume custom generated XML. From there you would want to add a similar set of methods to your collection in order to serialize the list of objects.

Scott Dorman
Microsoft® MVP - Visual C# | MCPD
President - Tampa Bay IASA

[Blog][Articles][Forum Guidelines]
Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai

Questionexport html table in asp.net to excel [modified] Pin
saurabh2006713-Feb-09 5:12
saurabh2006713-Feb-09 5:12 
QuestionReturning current page Pin
dptalt13-Feb-09 3:46
dptalt13-Feb-09 3:46 
AnswerRe: Returning current page Pin
Mokai13-Feb-09 5:13
Mokai13-Feb-09 5:13 
GeneralRe: Returning current page Pin
Calin Tatar13-Feb-09 8:49
Calin Tatar13-Feb-09 8:49 
QuestionFile Upload Control Pin
Saba0213-Feb-09 3:36
Saba0213-Feb-09 3:36 
AnswerRe: File Upload Control Pin
Calin Tatar13-Feb-09 8:36
Calin Tatar13-Feb-09 8:36 
Questionasp:panel -> table when? [modified] Pin
livez13-Feb-09 2:36
livez13-Feb-09 2:36 
AnswerRe: asp:panel -> table when? Pin
Abhijit Jana13-Feb-09 3:17
professionalAbhijit Jana13-Feb-09 3:17 
GeneralRe: asp:panel -> table when? Pin
livez13-Feb-09 3:33
livez13-Feb-09 3:33 
AnswerRe: asp:panel -> table when? Pin
vaghelabhavesh13-Feb-09 4:02
vaghelabhavesh13-Feb-09 4:02 
GeneralRe: asp:panel -> table when? Pin
livez13-Feb-09 4:09
livez13-Feb-09 4:09 
QuestionHow can we open the Popup window while clicking SWF Object Pin
Robymon13-Feb-09 2:16
Robymon13-Feb-09 2:16 
AnswerRe: How can we open the Popup window while clicking SWF Object Pin
Abhishek Sur13-Feb-09 4:07
professionalAbhishek Sur13-Feb-09 4:07 
QuestionSearching Code Pin
JAYRAJ GIRI13-Feb-09 2:00
JAYRAJ GIRI13-Feb-09 2:00 
AnswerRe: Searching Code Pin
Vimalsoft(Pty) Ltd13-Feb-09 2:55
professionalVimalsoft(Pty) Ltd13-Feb-09 2:55 
QuestionSend back to previous page using FormsAuthentication Pin
Sarfaraj Ahmed13-Feb-09 1:55
Sarfaraj Ahmed13-Feb-09 1:55 
QuestionDeployment error in VS2005 with WSE3.0 Pin
jaishankar270413-Feb-09 1:18
jaishankar270413-Feb-09 1:18 

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.