Updating the datagrid values

M

Murali

Hi All,

I have an asp.net datagrid and it contains six rows. I want to update
those values into the database but i dont want to use for each in the
datagriditem collection.

How I can do that ?
 
M

Michael Nemtsev [MVP]

Hello Murali,

Why not to use databinding via DataGrid.DataSource property?

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo


M> Hi All,
M>
M> I have an asp.net datagrid and it contains six rows. I want to update
M> those values into the database but i dont want to use for each in the
M> datagriditem collection.
M>
M> How I can do that ?
M>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top