| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- CmdKey
- jellyfin
- 깃티
- theme
- DataTable
- 시놀로지깃티설치
- unable to boot the simulator
- toroisegit
- DataGridView
- Gitea GPG
- gitea설치
- c#
- Resident Evil
- Gitea 설치
- LogonUI
- gfd
- 시놀로지
- 깃티설치
- Capcom
- 젤리핀
- Re
- synology
- 트레이아이콘
- 깃티gpg
- checkbox
- Resident
- Column
- Header
- gitea
- trayicon
Archives
- Today
- Total
C O D I N G
xml Element 본문
xml 내가사용했던것만.. 더 있지만 간단한것부터..
<1> <---------- Element
<2></2> <----------- Element 1의 Child
</1>
// 소스는 아니니 참고하여 파일에서 가져오는지 아닌지 확인하고 만들것.
Element 객체를 만들고 CreateElement 1(<1>을 사용했기때문)
elementName.AppendChild(CreateNode 2)
하면 위와 같은 형태로 저장 할 수 있다.
elementName.AppendChild(CreateNode 3)을 하나 더 썻다면.
<1> <---------- Element
<2></2> <----------- Element 1의 Child
<3></3>
</1>
위와 같은 형태가 된다.
<1>
<2>
<3>
</3>
</2>
</1>
위와 같은 형태로 만들고 싶다면
Element 객체를 3개를 만들어야 하며, InnerText 를 이용하여
하위 Element를 포함해주어야 한다.
'Programming > C#' 카테고리의 다른 글
| DataTable 사용방법 (0) | 2016.08.14 |
|---|---|
| ComboBox에 항목별로 Tag를 사용하는 방법 (DataTable) (0) | 2016.08.14 |
| TrayIcon 좌클릭, 우클릭 메뉴 가능하게 하기 (0) | 2016.04.25 |
| 메시지박스 자동 종료하기 (0) | 2016.04.24 |
| DataGridView RowHeader에 숫자 넣는법 (0) | 2016.02.26 |