Código PHP:
Dim cmdTipoDoc As New SqlCommand("SELECT tipodocid,nombre FROM tipodocidentidad ORDER BY nombre", cn)
Dim drTipoDoc As SqlDataReader = cmdTipoDoc.ExecuteReader(CommandBehavior.CloseConnection)
ddlTipoDoc.DataSource = drTipoDoc
ddlTipoDoc.DataBind()
System.Data.Common.DbDataRecord