ADO.NET을 배우기 때문에 SqlDataReader를 이해하려고합니다.다음 코드 줄의 의미는 무엇입니까?
while (rdr.Read())
{
// get the results of each column
string contact = (string)rdr["ContactName"];
string company = (string)rdr["CompanyName"];
string city = (string)rdr["City"];
// print out the results
Console.Write("{0,-25}", contact);
Console.Write("{0,-20}", city);
Console.Write("{0,-25}", company);
Console.WriteLine();
}
내가의 의미를 이해하려면 "{0, -25}"
: 나는 this tutorial를 사용하여 학습에 노력하고 내가 코드의 다음 부분을 이해 해주기 어려움에 직면하고하는 것은 HERE 언급
도움 주셔서 감사합니다. 정말 감사. – user1395782