FolderBrowserDialog folderBrowserDialog1 = new FolderBrowserDialog(); DialogResult result = folderBrowserDialog1.ShowDialog(); folderBrowserDialog1.ShowNewFolderButton = false; if( result == DialogResult.OK ) { txtFileName.Text = folderBrowserDialog1.SelectedPath; }
AbdulRahmanOfpk
Posts
-
Urgent -
What is XML and XSL?XML stands for Extensible Markup Lauguage. This language is used to create your own markup langauge like HTML. In other words xml is used to structure a document. A structured document can be easily written to or read from some persistent storage or to exchange to or from some remote location.
< br /> Schema is used to define rules for a document validity. If you want your xml document user how use its elements you create a DTD or SCHEMA for this purpose.
< br /> XSL stands for extensible stylesheet language. An xsl file provides information to a web browser or some other application how to interpret the xml document. This is just like CSS that instructs web browser how to interpret your document.
< br /> ReadXml() reads data from an xml file.
< br /> ReadXmlSchema() reads schema information from an xml file.
< br />Both xml and schema files have .xml extension.Abdul Rahman [Peshawar]
-
ComboBox in C#How can i get the text entered in the editable portion of the combobox in C#?