Hello, basically what i need is a message box pop up that will either say 'this project exists, please select another' if the IF is true else 'project doesnt exist please carry on process'. I tried a few ways already but from looking on here I see Java script is favoured....unluckly my java knowledge is limited.
Any help is much appreciated thanks!
protected void btnProjSearch_Click(object sender, EventArgs e)
string OracleConnectionStringBuilder = "Data Source=TEST;User Id=***;Password=****";
OracleConnection myConnection = new OracleConnection(OracleConnectionStringBuilder);
string commandString2 = "SELECT PROJECTNO FROM P_AMASTER WHERE PROJECTNO like '" + txtProjNo.Text + "'";
OracleCommand myCommand2 = new OracleCommand(commandString2, myConnection);
OracleDataReader myReader2 = myCommand2.ExecuteReader();