Just add the parameters below As it is a store procedure all you have to do is to send the params to the SP..!
public static bool Update_Driver(int ID, int MeetingID, string Title)
{
bool result = false;
SqlCommand command = new SqlCommand("Your Store ProcedureName", YourConnection);
command.CommandType = System.Data.CommandType.StoredProcedure;
command.Parameters.AddWithValue("@ID", ID);
command.Parameters.AddWithValue("@MeetingID", MeetingID);
command.Parameters.AddWithValue("@Title", Title);
command.Connection.Open();
// result = Convert.ToBoolean(Command.ExecuteNonQuery());
try
{
result = Convert.ToBoolean(command.ExecuteNonQuery());
}
catch (Exception ie)
{
}
command.Connection.Close();
command.Connection.Dispose();
return result;
}
LatestArticle :Log4Net Why Do Some People Forget To Mark as Answer .If It Helps.