Home > Forums > C# >


Save Draft button code in asp.net (C#)

Posted by Lalitha86 under C# on 9/6/2012 2:51:01 AM | Points: 10 | Views : 6315 | Status : [Member] | Replies : 1
How to write Save Draft Function code in asp.net
want to save textbox data in to save as draft option




Responses

Posted by: Johnbhatt on: 9/10/2012 [Member] Starter | Points: 25
Where do you want to save?

If you want to Save in Database, Just create a new database or do some modifications in existing Database and add a Column isDraft of type Boolen. Then When User Click on Save data, Just save the Text in Normal way and assign isDraft = true. While Retrieving the Content , code the Query in same way where isDraft = true; and load in Normal way.

John Bhatt
Glad to Know, Free to Share.....
http://www.johnbhatt.com

Lalitha86, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response