String conString = "Data Source = localhost:1521 / orcl; User Id =labs;Password = labs;";
OracleConnection con = new OracleConnection(conString);
con.Open();
OracleCommand cmd = new OracleCommand("insert into TEST_APEX(NAME,GENDER,CONTACT,EMAIL,CITY,COUNTRY) values('" + Name.Text+ "'," + "'" + Gender.SelectedValue + "'," + "'" + Contact.Text + "',"+"'" + Email.Text + "'," + "'" + City.Text + "'," + "'" + Country.Text + "')", con);
cmd.ExecuteNonQuery();
Name.Text="";
Gender.SelectedValue = "";
Contact.Text = "";
Email.Text = "";
City.Text = "";
Country.Text = "";
Response.Write("Employee inserted sucessfully.<br />");
con.Close();
বৃহস্পতিবার, ১৫ এপ্রিল, ২০২১
Connection String Dot Net
সোমবার, ১২ এপ্রিল, ২০২১
Manual Waiting in Loop
begin
for i in 1 .. 1
loop
dbms_output.put_line(to_char(sysdate, 'mi:ss'));
dbms_lock.sleep(.5);
end loop;
end;
/
এতে সদস্যতা:
পোস্টগুলি (Atom)