Your Question is not making the thing much Clear here is the solution if you are looking the list of the Columns of the selected table into Drop downlist.
CREATE PROCEDURE sproc_getColumns
@varTableName varchar(1000) = null ,
@varSortBy varchar(250) = null
as begin
select COLUMN_NAME FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME=@varTableName Order By COLUMN_NAME @varSortBy