You are fetching a single column "userid" by your adapter:
SqlDataAdapter da = new SqlDataAdapter("select userid from user_detail", con);
If you want to use it somewhere then apply a foreach loop and fetch the "userid".
foreach(DataRow row in ds.Tables[0].Rows) {
int uid = Convert.ToInt(row["userid"]);
}