C# farpoint로 조회,입력,수정,저장,삭제 프로그램입니다.
닫기
  • 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
해당 자료는 9페이지 까지만 미리보기를 제공합니다.
9페이지 이후부터 다운로드 후 확인할 수 있습니다.

소개글

C# farpoint로 조회,입력,수정,저장,삭제 프로그램입니다. 에 대한 보고서 자료입니다.

목차

[ProjectTest]
  [bin]
  [obj]
  [Properties]
  BookRoom01.cs
  BookRoom01.Designer.cs
  BookRoom01.resx
  DBCONNECT.cs
  Program.cs
  ProjectTest.csproj

ProjectTest.sln
ProjectTest.suo
USERTABLE.bak



1.75MB

파일 28
폴더 8

본문내용

BookRoom01.cs




using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
using System.Collections;
namespace ProjectTest
{
  public partial class BookRoom01 : Form
  {
    public SqlConnection sct;
    private int no = 0;
    private SqlCommand scm = null;
    private string inup;


    public void cmb(ComboBox cb, ArrayList list, string val)
    {
      cb.SelectedValue = val;
      cb.DataSource = list;
      cb.ValueMember = \"val\";
      cb.DisplayMember = \"dis\";
    }

    public static SqlConnection ConnectionProvider()
    {
      return new SqlConnection(DBCONNECT.connect);
    }

    public DataSet getDataSet(string query)
    {
      SqlDataAdapter qeqp = null;
      DataSet ds = null;
      sct = ConnectionProvider();
      qeqp = new SqlDataAdapter(query, sct);
      ds = new DataSet();
      qeqp.Fill(ds, \"tb\");
      return ds;
    }

    public int nonquery(string query)
    {
      sct = ConnectionProvider();
      no = 0;
      scm = new SqlCommand(query, sct);

      sct.Open();
      no = scm.ExecuteNonQuery();
      
      return no;
    }

    public BookRoom01()
    {
      InitializeComponent();
    }

    private void BookRoom01_Load(object sender, EventArgs e)
    {
      yn();
      
      tableSrh();  
    }

    private void tableSrh()
    {
      string test = \"select userid,usernm,userno,major,joindt,quitdt,yn from usertable \"
        + \"where 1=1 and usernm like \'%\" + srhusernm.Text + \"%\' and userno like \'%\" + srhuserno.Text + \"%\'\";

키워드

c#,   Farpoint,   Spread,   datagrid,   mssql2012,   mssql,   visualstudio,   소스,   프로젝트,   파포인트
  • 가격3,000
  • 페이지수28페이지
  • 등록일2014.01.21
  • 저작시기2014.1
  • 파일형식압축파일(zip)
  • 자료번호#902587
본 자료는 최근 2주간 다운받은 회원이 없습니다.
청소해
다운로드 장바구니