Click here to Skip to main content
15,914,594 members
Home / Discussions / C#
   

C#

 
QuestionCreate File Format Pin
kenexcelon15-Dec-05 7:52
kenexcelon15-Dec-05 7:52 
AnswerRe: Create File Format Pin
enjoycrack15-Dec-05 8:14
enjoycrack15-Dec-05 8:14 
GeneralRe: Create File Format Pin
kenexcelon15-Dec-05 8:17
kenexcelon15-Dec-05 8:17 
GeneralRe: Create File Format Pin
enjoycrack15-Dec-05 8:35
enjoycrack15-Dec-05 8:35 
GeneralRe: Create File Format Pin
kenexcelon15-Dec-05 10:34
kenexcelon15-Dec-05 10:34 
AnswerRe: Create File Format Pin
Andrew Bleakley15-Dec-05 12:35
Andrew Bleakley15-Dec-05 12:35 
GeneralRe: Create File Format Pin
kenexcelon15-Dec-05 12:41
kenexcelon15-Dec-05 12:41 
GeneralRe: Create File Format Pin
Andrew Bleakley15-Dec-05 12:55
Andrew Bleakley15-Dec-05 12:55 
No not a XMLReader.

Define your recipe as a dataset (drag on onto your form), go to properties and set the table, then set the columns in the table.

Add a row, filling it with the recipe information the user enters (i assume)

to save it to disk use DataSetName.WriteXML(name of file here)

if the user want's to open the dataset use the ReadXML method of your dataset passing it the filename to open. you can get this as a command line argument to your app.

MSDN or Google: Dataset.WriteXML, DataSet.ReadXML, C# Command Line Arguments, SaveFileDialog, OpenFileDialog


Sorry it is brief but I am about to run out. I will be back in an hour if you still have no luck, but the MSDN documentation for dataSets and XML is great



GeneralRe: Create File Format Pin
kenexcelon15-Dec-05 14:46
kenexcelon15-Dec-05 14:46 
GeneralRe: Create File Format Pin
kenexcelon15-Dec-05 12:45
kenexcelon15-Dec-05 12:45 
QuestionASPX using C# : Exception Details: System.Web.HttpException: A page can have only one server-side Form tag. Pin
jmfekete15-Dec-05 7:42
jmfekete15-Dec-05 7:42 
AnswerRe: ASPX using C# : Exception Details: System.Web.HttpException: A page can have only one server-side Form tag. Pin
enjoycrack15-Dec-05 7:56
enjoycrack15-Dec-05 7:56 
GeneralRe: ASPX using C# : Exception Details: System.Web.HttpException: A page can have only one server-side Form tag. Pin
jmfekete15-Dec-05 8:06
jmfekete15-Dec-05 8:06 
GeneralRe: ASPX using C# : Exception Details: System.Web.HttpException: A page can have only one server-side Form tag. Pin
enjoycrack15-Dec-05 8:09
enjoycrack15-Dec-05 8:09 
GeneralRe: ASPX using C# : Exception Details: System.Web.HttpException: A page can have only one server-side Form tag. Pin
jmfekete15-Dec-05 8:25
jmfekete15-Dec-05 8:25 
QuestionComposite Pattern and Generics Pin
RogerRabbit7815-Dec-05 7:20
RogerRabbit7815-Dec-05 7:20 
QuestionASPX using C# : System.InvalidCastException: Specified cast is not valid Pin
jmfekete15-Dec-05 6:57
jmfekete15-Dec-05 6:57 
AnswerRe: ASPX using C# : System.InvalidCastException: Specified cast is not valid Pin
enjoycrack15-Dec-05 7:00
enjoycrack15-Dec-05 7:00 
GeneralRe: ASPX using C# : System.InvalidCastException: Specified cast is not valid Pin
jmfekete15-Dec-05 7:25
jmfekete15-Dec-05 7:25 
GeneralRe: ASPX using C# : System.InvalidCastException: Specified cast is not valid Pin
jmfekete15-Dec-05 7:30
jmfekete15-Dec-05 7:30 
GeneralRe: ASPX using C# : System.InvalidCastException: Specified cast is not valid Pin
enjoycrack15-Dec-05 7:52
enjoycrack15-Dec-05 7:52 
AnswerRe: ASPX using C# : System.InvalidCastException: Specified cast is not valid Pin
chinky singh15-Dec-05 7:22
chinky singh15-Dec-05 7:22 
GeneralRe: ASPX using C# : System.InvalidCastException: Specified cast is not valid Pin
jmfekete15-Dec-05 7:29
jmfekete15-Dec-05 7:29 
QuestionA Static class Serialization problem Pin
HolyGrandFather15-Dec-05 6:45
HolyGrandFather15-Dec-05 6:45 
AnswerRe: A Static class Serialization problem Pin
Guffa15-Dec-05 11:39
Guffa15-Dec-05 11:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.