John
I am assuming you already have template columns set up to enter the
data into.
For this example I am using a TextBox inside a template column called
strDateOfClean.
int intCount = GridMain.Rows.Count;
int intIndex = 0;
while (intIndex < intCount)
{
TextBox strDateOfClean =
GridMain.Rows[intIndex].FindControl("strDateOfClean") as TextBox;
//Then you can do what you need to here to save the
//strDateOfClean, such as updating an SQL table. e.g. Adding it to an
SQL string
//and firing a command.
//string strsql = "Update tblTest set strTest = '" +
strDateOfClean.Text + "'";
intIndex += 1;
}
Cheers
Jared
Le************@gmail.com wrote:
Is it possible to update all the rows in a single postback using
Gridview Control,
regards
John