Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Using transaction in Entity framework 6

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

How to change the label of a button on click event

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

Change background color of uibutton using subclass method

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

Ubuntu: Changing Permissions At Command Prompt

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,

Use of Migration in Rails

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

ImgView should change Background by clicking Img Button

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

Auto complete using Angular Material

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

How to get back my Webmaster tool verification code?

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?

Convert rails 3 list of routes to rails 6 list of routes

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

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

1 21 342
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: