Click here to Skip to main content
15,891,726 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionCreate Sheduling For Send SMS Pin
lrsalunkhe9-Apr-10 3:48
lrsalunkhe9-Apr-10 3:48 
AnswerRe: Create Sheduling For Send SMS Pin
Abhijit Jana9-Apr-10 3:58
professionalAbhijit Jana9-Apr-10 3:58 
AnswerRe: Create Sheduling For Send SMS Pin
Sandesh M Patil9-Apr-10 4:19
Sandesh M Patil9-Apr-10 4:19 
QuestionXML [modified] Pin
Farraj9-Apr-10 2:52
Farraj9-Apr-10 2:52 
AnswerRe: XML Pin
Brij9-Apr-10 3:15
mentorBrij9-Apr-10 3:15 
AnswerRe: XML Pin
Sandesh M Patil9-Apr-10 3:37
Sandesh M Patil9-Apr-10 3:37 
AnswerRe: XML Pin
Abhijit Jana9-Apr-10 3:54
professionalAbhijit Jana9-Apr-10 3:54 
AnswerRe: XML Pin
Farraj9-Apr-10 4:21
Farraj9-Apr-10 4:21 
i did try something that is working

mlDocument doc = new XmlDocument();
doc.Load("chores2.xml");
XmlElement elmXML = doc.CreateElement("day");
string strNewCat = "<a>" + this.txtBoxAmount.Text + "</a>" +
"<b>" + this.txtBoxPrice.Text +"</b>" +
"<c>" + this.txtBoxAbout.Text + "</c>" +
"<d>" + this.txtBoxSize.Text + "</d>";
elmXML.InnerXml = strNewCat;
doc.DocumentElement.AppendChild(elmXML);
doc.Save(Server.MapPath("chores.xml"));

but it build the xml file not as i need it to be
my question was how can i build it this way
<chores>
<day label="XXX">
<job a="1" b="2" ..="">
<job a="2" b="3".../">

<day label=XXX>
<job a="1" b="2"../>
<job a="2" b=3".../>
</day>

<day label=XXX>
<job a="1" b="2"../>
<job a="2" b=3".../>
</day>

GeneralRe: XML Pin
Not Active9-Apr-10 6:14
mentorNot Active9-Apr-10 6:14 
GeneralRe: XML Pin
Farraj9-Apr-10 6:42
Farraj9-Apr-10 6:42 
GeneralRe: XML Pin
Not Active9-Apr-10 7:03
mentorNot Active9-Apr-10 7:03 
GeneralRe: XML Pin
leckey9-Apr-10 7:11
leckey9-Apr-10 7:11 
Questionhow to store multiple rows in a table from gridview Pin
developerit9-Apr-10 1:41
developerit9-Apr-10 1:41 
AnswerRe: how to store multiple rows in a table from gridview Pin
Brij9-Apr-10 3:37
mentorBrij9-Apr-10 3:37 
GeneralRe: how to store multiple rows in a table from gridview Pin
developerit9-Apr-10 22:37
developerit9-Apr-10 22:37 
AnswerRe: how to store multiple rows in a table from gridview Pin
Tej Aj16-Apr-10 2:50
Tej Aj16-Apr-10 2:50 
QuestionReport Viewer Control Pin
Paul Unsworth9-Apr-10 0:26
Paul Unsworth9-Apr-10 0:26 
QuestionGetting response from aspx page Pin
Pryabu8-Apr-10 21:49
Pryabu8-Apr-10 21:49 
QuestionASP.Net vs MVC Pin
swjam8-Apr-10 20:15
swjam8-Apr-10 20:15 
AnswerRe: ASP.Net vs MVC Pin
Gaurav Dudeja India8-Apr-10 20:27
Gaurav Dudeja India8-Apr-10 20:27 
AnswerRe: ASP.Net vs MVC Pin
sashidhar8-Apr-10 20:55
sashidhar8-Apr-10 20:55 
AnswerRe: ASP.Net vs MVC Pin
Brij8-Apr-10 23:56
mentorBrij8-Apr-10 23:56 
QuestionListBox SelectedIndex does not persist during postback [modified] Pin
Toni788-Apr-10 4:49
Toni788-Apr-10 4:49 
AnswerRe: ListBox SelectedIndex does not persist during postback Pin
JHizzle8-Apr-10 5:03
JHizzle8-Apr-10 5:03 
GeneralRe: ListBox SelectedIndex does not persist during postback Pin
Toni788-Apr-10 5:18
Toni788-Apr-10 5:18 

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.