hi debasisdas, now i am trying a different code for the submit button. the coding is as follows :-
private void button1_Click(o bject sender, EventArgs e)
{
string OracleStmt;
string ConString;
OleDbConnection cn = null;
OleDbCommand cmd = null;
try
{
OracleStmt = "insert into TABLE2_HDB1(PUR POSE)...
User Profile
Collapse
-
-
Hi Debasisdas,than ks for replying..i want that on clicking a "submit" button the data entered by the user in the textbox "txtPurpose " should be added to the PURPOSE field of Oracle table TABLE2_HDB1 of the Oracle database HDB1. i am using the following code:
i am passing the textbox value to function Insert like:
Insert(txtPurpo se.Text);
private bool Insert(string field)
...Leave a comment:
-
adding data from textbox to oracle table
hi everyone, this is my first post and i hope that i would find a solution to my problem. I have a textbox called "txtPurpose " in a C# Windows Application in Visual Studio, and i want that the text entered by the user in the textbox should be added to the "PURPOSE" field in a table "TABLE2_HDB 1" in Oracle database "HDB1" on clicking a "submit" button. I want the coding to be in C#. plz help -
adding data from textbox to oracle table
hi everyone, this is my first post and i hope that i would find a solution to my problem. I have a textbox called "txtPurpose " in a C# Windows Application in Visual Studio, and i want that the text entered by the user in the textbox should be added to the "PURPOSE" field in a table "TABLE2_HDB 1" in Oracle database "HDB1" on clicking a "submit" button. I want the coding to be in C#. plz help
No activity results to display
Show More
Leave a comment: