There is a messages table. I will list all messages and I will approve some messages and decline some messages. Then I will click SaveButton and update database.
Hos can I list and update all together.
like shape
I'm sorry . My english very poor.
note: There are other fields in my tablo . (message, caption, description and approval). I will show all fields.

Jan MontanoPosted Jan 26, 2009, 6:10 AM
Good for you.
ozkan atmacaPosted Jan 26, 2009, 5:45 AM
I have inserted gridview and sqldatasource on my page. Then I have converted to template approve field (checkbox) and then I have changed enable=true for checkbox and inserted save buttton on my page.
protected void BtnKaydet_Click(object sender, EventArgs e)
{
foreach (GridViewRow satir in Grid.Rows)
{
Grid.UpdateRow(satir.RowIndex, true);
}
}