Ask a Question related to ASP.NET General, Design and Development.
-
Diva #1
Looping through rows in a DataGrid
Hi,
I have a data grid in my application. It has 20 rows and I
have set the page size as 5. I have a Submit button on my
form and when I click on Submit, I need to loop through
the rows in the datagrid. Using the items collection just
gives me the 5 rows that are displayed on the screen.
Is there any way of looping through all the rows in the
grid?
Thanks,
Diva
Diva Guest
-
Looping through all rows and columns (to get sub-totals for each column and row)
Is there a way to loop through all rows and columns in order to fill a sub-totaled columns and a sub-totaled row (footer). I thought about doing... -
Moving Rows in a datagrid.
Does anyone know of a good example that shows me how I can move rows in a datagrid? For example Click and Drag row 5 and drop it on row 2 to insert... -
DataGrid with buttons in rows
I was wondering if this was possible, how does one place buttons or any other control in a row of a datagrid (each row actually). I even tried... -
Two rows for each record in DataGrid
Hello all, I have posted similar question in another group a while ago (before this group came into existence) but would like to double-check on... -
Adding rows to a Datagrid
Jason, Thanks for the reply. Yes... it would be possible... but I also don't want to commit deletes/changes to the child records until they are... -
S. Justin Gengo #2
Re: Looping through rows in a DataGrid
Diva,
Instead of looping through the rows of the grid (which only contains five)
try looping through the dataset or datatable that's bound to it instead.
--
S. Justin Gengo, MCP
Web Developer
Free code library at:
[url]www.aboutfortunate.com[/url]
"Out of chaos comes order."
Nietzche
"Diva" <moonlight_diva_17uk@yahoo.com> wrote in message
news:00c901c35207$3e3930d0$a401280a@phx.gbl...> Hi,
>
> I have a data grid in my application. It has 20 rows and I
> have set the page size as 5. I have a Submit button on my
> form and when I click on Submit, I need to loop through
> the rows in the datagrid. Using the items collection just
> gives me the 5 rows that are displayed on the screen.
> Is there any way of looping through all the rows in the
> grid?
>
> Thanks,
> Diva
S. Justin Gengo Guest



Reply With Quote

