Click here to Skip to main content
15,891,993 members

Comments by Maher_ITbv (Top 6 by date)

Maher_ITbv 24-Mar-17 13:56pm View    
// access model Interface class..
public bool AddFetchMember(Trndol SFetchMember)
{
using (SqlCommand SqlCommand = new SqlCommand())
{
// Set the command object properties
SqlCommand.Connection = new SqlConnection(this.ConString);
SqlCommand.CommandType = CommandType.StoredProcedure;
SqlCommand.CommandText = Scrptitrn.sqlInsertFetch;

// Add the input parameters to the parameter collection
SqlCommand.Parameters.AddWithValue("@ID", SFetchMember.ID);
SqlCommand.Parameters.AddWithValue("@ProName", SFetchMember.ProName);
SqlCommand.Parameters.AddWithValue("@PDescription", SFetchMember.PDescription);
SqlCommand.Parameters.AddWithValue("@Gender", SFetchMember.Gender);
SqlCommand.Parameters.AddWithValue("@Total", SFetchMember.Total);

// Open the connection, execute the query and close the connection
SqlCommand.Connection.Open();
var rowsAffected = SqlCommand.ExecuteNonQuery();
SqlCommand.Connection.Close();

return rowsAffected > 0;
}
Maher_ITbv 25-Nov-15 16:59pm View    
Deleted
if 5+3=8 in table 1 triggers for insert update the value should be 3 in table 2
if 5-2=3 in table 1 triggers for insert update the value should be 2 in table 3
Maher_ITbv 23-Nov-15 8:02am View    
I appreciate this answer but I think yes we can!! to protect dll from reflecting like Microsoft office dll files as excel or word
C:\Program file\\Offic14\MSAEXP30.DLL
after reflecting by ILSpy software the message is "This file does not contain a managed assembly".
as cryptoobfuscator is a dll software protector.
Maher_ITbv 22-Nov-15 10:19am View    
install and publishing with release are done for windows form basic components.. but still no dll after installing in the root directory
Maher_ITbv 22-Nov-15 8:49am View    
after your answer.. that will make a decision for my development work..