C# datagridview 틀고정하기
datagridview1.Columns[1].Frozen = true; datagridview1.Rows[1].Frozen = true;
- C# Programming
- · 2019. 6. 13.
c# 쓰레드
Thread t1 = new Thread(new ThreadStart(DownLoad)); t1.Start();
- C# Programming
- · 2019. 5. 16.
comboBox1.MouseWheel += ConditionBox_MouseWheel; private void ConditionBox_MouseWheel(object sender, MouseEventArgs e) { ((HandledMouseEventArgs)e).Handled = true; }
using System; using System.Threading; using System.Windows.Forms; namespace ControlTest { public partial class Form1 : Form { public Form1() { InitializeComponent(); dataGridView1.DataSource = Var.cars; } private void button1_Click(object sender, EventArgs e) { CarInfo carInfo = new CarInfo(textBox1.Text, int.Parse(textBox2.Text), int.Parse(textBox3.Text)); Var.cars.Add(carInfo); } private void ..
간단 사용법입니다 SpeechSynthesizer synth = new SpeechSynthesizer(); synth.SetOutputToDefaultAudioDevice(); synth.Speak("안녕하세요");
datagridview1.Columns[1].Frozen = true; datagridview1.Rows[1].Frozen = true;
Thread t1 = new Thread(new ThreadStart(DownLoad)); t1.Start();
using MySql.Data.MySqlClient; string ConnectionString = "SERVER=localhost; USER=아이디; DATABASE=데이터베이스; PASSWORD=비밀번호;"; string sql = "select * from test"; DataSet ds = new DataSet(); MySqlConnection Conn = new MySqlConnection(ConnectionString); MySqlDataAdapter dataAdapter = new MySqlDataAdapter(sql, Conn); dataAdapter.Fill(ds,"test");