Click here to Skip to main content
15,887,975 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to load data faster from Sql Server into combobox Pin
#realJSOP14-Apr-10 2:14
mve#realJSOP14-Apr-10 2:14 
GeneralRe: how to load data faster from Sql Server into combobox Pin
Mycroft Holmes14-Apr-10 2:24
professionalMycroft Holmes14-Apr-10 2:24 
GeneralRe: how to load data faster from Sql Server into combobox Pin
#realJSOP14-Apr-10 2:40
mve#realJSOP14-Apr-10 2:40 
GeneralRe: how to load data faster from Sql Server into combobox Pin
Pete O'Hanlon14-Apr-10 3:21
mvePete O'Hanlon14-Apr-10 3:21 
GeneralRe: how to load data faster from Sql Server into combobox Pin
mansink122-Oct-10 11:13
mansink122-Oct-10 11:13 
AnswerRe: how to load data faster from Sql Server into combobox Pin
Pete O'Hanlon14-Apr-10 3:12
mvePete O'Hanlon14-Apr-10 3:12 
AnswerRe: how to load data faster from Sql Server into combobox Pin
Dan Mos14-Apr-10 3:28
Dan Mos14-Apr-10 3:28 
QuestionC# XML Atribute help? [modified] Pin
Nematjon Rahmanov14-Apr-10 0:12
Nematjon Rahmanov14-Apr-10 0:12 
Hi . I have xml file .
XmlWriter writer = XmlWriter.Create(path + "\\playbackmanu.xml");
writer.WriteStartDocument();
writer.WriteStartElement("PlayBack");

for(int i=1;i<=nCount;i++)
{
    writer.WriteStartElement("ItemInfo");
    writer.WriteElementString("itemimgpath","img"+ i.ToString() + ".jpg");
    writer.WriteElementString("itemname", "");
    writer.WriteElementString("itemtitle", "Title "+i.ToString());
    writer.WriteElementString("itemcommand",i.ToString());
    writer.WriteEndElement();
}

writer.WriteEndElement();
writer.WriteEndDocument();
writer.Close();


------------------------------------------------------------
#PlayBack#
	#ItemInfo#
		#itemimgpath#img1.jpg#/itemimgpath#
		#itemname##/itemname#
		#itemtitle#Title 1#/itemtitle#
		#itemcommand#1#/itemcommand#
	#/ItemInfo#

	#ItemInfo#
		#itemimgpath#img2.jpg#/itemimgpath#
		#itemname##/itemname#
		#itemtitle#Title 2#/itemtitle#
		#itemcommand#2#/itemcommand#
	#/ItemInfo#
#/PlayBack#

#  is <   and  >
--------------------------------------------------------------


How i can add atribute first node ?
#PlayBack testAtribute="Hello world"#

Thanks.
We are haven't bug,just temporarily undecided problems.
modified on Wednesday, April 14, 2010 6:24 AM

AnswerRe: C# XML Atribute help? Pin
Estys14-Apr-10 0:34
Estys14-Apr-10 0:34 
AnswerRe: C# XML Atribute help? Pin
J4amieC14-Apr-10 0:35
J4amieC14-Apr-10 0:35 
AnswerThanks for reply Estys and J4amieC :rose: ! Pin
Nematjon Rahmanov14-Apr-10 0:49
Nematjon Rahmanov14-Apr-10 0:49 
GeneralRe: Thanks for reply Estys and J4amieC :rose: ! Pin
Estys14-Apr-10 1:20
Estys14-Apr-10 1:20 
GeneralRe: C# XML Atribute help? Pin
harold aptroot14-Apr-10 4:56
harold aptroot14-Apr-10 4:56 
QuestionFind and mark area in bing maps.... Pin
pranavcool13-Apr-10 22:51
pranavcool13-Apr-10 22:51 
QuestionDrag & Drop under Windows7 Pin
frommi13-Apr-10 21:40
frommi13-Apr-10 21:40 
AnswerRe: Drag & Drop under Windows7 Pin
Mycroft Holmes13-Apr-10 23:00
professionalMycroft Holmes13-Apr-10 23:00 
GeneralRe: Drag & Drop under Windows7 Pin
frommi13-Apr-10 23:13
frommi13-Apr-10 23:13 
GeneralRe: Drag & Drop under Windows7 Pin
Mycroft Holmes14-Apr-10 2:14
professionalMycroft Holmes14-Apr-10 2:14 
QuestionIs there a way in .NET to access the bytecode/IL/CLR that is currently running? Pin
blackblizzard13-Apr-10 20:43
blackblizzard13-Apr-10 20:43 
AnswerRe: Is there a way in .NET to access the bytecode/IL/CLR that is currently running? Pin
PIEBALDconsult14-Apr-10 4:31
mvePIEBALDconsult14-Apr-10 4:31 
GeneralRe: Is there a way in .NET to access the bytecode/IL/CLR that is currently running? Pin
blackblizzard14-Apr-10 4:39
blackblizzard14-Apr-10 4:39 
GeneralRe: Is there a way in .NET to access the bytecode/IL/CLR that is currently running? Pin
PIEBALDconsult14-Apr-10 5:08
mvePIEBALDconsult14-Apr-10 5:08 
GeneralRe: Is there a way in .NET to access the bytecode/IL/CLR that is currently running? Pin
blackblizzard14-Apr-10 5:18
blackblizzard14-Apr-10 5:18 
GeneralRe: Is there a way in .NET to access the bytecode/IL/CLR that is currently running? Pin
PIEBALDconsult14-Apr-10 5:29
mvePIEBALDconsult14-Apr-10 5:29 
GeneralRe: Is there a way in .NET to access the bytecode/IL/CLR that is currently running? Pin
blackblizzard14-Apr-10 5:39
blackblizzard14-Apr-10 5: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.