Известный Болтун
Зарегистрирован: 21 February 2005
Сообщения: 680
Примеры кода: 0
|
RE: Результат запроса в датагрид |
06 July 2006 11:34 |
|
|
|
|
while(reader.Read())
{
DataRow dr = myTable.NewRow();
dr[0] = reader[0];
dr[1] = reader[1];
myTable.Rows.Add(dr);
}
myGrid.DataSource=myTable;
myGrid.DataBind();
/**********Comments***************************/
We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With gr
Данное сообщение получено с сайта GotDotNet.RU
|
|