
Search In
When we need to perform mutiple operations on an object in database or on multiple objects, then using transaction is considered a good practice as it maintains data consistency
Here is the sample code of how we can use transaction in EF
using (Ap
Sometimes we need to change the label of a button on click event. Suppose you have button label as "Start" and you want to change that to "Stop" upon clicking start button.
Example: In the below example I've created a functio
Hello all !
Explanation is,
Suppose we want to change the background color of the UIButton when it is selected and when reSelected change it to the default colour.
There are many methods for doing so and one of them I am explaining below :-
First
Changing Permissions At Command Prompt
This is accomplished by using the "chmod" command. The chmod is followed by a 3 digit number used to indicate the permissions required. The first 3 digit indicated the owner's permission,
Rails Migrations can be used to alter the database.Migration allows ruby to define the changes in database schema in a consistent and easy way.
So If one deleloper make some changes in database schema, the other developers just need to update, and ru
hello
i have 1 img view and 3 imgbutton
i want to set the img view background as same as img button click
means imgbutton 1 click the image view should get img button1 background
In Angular Material, we use <md-autocomplete> for auto complete functionality. <md-autocomplete> is a UI component with dropdown to shown all possible matches to custom query. It acts like a real time suggestion box. When user
When I changed theme of blog then I lose the verification code. I saved the code and pasted in new theme but the verification is not working?
Having trouble defining multiple routes together in rails 6.
In rails 3 we defined multiple routes like the example below.
member_routes = {
:validate_update_action => :put,
:rebuild_update_form => :p
Inspecting a Repository :
Git provides the way to track changes in repository.In this article I will tell you how you can track the changes of your repository before and after committing the changes.
git status : The git status command will help yo
