Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: C#SQLASP.NET4.0
I'm using Gridview With Template fields. I have taken item template and Edit item template fields.
On edit button click gridview is opening in edit mode but the problem is that value of the control is not showing. Means if Im using drop downlist it should display previous value and then i should update that value. But when I'm clicking edit the dropdown value is "--Select--" not the previously entered value.
How to use gridview rowdatabound with edit command for textbox control its proper but for checkbox,radiobutton,dropdown,checkboxlist,radiobuttonlist its not proper How can i do this?
please help thanks in advance
Posted 20-Nov-12 4:33am
Edited 20-Nov-12 4:40am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
0 Shai Vashdi 1,628
1 Tadit Dash 375
2 Manas Bhardwaj 319
3 Sergey Alexandrovich Kryukov 275
4 OriginalGriff 243
0 Sergey Alexandrovich Kryukov 9,530
1 OriginalGriff 5,711
2 Peter Leow 4,320
3 Maciej Los 3,540
4 Abhinav S 3,373

Advertise | Privacy | Mobile
Web03 | 2.8.140415.2 | Last Updated 20 Nov 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid