Code:
Session["UserID"] = MyDataSet.Tables[x].Rows[y]["UserID"].ToString();