2
Contributors
8
Replies
22
Views
2 Years
Discussion Span
Last Post by DaveAmour
0

I know how.

Depends how you want to architect/tier this though - any thoughts?

Also what database are you using and do you want to use stored procedures?

Finally what is your level of programming skill and which language do you want this in?

0
Here is my Insert Command: in C# and MySQL.

MySqlConnector c = new MySqlConnector("server=server;uid=root;pwd=pwd;database=database");
MySqlDataAdaptor d = new MySqlAdaptor();
string q;
DataTable t;

q="insert into product (id, name, price) values (null,'"+txtName.Text
    +"','"+txtPrice.Text+"')";
t = new DataTable();
d.SelectCommand = new MySqlCommand(q, c);
d.Fill(t);
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.