Click here to Skip to main content
15,909,530 members
Home / Discussions / C#
   

C#

 
Questionstring equal Pin
netJP12L4-Jul-08 8:41
netJP12L4-Jul-08 8:41 
AnswerRe: string equal Pin
MoustafaS4-Jul-08 9:39
MoustafaS4-Jul-08 9:39 
GeneralRe: string equal Pin
DaveyM694-Jul-08 9:50
professionalDaveyM694-Jul-08 9:50 
AnswerRe: string equal Pin
DaveyM694-Jul-08 9:47
professionalDaveyM694-Jul-08 9:47 
AnswerRe: string equal Pin
N a v a n e e t h4-Jul-08 18:20
N a v a n e e t h4-Jul-08 18:20 
QuestionIssue Setting Remote Registry Key Value Pin
CNewbie4-Jul-08 8:24
CNewbie4-Jul-08 8:24 
QuestionProcess class access denied on smss Pin
stwu4-Jul-08 8:18
stwu4-Jul-08 8:18 
Questiontyped dataset schema relating to xml file Pin
steve_rm4-Jul-08 8:13
steve_rm4-Jul-08 8:13 
Hello,

VS 2008

I have typed dataset and have added a single data table named dsMissedCalls.xsd and dtMissedCalls.

I would like to save some missed calls for my application. The table is very small not more than 10 rows.

Example. dtMissedCalls(ID, Caller, DateAndTime)

I have created a XML file, and I would like the xml file to have the schema of the typed dataset (dsMissedCalls.xsd).

Before when I have been creating xml file. I would add a new xml file. Then click the "Create Schema" button. That would creaet the schema for the xml file. However, as I have created a typed dataset that already has a schema. The question is. How do I get my xml file to relate to that schema?

So basically I have created a typed dataSet and would like to save added rows to the xml file.

The code below works, but I want to xml to use the dataset schema.

Many thanks for help with this confusing question,

<br />
 DataRow row;<br />
                row = ds.Tables[0].NewRow();<br />
                row["Caller"] = callersName;<br />
                row["DateTime"] = DateTime.Now.ToShortDateString();<br />
<br />
                ds.Tables[0].Rows.Add(row);<br />
                ds.WriteXml(missedCallsXML, XmlWriteMode.DiffGram);<br />

QuestionLine in PictureBox Pin
godspeed1234-Jul-08 7:44
godspeed1234-Jul-08 7:44 
AnswerRe: Line in PictureBox Pin
netJP12L4-Jul-08 8:35
netJP12L4-Jul-08 8:35 
AnswerRe: Line in PictureBox Pin
Christian Graus4-Jul-08 9:23
protectorChristian Graus4-Jul-08 9:23 
QuestionSpying on System.Windows.Forms.DataGridView in another app... Pin
Fuzzychaos4-Jul-08 7:28
Fuzzychaos4-Jul-08 7:28 
QuestionC# or C++/CLI? Pin
Tal Rasha's Guardianship4-Jul-08 7:27
Tal Rasha's Guardianship4-Jul-08 7:27 
AnswerRe: C# or C++/CLI? Pin
Paul Conrad4-Jul-08 7:40
professionalPaul Conrad4-Jul-08 7:40 
AnswerRe: C# or C++/CLI? Pin
BadKarma4-Jul-08 12:07
BadKarma4-Jul-08 12:07 
GeneralRe: C# or C++/CLI? Pin
Tal Rasha's Guardianship5-Jul-08 3:47
Tal Rasha's Guardianship5-Jul-08 3:47 
Questionrefresh dataset after updating Pin
jaffa4-Jul-08 6:39
jaffa4-Jul-08 6:39 
AnswerRe: refresh dataset after updating Pin
jaffa4-Jul-08 6:49
jaffa4-Jul-08 6:49 
QuestionString.fromCharCode and charCodeAt Pin
tim_gunning4-Jul-08 6:16
tim_gunning4-Jul-08 6:16 
AnswerRe: String.fromCharCode and charCodeAt Pin
tim_gunning4-Jul-08 6:42
tim_gunning4-Jul-08 6:42 
AnswerRe: String.fromCharCode and charCodeAt Pin
Guffa4-Jul-08 6:43
Guffa4-Jul-08 6:43 
GeneralRe: String.fromCharCode and charCodeAt Pin
tim_gunning4-Jul-08 9:17
tim_gunning4-Jul-08 9:17 
AnswerRe: String.fromCharCode and charCodeAt Pin
Guffa4-Jul-08 12:44
Guffa4-Jul-08 12:44 
GeneralRe: String.fromCharCode and charCodeAt [modified] Pin
tim_gunning4-Jul-08 14:27
tim_gunning4-Jul-08 14:27 
GeneralRe: String.fromCharCode and charCodeAt Pin
Guffa4-Jul-08 14:38
Guffa4-Jul-08 14:38 

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.