こんにちは私はasp.netプロジェクトに取り組んでいます。
データベースとグリッドビューを使用しています。作成時に各グリッドビュー行の最初のセルの名前を取得したい。なぜこれが機能しないのですか?
protected void CustomersGridView_RowCreated(Object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
Response.Write(e.Row.Cells[0].Text);
}
}