Control Panel
Forum
Hosting Help
ASP.NET 3.5 & SQL 2008 Web Hosting
Resources
Login
Members
Shared Hosting
|
New Features
|
Advertise
|
Tutorials
|
Silverlight Tutorials
|
Product Reviews in India
|
Free aptitude test questions
|
TATA Nano Car reviews
Total
members
:
90133
Average new registrations per day (in last 7 days):
94
New Registration:
Open
Register Now
Home
»
Questions & Answers
»
when i edit the gridview the database value dint bind on dro...
when i edit the gridview the database value dint bind on dropdownlist and check box
6/6/2008
Author:
priya
Dr.Mohan's Diabetes specialities center
hi,
I m working in asp.net 2005 with c# language. in that i hv used gridview 3 dropdownlist and 4 checkbox and textbox in edit mode.when i edit gridview the text box value is showing proper database value where as dropdownlist doesnt bind the database value. in the same way checkbox value is stored as 1 or 0 in database. if the checkbox value is 1 ten the checkbox of gridview shud be checked.this is also not firing..
so pls help me to do these things
thanking you,
Answers .............
Author:
Mandalika V Harish
Posted Date: 6/12/2008
well you are not clear, but anyways ASP.NET 2005 c# is my playground too, eventhough i am a noob myself.
well firstly, use the following command
Page.DataBind();
hope it helps;
Author:
dan druff
Posted Date: 8/27/2008
try configuring the grid.
the grid has a smart tag where you can configure its datasource
try configuring its datasource,
select the database you want from the list.
but first you must add a connection of that database,so that it will be recognized by visual web developer or visual studio
you can do this by clicking add connection in the database explorer or server explorer.specify the location of the database then its done.VWD o VS can automatically recognize it.
after all,specify the columns you want to include.
i hope this helps.
You must
login
to post answer for this question.
Partners
Privacy Policy
Terms of use
Contact Us
SpiderWorks Technologies.
All Rights Reserved.