ァィゥェォャュョ
ガギグゲゴ
ザジズゼゾ
ダヂヅデド
バビブベボ
RangeValidator의 minValue:ア maxValue:ン 의 경우
ガギグゲゴ
ザジズゼゾ
ダヂヅデド
バビブベボ
약간의 차이가 생긴다..
고로..
내가 써야할것은
그나저나 CustomValidator는 ClientScript로 먹어주려나 모르겠군..
Class | Description | |
---|---|---|
HtmlAnchor | Allows programmatic access to the HTML <a> element on the server. | |
HtmlButton | Allows programmatic access to the HTML <button> tag on the server. | |
HtmlContainerControl | Serves as the abstract base class for HTML server controls that map to HTML elements that are required to have an opening and a closing tag. | |
HtmlControl | Defines the methods, properties, and events common to all HTML server controls in the ASP.NET page framework. | |
HtmlEmptyTagControlBuilder | Interacts with the page parser to build HTML server controls that do not have a body or closing tag. This class cannot be inherited. | |
HtmlForm | Provides programmatic access to the HTML <form> element on the server. | |
HtmlGenericControl | Defines the methods, properties, and events for all HTML server control elements not represented by a specific .NET Framework class. | |
HtmlHead | Provides programmatic access to the HTML <head> element on the server. | |
HtmlHeadBuilder | Interacts with the parser to build an HtmlHead control. | |
HtmlImage | Provides programmatic access for the HTML <img> element on the server. | |
HtmlInputButton | Allows programmatic access to the HTML <input type= button>, <input type= submit>, and <input type= reset> elements on the server. | |
HtmlInputCheckBox | Allows programmatic access to the HTML <input type= checkbox> element on the server. | |
HtmlInputControl | Serves as the abstract base class that defines the methods, properties, and events common to all HTML input controls, such as the <input type=text>, <input type=submit>, and <input type= file> elements. | |
HtmlInputFile | Allows programmatic access to the HTML <input type= file> element on the server. | |
HtmlInputHidden | Allows programmatic access to the HTML <input type=hidden> element on the server. | |
HtmlInputImage | Allows programmatic access to the HTML <input type= image> element on the server. | |
HtmlInputPassword | Allows programmatic access to the HTML <input type= password> element on the server. | |
HtmlInputRadioButton | Allows programmatic access to the HTML <input type= radio> element on the server. | |
HtmlInputReset | Allows programmatic access to the HTML <input type=reset> element on the server. | |
HtmlInputSubmit | Allows programmatic access to the HTML <input type= submit> element on the server. | |
HtmlInputText | Allows programmatic access to the HTML <input type= text> and <input type= password> elements on the server. | |
HtmlLink | Allows programmatic access to the HTML <link> element on the server. | |
HtmlMeta | Allows programmatic access to the HTML <meta> tag on the server. | |
HtmlSelect | Allows programmatic access to the HTML <select> element on the server. | |
HtmlSelectBuilder | Interacts with the parser to build an HtmlSelect control. | |
HtmlTable | Allows programmatic access on the server to the HTML <table> element. | |
HtmlTable.HtmlTableRowControlCollection | Represents a collection of HtmlTableRow objects that are the rows of an HtmlTable control. | |
HtmlTableCell | Represents the <td> and <th> HTML elements in an HtmlTableRow object. | |
HtmlTableCellCollection | A collection of HtmlTableCell objects that represent the cells in a single row of an HtmlTable control. This class cannot be inherited. | |
HtmlTableRow | Represents the <tr> HTML element in an HtmlTable control. | |
HtmlTableRow.HtmlTableCellControlCollection | Represents a collection of HtmlTableCell objects that are the cells of an HtmlTableRow control. | |
HtmlTableRowCollection | A collection of HtmlTableRow objects that represent the rows of an HtmlTable control. This class cannot be inherited. | |
HtmlTextArea | Allows programmatic access to the <textarea> HTML element on the server. | |
HtmlTitle | Allows programmatic access to the HTML <title> element on the server. |
쉬우면서도 찾기 힘들었던...
FileInfo _fi = new FileInfo(files[0]);
if (_fi.Exists)
{
if (_fi.Extension.ToLower() == ".[ExtentionName]")
{
fi = _fi;
tbxFileName.Text = _fi.FullName;
}
}
}
}
private void fileSelector_DragEnter(object sender, DragEventArgs e)
{
e.Effect = DragDropEffects.All;
}
종종보면 다중네임스페이스를 지닌 xml개체를 보게되는데
가지고 있는 책에는 예제가 없어 구글링 하다 알게된 자료..
두가지방법중 난 후자를 선택해서 코딩했다..
Samples are bellow.
As you can see populating XmlDocument with XmlWriter.Write*() methods is much simpler.
string myNS = "http://www.xyz.space.com/land";
// Populating XmlDocument using DOM API:
XmlDocument xdoc1 = new XmlDocument();
XmlElement rootABC = xdoc1.CreateElement("rootABC", myNS);
xdoc1.AppendChild(rootABC);
XmlElement ele1 = xdoc1.CreateElement("ele1", myNS);
rootABC.AppendChild(ele1);
XmlAttribute xsd = xdoc1.CreateAttribute("xmlns", "xsd", "http://www.w3.org/2000/xmlns/");
xsd.Value = "http://www.xyz.space.com/Airschemas";
ele1.Attributes.Append(xsd);
XmlAttribute xsi = xdoc1.CreateAttribute("xmlns", "xsi", "http://www.w3.org/2000/xmlns/");
xsi.Value = "http://www.xyz.space.com/AirschemaInst";
ele1.Attributes.Append(xsi);
XmlElement ObjVal = xdoc1.CreateElement("ObjVal", myNS);
ele1.AppendChild(ObjVal);
XmlElement Name = xdoc1.CreateElement("Name", myNS);
ObjVal.AppendChild(Name);
Name.AppendChild(xdoc1.CreateTextNode("POC2"));
XmlWriterSettings settings = new XmlWriterSettings();
settings.Indent = true;
XmlWriter w1 = XmlWriter.Create(Console.Out, settings);
xdoc1.WriteTo(w1);
Console.WriteLine();
Console.WriteLine();
// Populating XmlDocument using XPathNavigator API:
XmlDocument xdoc2 = new XmlDocument();
XmlWriter docWriter = xdoc2.CreateNavigator().AppendChild();
docWriter.WriteStartElement("rootABC", myNS);
docWriter.WriteStartElement("ele1", myNS);
docWriter.WriteAttributeString("xmlns", "xsd", "http://www.w3.org/2000/xmlns/", "http://www.xyz.space.com/Airschemas");
docWriter.WriteAttributeString("xmlns", "xsi", "http://www.w3.org/2000/xmlns/", "http://www.xyz.space.com/AirschemaInst");
docWriter.WriteStartElement("ObjVal", myNS);
docWriter.WriteElementString("Name", myNS, "POC2");
docWriter.WriteEndElement();
docWriter.WriteEndElement();
docWriter.WriteEndElement();
docWriter.Close();
XmlWriter w2 = XmlWriter.Create(Console.Out, settings);
xdoc2.WriteTo(w2);
Console.WriteLine();
Console.WriteLine();
w2.Flush();