.NET TEAM - MindVirus
close
프로필 배경
프로필 로고

.NET TEAM - MindVirus

  • 분류 전체보기 (194)
    • 통계분석(Statistics) (1)
      • SPSS (1)
    • IT Talk (6)
    • Security (3)
      • 정보보호개론 (3)
    • Program (105)
      • C# (27)
      • ASP.NET (10)
      • ADO.NET (0)
      • CSS (1)
      • JavaScript (12)
      • Ruby (3)
      • XML (19)
      • Programming (13)
      • E-Test (Project) (20)
    • Network (2)
    • DATABASE (14)
    • Server(System) (1)
    • Advertise (1)
      • 음악학원소개!! (1)
    • ETC (58)
      • Download (13)
      • 면접정보 (3)
      • Think (17)
      • 커뮤니티 (17)
      • 비공개 (8)
  • HOME
  • TAGS
  • MEDIA
  • LOCATION
  • GUESTBOOK
  • ADMIN
  • WRITE

Ajax 기본을 이용한 동적 페이지 로딩 홈페이지

보호되어 있는 글입니다.

  • format_list_bulleted Program/JavaScript
  • · 2007. 7. 9.

DOM 제어하기

http://www.ibm.com/developerworks/kr/library/wa-ajaxintro5/ Ajax를 이용해 받아온 데이터를 DOM으로 제어하는 경우가 많습니다. 기본적인 사항을 위 페이지에서 보실 수 있습니다.

  • format_list_bulleted Program/XML
  • · 2007. 7. 8.
  • textsms

ADO.NET을 이용해 SQL 데이터를 XML, XML Schema로 받아오기

dataset에서 GetXml()이나 GetXmlSchema() 메소드를 이용한다. 위 SQL 파일을 DB 에서 실행해서 해당 Database를 만들어야 예제를 실행할 수 있다. 아래 예제코드는 위에서 입력된 자료를 이용해서 XML로 가져오는 예제코드이다. using System; using System.Data; using System.Data.SqlClient; namespace CH13 { class GetXmlAndSchema { static void Main() { string strConn = "Data Source=localhost;Initial Catalog=booksourcedb;Integrated Security=True"; string strSql = "SELECT * FROM boo..

  • format_list_bulleted Program/XML
  • · 2007. 3. 26.
  • textsms

XSLT를 이용한 변환

XSLT를 이용해서 문서를 변환하는 예제를 보여준다. using System; using System.Xml; using System.Xml.Xsl; using System.Diagnostics; namespace booksource.ch12 { class Transformation { static void Main() { //XSLT 문서 지정 string xslFilePath = @"..\..\ch12\booklist.xsl"; XslCompiledTransform transformer = new XslCompiledTransform(); transformer.Load(xslFilePath); //원본 XML 문서 지정 string xmlFilePath = @"..\..\ch12\booklist.xm..

  • format_list_bulleted Program/XML
  • · 2007. 3. 26.
  • textsms

XmlDocument를 이용한 XML 문서 생성

XML 문서를 XmlDocument를 이용해 생성한다. 기본으로 유니코드로 저장하기 때문에 한글이 깨지는 문제가 발생하는데, 이 때문에 이 방법 보다는 XmlWriter를 이용해서 XmlWriter.create를 이용해 문서를 생성하는 방법이 더 나은것 같다. using System; using System.Linq; using System.Collections.Generic; using System.Text; using System.Xml; namespace CH11 { class p575_NewDOM { static void Main() { XmlDocument xDoc = new XmlDocument(); XmlElement eBookList = xDoc.CreateElement("booklist"..

  • format_list_bulleted Program/XML
  • · 2007. 3. 26.
  • textsms

XmlDocument, Remove Element or Attribute

이번 예제에서는 Element, Attribute를 DOM을 이용해 삭제하는 방법을 다룬다. (읽어들일 XML문서는 이전에 포스팅한 글을 참조한다) using System; using System.Linq; using System.Collections.Generic; using System.Text; using System.Xml; using System.IO; namespace CH11 { class p574_Remove { static void Main() { string filePath = @"..\..\booklist.xml"; XmlDocument xDoc = new XmlDocument(); xDoc.Load(filePath); XmlElement eBookList = xDoc.Document..

  • format_list_bulleted Program/XML
  • · 2007. 3. 26.
  • textsms
  • navigate_before
  • 1
  • 2
  • 3
  • navigate_next
공지사항
전체 카테고리
  • 분류 전체보기 (194)
    • 통계분석(Statistics) (1)
      • SPSS (1)
    • IT Talk (6)
    • Security (3)
      • 정보보호개론 (3)
    • Program (105)
      • C# (27)
      • ASP.NET (10)
      • ADO.NET (0)
      • CSS (1)
      • JavaScript (12)
      • Ruby (3)
      • XML (19)
      • Programming (13)
      • E-Test (Project) (20)
    • Network (2)
    • DATABASE (14)
    • Server(System) (1)
    • Advertise (1)
      • 음악학원소개!! (1)
    • ETC (58)
      • Download (13)
      • 면접정보 (3)
      • Think (17)
      • 커뮤니티 (17)
      • 비공개 (8)
최근 글
인기 글
최근 댓글
태그
  • #마샬링
  • #DOM
  • #프로그래밍
  • #xml
  • #ASP.NET
  • #Remoting
  • #Ajax
  • #.NET
  • #c#
  • #JavaScript
전체 방문자
오늘
어제
전체
Copyright © .NET TEAM - MindVirus All rights reserved.
Designed by JJuum

티스토리툴바