User-67874579 posted
strange no boday answered me :(
but at least i figured out how to do it as googled it and found the solution and would like to share it with you .
for drop down list you have to create a stored procedure to get the all items in the list.
after that you have to have a DataAccess , then you will
public DataTable GetAllSex()
{
SqlDataAdapter sda = new SqlDataAdapter("GetAllSex", conn);
sda.SelectCommand.CommandType = CommandType.StoredProcedure;
DataTable dt = new DataTable();
sda.Fill(dt);
return dt;
after with you have to get this data adapter from your page ...
thanks