i am retrieving textual data from database on my page , asp.net(c#), now i want to save in pdf format and want to store that pdf file on my server(localhost)
so how ?
I'd recommend you take a look at iTextSharp. Its open source software (free), and written in C# so I am sure you will appreciate that.
here is a tutorial on how to create and save the PDF to disk.
You can get the download here:
While iTextsharp is ok for .net, it's basically a port of the iText Java library. You'll find stuff like the official documentation, iText in Action, doesn't cater for .NET languages - example code is written essentially for Java developers.
Also iText got AGPL'd, so it might not be so free depending on what you want to do with it.