0
SqlDataAdapter
을 사용하는 약간의 코드로 작업해야하며이 방법이 올바른지 궁금합니다. (설명서를 살펴 봤지만 마음에 분명하지 않습니다.)SQLDataAdapter 및 DataSet
SqlCommand cmd = new SqlCommand();
cmd.CommandText = "SELECT * FROM MY_TABLE";
var Adapter = new SqlDataAdapter(cmd);
DataSet Result = new DataSet();
Adapter.Fill(Result);
편집 : 내가 없어진 것을 발견 생각한다.
connectionString = help.Get_MyConnectionString();
Connection = new SqlConnection(connectionString);
Connection.Open();
가 열린 연결 -.- "