In ASP when we specify a select statement we can directly specify the value.<BR><SELECT name="cboTest"><BR><option value=http://aspmessageboard.com/archive/index.php/"abc">ABC</option><BR></SELECT><BR><BR>same way how do I get the value for a drop down list in ASP.NET(either in VB or C#)???<BR><BR>Thank you,<BR>Sunitha.This is a beta 1 example<BR>http://plusasp.com/plusdb/selectlist2.aspx<BR><BR>This is a beta 2 example<BR>http://66.129.68.40/plusdb/selectlist2.aspx<BR><BR><BR>RobThanks RobT.<BR>I got a brief idea about this. The beta 2 link specifies using a SQL connection. If I do not like to use SQL and just like to see what values does it contain how should I do it?<BR><BR>Let me give an example to clear this:<BR><BR>Consider for example:<BR><BR>In ASP;<BR><select name="cboName"><BR> <option value="">--Name--</option><BR> <option value="A1">ABC</option><BR> <option value="X1">XYZ</option><BR> <option value="P1">PQR</option><BR></select><BR>when I do the validations using javascript, I can get the value<BR>using, val=document.formname.cboName.value<BR><BR>Same way, how do i get in the following code.<BR><asp:dropdownlist><BR> <asp:listitem>--Names--</asp:listitem><BR> <asp:listitem>ABC</asp:listitem><BR> <asp:listitem>XYZ</asp:listitem><BR> <asp:listitem>PQR</asp:listitem><BR></asp:dropdownlist><BR><BR>Hope this will help you to guide me.<BR><BR><BR>