BLOG main image
분류 전체보기 (313)
교육 (13)
NEIS (6)
Edufine (0)
Programmer (5)
Android Programming (1)
Internet W3 (18)
JAVA Programming (9)
JSP/Servlet (1)
Framework (7)
Spring For Beginner (4)
eGovFrame (10)
MEAN Stack (2)
NodeJS (5)
SublimeText (30)
SublimeText_Tips (18)
Eclipse (16)
JavaScript (8)
jQuery (12)
jQuery_tips (1)
Ajax (3)
DWR(Direct Web Remote) (4)
JSON(JS Object Notation) (4)
Oracle (2)
MySQL (28)
OS (16)
Download (3)
Life (10)
Favorit Site (1)
Books (2)
Healthy (1)
Stocks (1)
HTML5/CSS (1)
Python (4)
Security (7)
CISSP (0)
Ruby On Rails (5)
일기장 (0)
영어 교과서(중2) (3)
알고리즘 (0)
Go Lang (3)
VB 2010 (12)
C# (1)
정보보안기사(네트워크보안) (0)
업무 활용 엑셀 (11)
틈틈이 활용팁 (14)
하루 하루 살아가며 ……. (2)
기술 (1)
파이썬 & 데이터분석 (1)
Visitors up to today!
Today hit, Yesterday hit
daisy rss
tistory 티스토리 가입하기!
2016. 4. 25. 09:23

Visual Studio 2015 Sp2


https://www.visualstudio.com/ko-kr/downloads/download-visual-studio-vs.aspx


Visual Studio 2013 Sp5


https://go.microsoft.com/fwlink/?LinkId=519391


Visual Studio 2012 Sp5


https://www.microsoft.com/ko-KR/download/details.aspx?id=48708

 

 

using System;

using System.Collections.Generic;

using System.ComponentModel;

using System.Data;

using System.Drawing;

using System.Text;

using System.Windows.Forms;

using System.Data.SqlClient;

 

namespace First_Csharp_app

{

    public partial class Form1 : Form

    {

        public Form1()

        {

            InitializeComponent();

        }

        private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)

        {

            SqlConnection con = new SqlConnection("server = MUNESH\\SQL2008R2;Database=data;UID=sa;Password=123;");

            if (e.RowIndex >= 0)

            {

                DataGridViewRow row = this.datagridview1.Rows[e.RowIndex];

                if (cell != null)

                    id_txt.Text = row.Cells["ID"].Value.ToString();

                textBox1.Text = row.Cells["FirsName"].Value.ToString();

                textBox1.Text = row.Cells["LastName"].Value.ToString();

                textBox3.Text = row.Cells["Age"].Value.ToString();

            }

        }

    }

 


반응형

'VB 2010' 카테고리의 다른 글

DataGridView 데이터 수정, 삭제 등  (0) 2016.05.12
수당 정리  (0) 2016.05.06
CheckBox in Header Cell of DataGridView Control  (0) 2016.04.24
20160414_코딩 도움 사이트  (0) 2016.04.14
[VB.NET] DataGridView 팁 정리  (0) 2016.04.14