thanks for your respond. However, if i do like what you said i get error saying that
"Both DataSource and DataSourceID are defined on 'ddlKeyWord'. Remove one definition."
Hence, what i did is like this. Assigned datasourceid = null first and got the solution. btw thanks for your kind help
DataTable table = new DataTable();
table.Columns.Add("Gender", typeof(string));
table.Rows.Add("Female");
table.Rows.Add("Male");
ddlKeyWord.DataSourceID = null;
ddlKeyWord.DataSource = table;
ddlKeyWord.DataTextField = "Gender";
ddlKeyWord.DataValueField = "Gender";
ddlKeyWord.DataBind();