Posts

Attribute Starts with Selector in jQuery

Image
In this quick post you will learn how to find elements in the DOM that have the specified attribute with a value beginning exactly with a given string. Actually, this problem was asked by my one of the friend Md Ibrahim Rashid, who is from Kolkata at Kolkata Geeks Developer Conference 2012. Let’s look at the HTML Markup and a problem:-     < div >         < a id ="abc" href ="#"> Link 1 </ a >< br />         < a id ="bdc" href ="#"> Link 2 </ a >< br />         < a id ="acd" href ="#"> Link 3 </ a >< br />         < a id ="cca" href ="#"> Link 4 </ a >< br />         < a id ="adc" href ="#"> Link 5 </ a >< br />     </ div > In the above markups, I have 5 links with id attribute. If you look at id attribute’s value, you will find 3 id’s value sta

AssociatedControlID Property in ASP.NET

Image
I can see many websites today having no such feature like when user clicks on label control textbox gets focus. As you can see in animated image given below, in first login set when I clicked on label control text box not getting focus and the same in another login set textbox gets focus and we can start typing. Reason: Such websites not using AssociatedControlID property. Use of AssociatedControlID property We use AssociatedControlID property to associate a Label control with another server control on a Web form. When a Label control is associated with another server control, its attributes can be used to extend the functionality of the associated control. You can use the Label control as a caption for another control, or you can set the tab index or hot key for an associated control. When the AssociatedControlID property is set, the Label control renders as an HTML label element, with the for attribute set to the ID property of the associated control. You can set

Introduction to Visual Basics 6

Visual Basic   (VB) is the   third-generation   event-driven programming language   and   integrated development environment   (IDE) from   Microsoft   for its   COM   programming model. Visual Basic is relatively easy to learn and use. Visual Basic was derived from   BASIC   and enables the   rapid application development (RAD) of   graphical user interface (GUI)   applications, access to   databases   using   Data Access Objects,   Remote Data Objects, or   ActiveX Data Objects, and creation of   ActiveX   controls and objects.   Scripting languages   such as   VBA   and   VBScript   are syntactically similar to Visual Basic, but perform differently. A programmer can put together an application using the   components   provided with Visual Basic itself. Programs written in Visual Basic can also use the   Windows API, but doing so requires external function declarations. The final release was version 6 in 1998. Microsoft's extended support ended in March 2008 and the design

Oracle Constraints

Oracle constraints are means in the process of defining some conditions about the database that must remain true while inputting/modifying/deleting data in the database. The basic structure of an Oracle constraint is defined as: The CONSTRAINT keyword is followed by a unique constraint name and then the constraint definition. The constraint name is used to manipulate the constraint once the table has been created. In Oracle, constraints can be defined at the column or table level. An example of defining constraints at table level may be: CREATE TABLE STUDENT ( STUDENT _ID NUMBER(3) CONSTRAINT S_ID CHECK (STUDENT _ID > 0), STUDENT _NAME CHAR(30) CONSTRAINT S_NAME NOT NULL, MARKS_COUNT NUMBER(6), CONSTRAINT STUDENT _PRIME PRIMARY KEY (STUDENT _ID)) Column level constraints go directly after the column definition to which they refer and the table level constraints go after the last column definition. CREATE TABLE CLASS ( ROOM NUMBER(10) CONSTRAINT ID CHECK (ID BET

Abstract Datatype

Abstract datatype are datatypes that consists of one or more subtypes. This datatype is used to describe the data accurately. Abstract datatypes can be nested and can contain references to other abstract datatype. This datatype can be reused. Abstract datatype is object oriented thing. Creating abstract datatype CREATE TYPE STUDENT_NAME_TY AS OBJECT (FIRST_NAME VARCHAR2(15), LAST_NAME VARCHAR2(15)); In above example AS OBJECT identify STUDENT_NAME_TY as an object implementation.  Using abstract datatype in table CREATE TABLE STUDENT (STUDENT_ID NUMBER(4) PRIMARY KEY, NAME STUDENT_NAME_TY); Viewing details of table DESC STUDENT; or we can use the following SELECT COLUMN_NAME, DATA_TYPE FROM USER_TAB_COLUMNS WHERE TABLE_NAME='STUDENT'; or we can use the following SELECT ATTR_NAME, LENGTH, ATTR_TYPE_NAME FROM USER_TYPE_ATTRS WHERE TYPE_NAME='STUDENT_NAME_TY'; Inserting data in table INSERT INTO STUDENT VALUES

SQL Server 2012 is Available for Download

As the foundation of the cloud-ready information platform, SQL Server 2012 will help organizations unlock breakthrough insights across the organization as well quickly build solutions and extend data across on-premises and public cloud backed by mission critical confidence. SQL Server 2012 capabilities and highlights are as follows:- Greater availability Deliver the required 9s and data protection with AlwaysOn, delivering added functionality that allows customers to experience even more of the flexibility and value. Breakthrough insight Unlock new insights with rapid data exploration across the organization with Power View, available to customers for the first time. Credible, consistent data Provide a consistent view across heterogeneous data sources with the BI Semantic Model (BISM) a single model for Business Intelligence applications. Make data quality apart of everyday life with the Master Data Services add-in for Excel and new Data Quality Services

Introducing Microsoft SQL Server 2012 (Free ebook)

If you are a SQL Server guy and want to explore Microsoft SQL Server 2012 then a good new waiting for you. Microsoft has just finished and provided free ebook: Introducing Microsoft SQL Server 2012. Get it Now Introducing Microsoft SQL Server 2012 includes 10 chapters:- PART I   DATABASE ADMINISTRATION (by Ross Mistry) 1.   SQL Server 2012 Editions and Engine Enhancements 2.   High-Availability and Disaster-Recovery Enhancements 3.   Performance and Scalability 4.   Security Enhancements 5.   Programmability and Beyond-Relational Enhancements PART II   BUSINESS INTELLIGENCE DEVELOPMENT (by Stacia Misner) 6.   Integration Services 7.   Data Quality Services 8.   Master Data Services 9.   Analysis Services and PowerPivot 10.   Reporting Services Get it Now

Popular posts from this blog

Migrating database from ASP.NET Identity to ASP.NET Core Identity

Customize User's Profile in ASP.NET Identity System

Lambda two tables and three tables inner join code samples