Add Papers Marked0
Paper checked off!

Marked works

Viewed0

Viewed works

Shopping Cart0
Paper added to shopping cart!

Shopping Cart

Register Now

internet library
Atlants.lv library
FAQ
3,49 € Add to cart
Add to Wish List
Want cheaper?
ID number:728336
 
Author:
Evaluation:
Published: 02.02.2018.
Language: Latvian
Level: College/University
Literature: n/a
References: Not used
Extract

OleDbCommand cmd = new OleDbCommand("UPDATE Table1 SET vards=?,uzvards=? WHERE ID=?", con);

cmd.Parameters.Add(new OleDbParameter("@ID", OleDbType.Integer));
cmd.Parameters.Add(new OleDbParameter("@Vards", OleDbType.VarChar));
cmd.Parameters.Add(new OleDbParameter("@Uzvards", OleDbType.VarChar));

Console.WriteLine("Maināmā tabulas lauka ID nr: ");
int idNr = Convert.ToInt32(Console.ReadLine());


Console.WriteLine("Jaunais Vārds : ");
cmd.Parameters[idNr].Value = Console.ReadLine();
Console.WriteLine("jaunais Uzvārds : ");
cmd.Parameters[idNr].Value = Console.ReadLine();

Author's comment
Load more similar papers

Atlants

Choose Authorization Method

Email & Password

Email & Password

Wrong e-mail adress or password!
Log In

Forgot your password?

Draugiem.pase
Facebook

Not registered yet?

Register and redeem free papers!

To receive free papers from Atlants.com it is necessary to register. It's quick and will only take a few seconds.

If you have already registered, simply to access the free content.

Cancel Register