CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: NewsGroup Date Entered: 4/25/2006 1:17:33 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 3 Views: 716 Favorited: 0 Favorite
4 Items, 1 Pages 1 |< << Go >> >|
Baccu
Asp.Net User
DropDownList in DetailsView4/25/2006 1:17:33 PM

0

 

Hallo,

i build a Dataconnection with DetailsView to insert new Data to a table.

Now I want to show in this DetailView a DropDownList that is connected to another table.

Example: I have a Table with Car Details

Car: Audi

Color: blue

Speed: 200

Driver: (DropDownList with the currently available Drivers, saved in a nother table)

Driven miles: 50.000

Can somebody help me, or give me a link that is going to help me?

regards from germany

baccu

cubeberg
Asp.Net User
Re: DropDownList in DetailsView4/25/2006 2:14:58 PM

0

Baccu,

This seems to be a question that a lot of people are asking.  Here is a link to an MSDN magazine article with a quick control you can create to satisfy this requirement (believe me, you'll find use for it).  I found a bug in the article, so check this blog I did including corrected code.


Chris Berg, MCAD
My Blog

Baccu
Asp.Net User
Re: DropDownList in DetailsView4/25/2006 2:28:13 PM

0

Thank you for the link, it may help but its written in VB.

Do you know anything about an example in C# ?

Baccu

cubeberg
Asp.Net User
Re: DropDownList in DetailsView4/25/2006 2:34:44 PM

0

Baccu,

If you look at the MSDN page I linked to, there is a code download in C#.  I have a feeling you may experience the same issue in C# that I ran into in VB and the syntax to fix it should be the same.  On the other hand, I think that Dino is mainly a C# programmer, so the sample may be correct.


Chris Berg, MCAD
My Blog

4 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Programming Entity Framework Authors: Julia Lerman, Pages: 828, Published: 2009
Microsoft Visual C# 2005 Unleashed Authors: Kevin Hoffman, Pages: 692, Published: 2006
Beginning ASP.NET 2.0 databases: beta preview Authors: John Kauffman, Thiru Thangarathinam, Pages: 404, Published: 2005
ASP.NET AJAX programmer's reference with ASP.NET 2.0 or ASP.NET 3.5 Authors: Shahram Khosravi, Pages: 1522, Published: 2007
Beginning Visual Web Developer 2005 Express: From Novice to Professional Authors: Paul Sarknas, Pages: 334, Published: 2005

Web:
Robert Burke's MSDN Weblog : ASP.NET 2: DetailsView Control ... NET 2: DetailsView Control containing a DropDownList in Edit Mode, bound to a DataSource. Thursday, March 09, 2006 7:32 AM by Robert Burke's Weblog ...
DropDownList in DetailsView I have a GridView, and a DetailsView to edit the data. In the DetailsView I have two TemplateFields with a DropDownList in each ...
DropDownList in a GridView or DetailsView template Talk about DropDownList in a GridView or DetailsView template.
Drop Down List in a detailsview form - ASP.NET Forums This topic has been covered many times in the past. Try searching this forum for the keywords "detailsview dropdownlist". ...
Binding a DropDownList in DetailsView - bytes Its ok - my mistake - the data was coming from the database jumbled up..... "JJ"

Dynamicly Populate DetailsView Insert Field - general_asp.net ... I have a page that has a GridView and Details view on it. .... Changing boundfiield to dropdownlist in a DetailsView on Update or ...
ControlParameter and EditTemplate in DetailsView - ng.asp-net ... If I have e DropDownList box, and when in edit mode I would like to .... I have two drop down lists in my details view, the contents of the ...
hide / don't display rows with no value in a details view ... i have a detailsview that sometimes has empty values inside it (it would .... regarding filling data in dropdownlist..... detailsview fields ...
is there a way to make the repeater horizontal - general_asp.net ... adding to value dropdown list - detailsview ยท anyone one have sample code in vb. net for master/detail dropdownlist? datagrid hyperlink page ...
DropDownList in a Template (InsertItemTemplate ...) - Include a ... p2p.wrox.com Forums - Saving DropDownList selection to a database I got rid of the InsertItemTemplate and the ItemTemplate for the DetailsView and left . ...

Videos:
RCxhet - Edit Templates de un FormView en ASP .net Part 4 Paginacion, Edit templates , accesso a datos , insertar Dropdownlist






question for box

single page assemblies

install directory

debugging and references to code in .dll files

changes i needed to make upgrading from beta 1 to nov ctp

how to redirect to a page in a different project??

system.componentmodel.component in vs 2005

fix for "readonlyconfigurationsectiondata is not found"

vs 2005 disappears

web deployment project feature: partial replacement of web.config sections

align is considered outdated. a newer construct is available.

team foundation server

mimimum perimissions requried to debug asp.net applications from vs 2k5?

architect vs. developer edition

error in web.config.cannot run the code

oracle developer tools

vista: opening a .vsi as win folder?

any idea on a go live date for asp.net 2?

project item template issue

command-line arguments and debugging

wizard function in toolsbox..for this vb web developer 2005

ie6 and ie7 testing with cassini?

triming time from date time in grid view

table adapters and sql server 2005

dal classes

installing visual studio team developer

asp.net configeration error message

send an email by visual web developer (visual basic .net)

amateur question

adding items to tool box

   
  Privacy | Contact Us
All Times Are GMT