.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

resume building through database

Posted By: Shweta     Posted Date: February 22, 2011    Points:2   Category :ASP.Net
m developing a website in which i have designed web forms in which we are taking all details (required for resume) from user. Now my next step is to retrieve values from database & put those values in resume format.

how can i do it?

Responses
Author: Sunil Yadav       [Moderator]      
Posted Date: February 22, 2011     Points: 5   

Hi,

Retrieve the database values and using the Microsoft Word automation technique you can put the values in resume format.

Apart from this you can use Open Xml.

Follow the link below.

http://support.microsoft.com/kb/316384

Author: Shweta             
Posted Date: February 23, 2011     Points: 5   

hey thnx...i can use the concept..

now please tell me that how can v use the following for the word doc..

header("Content-type: application/vnd.ms-word");
header("Content-Disposition: attachment;Filename=kid_tag.doc");

Shweta Agashe
.Net Developer,Global Infobase Solutions.
Author: Sunil Yadav       [Moderator]      
Posted Date: February 23, 2011     Points: 5   

This can be useful when you are writing the the data in the word document.

Consider below example.

string htmlsting = "This is Word Demo";
HttpContext.Current.Response.Clear();
HttpContext.Current.Response.Buffer = true;
HttpContext.Current.Response.ContentType = "application/vnd.ms-wordm";
HttpContext.Current.Response.AddHeader("content-disposition", "attachment;Filename=kid_tag.doc");
HttpContext.Current.Response.Charset = "";
HttpContext.Current.Response.Write(htmlsting.ToString());
HttpContext.Current.Response.End();


let me know if it works.



Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend