Computer/C#

XML ํฌ๋ฉง Element ์ˆ˜์ • ๋ฐ ์ƒ์„ฑ

public bool XmlDataCheck(string strfilepath, string ElementID, string Value) { XmlDocument Dxml = new XmlDocument(); Dxml.Load(strfilepath); try { // Modbus ํฌํŠธ๋ฒˆํ˜ธ XmlNode nodeModPort = Dxml.DocumentElement.SelectSingleNode("/profile/Preferences/" + ElementID); if (nodeModPort.Value != Value) { // ์ˆ˜์ • nodeModPort.InnerText = Value; } Dxml.Save(strfilepath); return true; } catch(Exception e) { // ์ƒ์„ฑ..
EIGHTBOX
EIGHTBOX
hwaya.

programmer

๐Ÿ‹์ผ์ƒ์˜ ์†Œ์†Œํ•œ ์ˆœ๊ฐ„๋“ค๋ถ€ํ„ฐ ํฐ ๊ฟˆ๊นŒ์ง€, ํ˜ธ๊ธฐ์‹ฌ์„ ๋งŒ์กฑ์‹œํ‚ฌ ๋‹ค์–‘ํ•œ ์นดํ…Œ๊ณ ๋ฆฌ๋ฅผ ๋‹ด์€ ๋ธ”๋กœ๊ทธ ์ž…๋‹ˆ๋‹ค. ๊ทธ๋ฆฌ๊ณ , ์†Œ์†Œํ•œ ํ–‰๋™์— ๊ฐ๋™ํ•˜๋ฉฐ ๊ธฐ๋ปํ•˜๊ณ  ํ•˜๋ฃจํ•˜๋ฃจ์— ๊ฐ์‚ฌํ•˜๋Š” ์‚ฌ๋žŒ๐ŸŒต

Today Yesterday Total
์ตœ์‹ ๊ธ€