I want to create a full html5 file with the fields fetchg from my database.

I cant get to create a file directly .

Can anyone help me.

Tell us more about your project.
What database are you using?
Can you retrieve values from it?
What do you want the HTML file to look like?
EDIT: This might be helpful. http://www.dotnetperls.com/xmlwriter

Thanks DeanMSands3..thats what actually what i wanted ..Iam creating the html file using the dynamic data fetched from the db....

But i just wanted to ask how i can dynamically modify the XMLWRITER to take those perticular fields.

So do i have to write the various functions Which take in the XML Writer object and work on it and return the object...IS it??

I got the static pages running sucessfully locally with two pages ....

You would have to use the data returned from the database while writing with the XML writer.

What exactly is the database returning to you? It will allow us to give a better explanation of how to implement this.

Ie. Is it massive amounts of data or small individual pieces?