File:Drop-down_list_example.PNG
From Wikipedia, the free encyclopedia
Drop-down_list_example.PNG (135 × 90 pixels, file size: 1 KB, MIME type: image/png)
This is a file from the Wikimedia Commons. Information from its description page there is shown below. Commons is a freely licensed media file repository. You can help. |
Contents
Summary
DescriptionDrop-down list example.PNG |
English: An example of a drop-down list(computing GUI widget). This is not a screenshot of a real program - I just drew it, and it's meant to look simple and generic. Deutsch: Ein Beispiel für eine Drop-Down-Liste einer grafischen Softwarebedienoberfläche). Dies ist kein Screenshot aus einem echten Programm. Es ist lediglich selbst angelegt, um als einfaches und allgemeines Beispiel zu taugen. |
Source | Own work |
Author | Jaksmata |
===================================================
Dropdownlist Example
public void GetId() { Ds = obj.fillDataSet("usp_getDataId", "tbl_DataId"); DdlDataId.Items.Clear(); DdlDataId.Items.Add(new ListItem("-Select-", "-1")); DdlDataId.DataSource = Ds.Tables["tbl_DataId"]; DdlDataId.DataTextField = "fld_Id"; DdlDataId.DataValueField = "fld_Id"; DdlDataId.DataBind(); } public void GetMonth() { DDLMonth.Items.Clear(); DDLMonth .Items .Add (new ListItem ("-Select-","-1")); for (int i = 1; i <= 12; i++) { DDLMonth.Items.Add("" + i.ToString()); } } public void GetYear() { DDLYear.Items.Clear(); DDLYear.Items.Add(new ListItem("-Select-", "-1")); for (int j = 2000; j <= 2099; j++) { DDLYear.Items.Add("" + j.ToString()); }
===================
<asp:DropDownList ID="DDLYear" runat="server" Width="140px"
AutoPostBack ="false" AppendDataBoundItems ="true" > <%--<asp:ListItem Selected ="True">-Select-</asp:ListItem>--%>
</asp:DropDownList> <asp:RequiredFieldValidator ID="Req1" runat="server" ErrorMessage="Please Select" ControlToValidate ="DDLYear" Display ="None" ></asp:RequiredFieldValidator> <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender2" runat="server" TargetControlID ="Req1" PopupPosition ="Left"> </cc1:ValidatorCalloutExtender>
====================
Licensing
Public domainPublic domainfalsefalse |
I, the copyright holder of this work, release this work into the public domain. This applies worldwide. In some countries this may not be legally possible; if so: I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law. |
Items portrayed in this file
depicts
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 18:33, 19 August 2008 | 135 × 90 (1 KB) | Jaksmata | {{Information |Description={{en|1=An example of a drop-down list(computing GUI widget). This is not a screenshot of a real program - I just drew it, and it's meant to look simple and generic.}} |Source=Own work by uploader |Author=[[User:Jaksmata|Jaksmata |
File usage
The following pages on the English Wikipedia use this file (pages on other projects are not listed):
Global file usage
The following other wikis use this file:
- Usage on ar.wikipedia.org
- Usage on ca.wikipedia.org
- Usage on en.wiktionary.org
- Usage on fi.wikipedia.org
- Usage on fr.wiktionary.org
- Usage on hr.wikipedia.org
- Usage on id.wikipedia.org
- Usage on ja.wikipedia.org
- Usage on mk.wikipedia.org
- Usage on ms.wikipedia.org
- Usage on ru.wikipedia.org
- Usage on sr.wikipedia.org
- Usage on sv.wikipedia.org
- Usage on ta.wikipedia.org
- Usage on th.wikipedia.org
- Usage on uk.wikipedia.org
- Usage on zh-yue.wikipedia.org
Retrieved from "https://en.wikipedia.org/wiki/File:Drop-down_list_example.PNG"