
Search In
Autofocus Attribute:
It is a boolean attribute used with input fields, button that set focus on that element on which autofocus attribute has been used when a page is loaded. But we can focus only one element at a time using this attribute.
Syntax:
Accessing properties via interface builder is quite easy and more developer friendly.
Here I’m guiding you how to to add new/custom properties to interface builder.
1- Subclass any UIObject, we are considering here UIButton for now, a
Hello friends,
Today we learn how we can display the primary key of a table or database.
1. To display the primary key in a table we can execute any of the following command:
SHOW COLUMNS FROM <database_name>.<table_name> WHERE `Key` =
Hello friends,
Today we will learn how to reset auto-increment in MySQL. Before starting this topic you should know that there can be only one auto column(auto-increment) in a table and it must be defined as a key(primary). There are various ways to
Hello
I recently stumbled upon this site and was wondering if someone out there could provide help.
Currently there is an area in the top bar of my Wordpress site that has a section called "BREAKING" (this "BREAKING" wor
Many times in an application we need to populate a dropdown list from enum.In the following article
I will show how to implement the same using SelectListItem.
First we create an enum, FileType, under the Models folder as shown below.
namespace D
Hi All,
To share data between two controller you should have your factory return an object and let your controllers work with a reference to the same object:
A simple example in which two controllers are sharing name of a user.
TEST.html
<!D
Hi friends,
Sometimes we want to read the content from a file and save into our database. So we can achieve this in rails we do following:
1) First you need to add a column in your model where you want to save the content of the
It’s essential for professionals in any industry to understand the principles of email writing that can cut through clutter and get their messages read. An email campaign may be an effective marketing tool, but unless the email is written in su
Access control has a model to which it grants permissions, the permissions it grants and optionally a group.
Access controls are additive, for a given model a user has access all permissions granted to any of its groups:
if the user belongs to one g
