Serialize(details);-->the serialize does not exist in the current text. though I have added name spaces xml,io,serialization. And more over I want to create a xml file also you have not mention the path where I want to create my xml file.since I am a fresher I am having more interest to ask questions to u