Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - Fully editable unbound grid

Reply
 
Old 10-06-2008   #1 (permalink)
mirin


 
 

Fully editable unbound grid

Hello,

In a Default.aspx page, I need to display an unbound grid with the
following editable columns:
Name, Location, Phone, Paid, Amount

Initially the grid would be empty with only the column headings
visible.

Based on certain conditions, the Default.aspx.cs code would fetch data
from a database.
I then need to display the data in the grid with the all fields
rendered editable.
Name would be a textbox,
Location would be a dropdown list
Phone would be a textbox
Paid would be a checkbox
Amount would be a textbox

Fetching the data is no problem for me. But I can't figure out how to
make the fields editable all at once. I don't want an 'Edit' button
for each row. Update should only happen after the user clicks on a
common Update button behind which I'll have the database update code.

Also, the textbox for Amount should only be enabled when user ticks
the Paid checkbox

My actual data and code behind queries will be much more complex so I
really need to use an unbound grid.

Any help is much appreciated.

Many Thanks,
Mirin

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Network Properties are not editable Vista networking & sharing
Start Menu - Editable Locations Pane Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46