Posted on 2006/10/30 18:39
Filed Under Development/C# Application













string query = "SELECT * FROM member WHERE mem_id = 'TakeOne'";

MySqlCommand command = new MySqlCommand(query, connect);



//결과값이 없는 쿼리를 날릴때

//command.ExecuteNonQuery();



//결과값이 있을때

MySqlDataReader reader = command.ExecuteReader();

reader.Read();            

MessageBox.Show(reader["mname"].ToString());

command.Connection.Close();


2006/10/30 18:39 2006/10/30 18:39

트랙백 주소 : http://www.takeone.pe.kr/trackback/76

Counter

· Total
: 361647
· Today
: 95
· Yesterday
: 110