CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > windows_hosting.hosting_open_forum Tags:
Item Type: NewsGroup Date Entered: 3/19/2005 2:44:00 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 4 Views: 186 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
5 Items, 1 Pages 1 |< << Go >> >|
maen_kh
Asp.Net User
DropDown List Value3/19/2005 2:44:00 PM

0/0

Dear:
I have a dropdown list fill from database. I have assign tow propertry to it:
DList.datatextfield="des_eng";
DList.datavaluefield="tab_id";

in some wher in my application I want to use the selected value as a parameter to other function, and I use this code for that:
string s=DList.selectedvalue.text;
put the problem is that the property selectedvalue.text does not return any value.

any help plz
BrockAllen
Asp.Net User
Re: DropDown List Value3/19/2005 9:00:19 PM

0/0

It's just DList.SelectedValue or DList.SelectedItem.Value

-Brock

DevelopMentor
http://staff.develop.com/ballen
maen_kh
Asp.Net User
Re: DropDown List Value3/20/2005 3:41:09 PM

0/0

I dont want the value of the dropdown list .
I want the text of the dropdown list.

regards
BrockAllen
Asp.Net User
Re: DropDown List Value3/20/2005 4:41:23 PM

0/0

So use DList.SelectedItem.Text

I don't mean to be rude, but there's a pluthora of information in the documentation for ASP.NET and all of the server side controls. If you don't have it installed on your local machine, then it's available online.

-Brock

DevelopMentor
http://staff.develop.com/ballen
maen_kh
Asp.Net User
Re: DropDown List Value3/20/2005 6:19:22 PM

0/0

First tank you.
I know it?s a stupid question to ask about this property of dropdown list.
But the problem is that the .text property dose not returns a value and I make a debug and this property does not return any value.

Tank you again
5 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Creating Web Pages All-in-One Desk Reference For Dummies Authors: Richard Wagner, Richard Mansfield, Emily A Vander Veer, Pages: 672, Published: 2007
Pro NetBeans IDE 5.5 Enterprise Edition: enterprise edition Authors: Adam Myatt, Pages: 445, Published: 2007
Beginning Dreamweaver MX 2004 Authors: Charles E. Brown, Imar Spaanjaars, Todd Marks, Pages: 792, Published: 2004
Professional ASP.NET 2.0 Authors: Bill Evjen, Scott Hanselman, Farhan Muhammad, Srinivasa Sivakumar, Devin Rader, Pages: 1253, Published: 2005
Programming ASP.NET: Building Web Applications and Services Using C and VB.NET. Authors: Jesse Liberty, Dan Hurwitz, Pages: 988, Published: 2003
ASP.NET 2.0 All-In-One Desk Reference For Dummies: all-in-one desk reference for dummies Authors: Doug Lowe, Jeff Cogswell, Ken Cox, Pages: 910, Published: 2006
Introducing Microsoft Office InfoPath 2003 Authors: Roger Jennings, Acey Bunch, Pages: 544, Published: 2004
Beginning InfoPath 2003 Authors: F. Scott Barker, Pages: 384, Published: 2005
Microsoft Office InfoPath 2003 Kick Start: Kick Start Authors: Andrew Watt, Pages: 388, Published: 2004
Beginning ASP.NET 2.0 Databases: From Novice to Professional Authors: Damien Foggon, Pages: 625, Published: 2006

