public void returnToSearchForm(MySearchList MSL, String S) { SearchForm fs = new SearchForm(this); fs.setString(S); MSL.Hide(); fs.Show(); }
public void returnToInputs(MySearchList MSL, string S) { InputsForm fm = new InputsForm(this); fm.setLabel(S); MSL.Hide(); fm.Show(); }
public void getDataFromUser(EdittingProfile ed, string Mail) { string dbprovider = m.getDBprovider(); String strSql = "SELECT * FROM [users] WHERE [email]= '" + Mail + "'"; OleDbConnection conn = new OleDbConnection(dbprovider); MySearchList sl = new MySearchList(this); conn.Open(); OleDbCommand cmd = new OleDbCommand(strSql, conn); OleDbDataReader reader = cmd.ExecuteReader(); }