소개글
1. 신규: DsMemory를 초기화 (삭제)후 1행 추가2. 조회: DtBaseball의 내용을 가져와 MsMemory에 넣는다.
가져온 Data는 textBox에 자동으로 Binding
3. 저장: DtBaseball에 행 추가(행 수정) 된다.
4. 삭제: DtBaseball의 해당 행이 삭제 된다.
컴파일 실행환경
Visual Studio 2008본문내용
namespace WindowsFormsApplication7{
partial class Form1
{
/// <summary>
/// 필수 디자이너 변수입니다.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 사용 중인 모든 리소스를 정리합니다.
/// </summary>
/// <param name="disposing">관리되는 리소스를 삭제해야 하면 true이고, 그렇지 않으면 false입니다.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form 디자이너에서 생성한 코드
/// <summary>
/// 디자이너 지원에 필요한 메서드입니다.
/// 이 메서드의 내용을 코드 편집기로 수정하지 마십시오.
/// </summary>
private void InitializeComponent()
{
this.label1 = new System.Windows.Forms.Label();
this.panel1 = new System.Windows.Forms.Panel();
this.button4 = new System.Windows.Forms.Button();
this.button3 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.button1 = new System.Windows.Forms.Button();
this.textBox3 = new System.Windows.Forms.TextBox();
this.textBox2 = new System.Windows.Forms.TextBox();
this.textBox1 = new System.Windows.Forms.TextBox();
this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.dataGridView1 = new System.Windows.Forms.DataGridView();
this.dataGridView2 = new System.Windows.Forms.DataGridView();
this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).BeginInit();
this.SuspendLayout();
압축파일 내 파일목록
WindowsFormsApplication7/WindowsFormsApplication7.sln
WindowsFormsApplication7/WindowsFormsApplication7.suo
WindowsFormsApplication7/WindowsFormsApplication7/
WindowsFormsApplication7/WindowsFormsApplication7/BaseBallDAO.cs
WindowsFormsApplication7/WindowsFormsApplication7/bin/
WindowsFormsApplication7/WindowsFormsApplication7/bin/Debug/
WindowsFormsApplication7/WindowsFormsApplication7/bin/Debug/WindowsFormsApplication7.exe
WindowsFormsApplication7/WindowsFormsApplication7/bin/Debug/WindowsFormsApplication7.pdb
WindowsFormsApplication7/WindowsFormsApplication7/bin/Debug/WindowsFormsApplication7.vshost.exe
WindowsFormsApplication7/WindowsFormsApplication7/bin/Debug/WindowsFormsApplication7.vshost.exe.manifest
WindowsFormsApplication7/WindowsFormsApplication7/DsMemory.xsc
WindowsFormsApplication7/WindowsFormsApplication7/DsMemory.xsd
WindowsFormsApplication7/WindowsFormsApplication7/DsMemory.xss
WindowsFormsApplication7/WindowsFormsApplication7/DsMemory1.Designer.cs
WindowsFormsApplication7/WindowsFormsApplication7/Form1.cs
WindowsFormsApplication7/WindowsFormsApplication7/Form1.Designer.cs
WindowsFormsApplication7/WindowsFormsApplication7/Form1.resx
WindowsFormsApplication7/WindowsFormsApplication7/obj/
WindowsFormsApplication7/WindowsFormsApplication7/obj/Debug/
WindowsFormsApplication7/WindowsFormsApplication7/obj/Debug/Refactor/
WindowsFormsApplication7/WindowsFormsApplication7/obj/Debug/TempPE/
WindowsFormsApplication7/WindowsFormsApplication7/obj/Debug/TempPE/DsDB.Designer.cs.dll
WindowsFormsApplication7/WindowsFormsApplication7/obj/Debug/TempPE/DsMemory1.Designer.cs.dll
WindowsFormsApplication7/WindowsFormsApplication7/obj/Debug/WindowsFormsApplication7.csproj.FileListAbsolute.txt
WindowsFormsApplication7/WindowsFormsApplication7/obj/Debug/WindowsFormsApplication7.csproj.GenerateResource.Cache
WindowsFormsApplication7/WindowsFormsApplication7/obj/Debug/WindowsFormsApplication7.exe
WindowsFormsApplication7/WindowsFormsApplication7/obj/Debug/WindowsFormsApplication7.Form1.resources
WindowsFormsApplication7/WindowsFormsApplication7/obj/Debug/WindowsFormsApplication7.pdb
WindowsFormsApplication7/WindowsFormsApplication7/obj/Debug/WindowsFormsApplication7.Properties.Resources.resources
WindowsFormsApplication7/WindowsFormsApplication7/Properties/
WindowsFormsApplication7/WindowsFormsApplication7/Properties/AssemblyInfo.cs
WindowsFormsApplication7/WindowsFormsApplication7/Properties/Resources.Designer.cs
WindowsFormsApplication7/WindowsFormsApplication7/Properties/Resources.resx
WindowsFormsApplication7/WindowsFormsApplication7/Properties/Settings.Designer.cs
WindowsFormsApplication7/WindowsFormsApplication7/Properties/Settings.settings
WindowsFormsApplication7/WindowsFormsApplication7/WindowsFormsApplication7.csproj
WindowsFormsApplication7/WindowsFormsApplication7.suo
WindowsFormsApplication7/WindowsFormsApplication7/
WindowsFormsApplication7/WindowsFormsApplication7/BaseBallDAO.cs
WindowsFormsApplication7/WindowsFormsApplication7/bin/
WindowsFormsApplication7/WindowsFormsApplication7/bin/Debug/
WindowsFormsApplication7/WindowsFormsApplication7/bin/Debug/WindowsFormsApplication7.exe
WindowsFormsApplication7/WindowsFormsApplication7/bin/Debug/WindowsFormsApplication7.pdb
WindowsFormsApplication7/WindowsFormsApplication7/bin/Debug/WindowsFormsApplication7.vshost.exe
WindowsFormsApplication7/WindowsFormsApplication7/bin/Debug/WindowsFormsApplication7.vshost.exe.manifest
WindowsFormsApplication7/WindowsFormsApplication7/DsMemory.xsc
WindowsFormsApplication7/WindowsFormsApplication7/DsMemory.xsd
WindowsFormsApplication7/WindowsFormsApplication7/DsMemory.xss
WindowsFormsApplication7/WindowsFormsApplication7/DsMemory1.Designer.cs
WindowsFormsApplication7/WindowsFormsApplication7/Form1.cs
WindowsFormsApplication7/WindowsFormsApplication7/Form1.Designer.cs
WindowsFormsApplication7/WindowsFormsApplication7/Form1.resx
WindowsFormsApplication7/WindowsFormsApplication7/obj/
WindowsFormsApplication7/WindowsFormsApplication7/obj/Debug/
WindowsFormsApplication7/WindowsFormsApplication7/obj/Debug/Refactor/
WindowsFormsApplication7/WindowsFormsApplication7/obj/Debug/TempPE/
WindowsFormsApplication7/WindowsFormsApplication7/obj/Debug/TempPE/DsDB.Designer.cs.dll
WindowsFormsApplication7/WindowsFormsApplication7/obj/Debug/TempPE/DsMemory1.Designer.cs.dll
WindowsFormsApplication7/WindowsFormsApplication7/obj/Debug/WindowsFormsApplication7.csproj.FileListAbsolute.txt
WindowsFormsApplication7/WindowsFormsApplication7/obj/Debug/WindowsFormsApplication7.csproj.GenerateResource.Cache
WindowsFormsApplication7/WindowsFormsApplication7/obj/Debug/WindowsFormsApplication7.exe
WindowsFormsApplication7/WindowsFormsApplication7/obj/Debug/WindowsFormsApplication7.Form1.resources
WindowsFormsApplication7/WindowsFormsApplication7/obj/Debug/WindowsFormsApplication7.pdb
WindowsFormsApplication7/WindowsFormsApplication7/obj/Debug/WindowsFormsApplication7.Properties.Resources.resources
WindowsFormsApplication7/WindowsFormsApplication7/Properties/
WindowsFormsApplication7/WindowsFormsApplication7/Properties/AssemblyInfo.cs
WindowsFormsApplication7/WindowsFormsApplication7/Properties/Resources.Designer.cs
WindowsFormsApplication7/WindowsFormsApplication7/Properties/Resources.resx
WindowsFormsApplication7/WindowsFormsApplication7/Properties/Settings.Designer.cs
WindowsFormsApplication7/WindowsFormsApplication7/Properties/Settings.settings
WindowsFormsApplication7/WindowsFormsApplication7/WindowsFormsApplication7.csproj
참고 자료
없음이 자료와 함께 구매한 자료
C#과 XML을 이용한 수강신청 시스템 0페이지
C#을 이용한 자판기 프로그램(음료판매 프로그램) 0페이지
ADO 객체의 이해 12페이지