Web:
ASP.NET DropDownList Web Control, Part 1 May 28, 2004 ... Like all web controls, since the DropDownList just renders as a form element (a SELECT tag), its value can be retrieved from the Request ...
Set dropdownlist value Talk about Set dropdownlist value. ... Set dropdownlist value. I have a dropdownlist that I was setting to an index (which happened ...
Get Dropdownlist Value - CodingForums.com Get Dropdownlist Value ASP.NET. ... Anybody know how to get the Selected value of the dropdownlist from the code below once the value of the ...
Assigning a DropDownList Value in a ASP.NET GridView Using ... Aug 5, 2008 ... As a moderator in the asp.net forums, I often see the same or similar questions. The answer to this question is pretty straight forward but ...
[thelist] (ASP.NET) Drop Down List Value/Text The default value is being returned. In the submit button onClick handler, I try to access a drop down list like this: lbNameSuffix.SelectedItem. ...
DropDownList in ASP .Net Dec 27, 2004 ... The above code will load the DropDownList with the Display Value as DisplayValueFieldFromDB and Data Value as DataValueFieldFromDB. ...
dropdownlist value doesnt get selected - ASP dropdownlist value doesnt get selected - ASP Community and Forum - Our ASP forum is the place for Q&A-style discussions related to this legacy version of ...
Selecting a DropDownList Value Embedded in a DataGrid This How To shows you how to populate a DropDownList in a DataGrid row, and set the correct selected item. The sample code includes additional DataGrid ...
Query from a drop down list value - ASP.NET Forums should work, if the selected value of the dropdownlist has the value "". ...
Using Dropdown List Value in Database SQL Query - Code Samples Using Dropdown List Value in Database SQL Query This example is how to use a dropdown list value in a database query using ASP. Form Page Code:

Videos:
Excel Lookup Series #13: INDEX & MATCH functions Example 3! See how to use the INDEX & 3 MATCH functions in one formula to look up a value from 1 of 3 different tables! Also see how adding Names & a Data ...
Learn Excel from MrExcel Episode 713 - Validation Woes In Episode 713, a link to http:/www.mrexcel.com/excel_video_training.html, another link to http://www.mrexcel.com/video2003.html. Then, how to set ...
YTL Excel #126: VLOOKUP & INDIRECT & COLUMN functions See how to retrieve values from more than one table. See how to populate a template with values using Data Validation, VLOOKUP, INDIRECT, COLUMN ...
Learn Excel Episode 378 - Cell Dropdown If you are creating a worksheet for someone else to fill out, why not provide dropdowns where the person can choose the valid values from a ...
Excel Magic Trick #5: Data Validation & VLOOKUP Excel! See how to name a cell range, use data validation to add a drop-down list, and how to use the VLOOKUP function to look up values. See how ...
Excel 378 – Learn Excel from MrExcel – Cell Dropdown If you are creating a worksheet for someone else to fill out, why not provide dropdowns where the person can choose the valid values from a ...
Re: Red alert 2 Yuris Revenge How to make Mod Maps PT 1 Due to request, I made another video explaining (hopefully better explaining) on how to make mod maps. This is not a tutorial! this is basicly for ...
Downloading Files From Your PC To Your PSP Wirelessly NO HACKS WERE USED IN THIS WHAT SO EVER. If you want this follow these instructions. You Will Need: A PSP (Duh) A PC (Duh) A Wireless Router ...
The Queue: February 8, 2007 LET'S START YOU OFF WITH SOME NEWS.COM HEADLINES! VIDEO GAMES GOOD FOR THE EYES -- ACTION PUSHES PLAYER'S VISUALS JOBS WANTS DRM-FREE MUSIC ...
135@Nam Hai, Vietnam 135º@Nam Hai, Hoi An Resting on a tranquil one-kilometre stretch of the pristine China Beach, near the world heritage protected ancient trading ...




Search This Site:










any future plans for a user customizable “my page” page?

dealing with embedded quotes in database fields

cannt find sqladapter in my vs2005 !!! [^o)]

how to enable sso on web applications accross subdomains using active directory

language

wierd problem updating database.

clubsite.css?

multiple composite controls on a page and event firing unexpectedly

security roles appear on "add" page

need help please!

can i include a vbscript file in my aspx page?

looking for article management system

password too long??

can someone please help? access = modules failed to load .

modulesettings, link-module, pnloptions

why are the webcontrols no longer supported?

preventing account lockout

dnn installation... problem with image

forms authentication for a multiproject solution

client certificate????

excluding replacement .config files from deployment?

security trimming and treeview site navigation in windows mode authentication

critical error surveys

windows authentication dnn 3.2

redirect user to a page with 'http basic authentication'

solpartmenu not compatible in mac os

user.identity.name doesn't work on server

menu click event handling problem on master page...

how to change the color of a tree node?

using dotnetnuke as an application framework

 
All Times Are GMT