public StudentDashboardModal(int userId) { _userId = userId; _studentDataTable = new SSS_Library.IS2G10_DBSSSDataSet.STUDENTDataTable(); _studentDataTable.ImportRow(this._studentTableAdapter1.GetData().FindBystudent_id(_userId)); InitializeComponent(); this.TopLevel = false; this.AutoScroll = true; this.Hide(); }