proc_function
@u_id @u_name @u_ip
sql_string = ("Data Source=23423423423;Initial Catalog=sdfgsdf;User Id=dsfsdsa;Password=sdfsdf;"); SqlConnection conn = new SqlConnection(sql_string); SqlCommand command = new SqlCommand("proc_function", conn); conn.Open(); command.CommandType = CommandType.StoredProcedure; command.Parameters.AddWithValue("@usd", u_id); command.Parameters.AddWithValue("@uname", u_name ); command.Parameters.AddWithValue("@uip", local_ip);
command.ExecuteNonQuery(); command.Dispose(); conn.Close();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)