Posts

Showing posts from July, 2014

E Mail Inventor in the World

Image
Sabeer Bhatia    is an  Indian American   entrepreneur  who founded the  Hotmail email service and  Jaxtr . He grew up in Bangalore and had his early education at the Bishop's School in Pune and then at St Joseph's Boys High School in Bangalore.In 1988,he went US to get a bachelor degree at the  California Institute of Technology  after a foreign transfer from  BITS Pilani , Rajasthan. He earned a master degree in electrical engineering from Stanford University . After graduation, Sabeer briefly worked for Apple Computer as a hardware engineer and Firepower Systems Inc. While working there he was amazed at the fact that he could access any software on the internet via a web browser. He, along with his colleague Jack Smith, set up Hotmail on 4 July 1996.     Into the 21st century, Hotmail is the world's second largest e-mail provider with over 369 million registered users, a figure exceeded only by Google's Gmail service. As President and CEO, he guided Hot

Retrieve Dates between Selected Particular Dates In SQL Server

Image
In SQL Retrieve the Dates between Selected Particular Dates In SQL Server without using any database in SQL Server. SQL Code declare @startdate datetime ,@enddate datetime set @startdate= '7/01/2014 '; set @enddate= '7/19/2014' ; with alldates as ( select @startdate DateVal union all select DateVal + 1 from alldates where DateVal + 1 <= @enddate ) select DateVal from alldates; Output:

How to Declare Variable in SQL Server Stored Procedure

In this section in SQL Server see about How to declare variable in SQL Server Stored Procedure.In this Section Use NorthWind Database in our Sql Server.            Use declare  keyword to declare the variable @ConName set particular datatype. use set as assign the value from  Database selected queries. The Unique value as assign to the variable in the Stored Procedure. Finally Display the output use Print Keyword . Example create procedure proc_sample1 as  begin declare @ConName as varchar ( max ) declare @cuscount as int set @ConName=( select ContactName from Customers where CustomerID= 'DRACD' ) set @cuscount=( select COUNT (*) from Customers) print @ConName print @cuscount end Output Sven Ottlieb 91

How to Disable using Mouse Right Click Events

Image
    In this  Web Developing Language we can set particular Rights for the Users. To Disable Mouse Right Click Event In the Systems.For use Below JavaScript Code Inside the <head> Tag.In this code to use PHP, Asp.net,Html and other web Languages. In this Picture will shown press the Browser Right  Click Button is Disable. < head > < script   type = "text/javascript" >      var  message =  "Function Disabled......" ;      function  IE4() {          if  (event.button == 2) {             alert(message);              return   false ;         }     }

Apple Introducing new programming language Swift

Image
Apple Introducing new programming language Swift.  it is the one of the package of the Xcode 6 Beta IDE . In this Mainly designed for the OSX and IOS Operating Systems.      Swift language as like Apple systems mostly Used Language Objective C. Writing code is interactive and fun, the syntax is concise yet expressive, and apps run lightning-fast.Swift is the result of the latest research on programming languages, combined with decades of experience building Apple platforms. Swift has many other features to make your code more expressive: Closures unified with function pointers Tuples and multiple return values Generics Fast and concise iteration over a range or collection Structs that support methods, extensions, protocols. Functional programming patterns, e.g.: map and filter Download Book Materiel The Swift programming Language  

Join Two Fields In SQL Server 2008 or 2012

Image
   In SQL user can perform  to join two fields in SQL server 2008 or 2012.use the northwind Database. using to select Employee Table.                             select * from Employees To join Firstname and  Lastname as Name and select Birthdate,Address in the Employees Table. use the concat operator using + operator. set Alies field name use the as function   in the SQL Server. use the below code      select FirstName + ' ' + LastName as Name,BirthDate, Address from Employees get the Result as

What is Northwind database? How Its Work ?

Image
     The northwind database is a sample database included in  Microsoft Access  and SQL Server 2008. It's available as an optional download for SQL Server 2012 . The Database contain Tables and Data.It have consist the Stored Procedure for the Database.                 The Northwind database is basically just an example database that runs under SQL Server. This database is populated with data that represents an imaginary company’s sales data. It is a very common example database for SQL Server testing and sampling. Use the link  http://northwinddatabase.codeplex.com/releases/view/71634  To download the Database. Download Northwind.sql.zip pack. Use the first main think is create database name as  Northwind.                         create database Northwind; execute the SQL file after create a  database.

How To change URL name in Asp.net

Image
            In this Tutorial can perform to change URL name in Asp.net Using  urlMappings .for example   home.aspx in URL now we can change the URL name as Home in Using  the Asp.net Web.Cofig file . Add  < urlMappings > with  in the  < configuration >   < system.web >  tag set Enabled true        < urlMappings   enabled = " true " >      < add   url = " ~/Home "   mappedUrl = " ~/home.aspx "  />      < add   url = " ~/Lessionplan "   mappedUrl = " ~/lessonplan.aspx?mode=view "  />      < add   url = " ~/Reports "   mappedUrl = " ~/Report.aspx "  />    </ urlMappings > URL mapping enables developers to map one set of URL to other.For example you can map the URL so that URL http://localhost:60527/<Project Name>/home.aspx to http://localhost:60527/<project name>/Home Before UrlMappings   url is: http://localhost:60527/<Project N

Retrieve Date in GridView By dd/MM/yyyy Format In ASP .Net C#

< asp : GridView   ID = "gridexport"   runat = "server"   AllowPaging = "True"    visible = "true"            AllowSorting = "True"   AutoGenerateColumns = "False"   EmptyDataText = "No Records"                                                          OnPageIndexChanging = "view_PageIndexChanging"   >                  < Columns >                      < asp : TemplateField   HeaderText = "Date" >                          < ItemTemplate >                              <% #   DataBinder .Eval(Container.DataItem,  "attdate" ,  "{0:dd-MM-yyyy}" ) %>                          </ ItemTemplate >                      </ asp : TemplateField >           </ Columns >       </ asp : GridView >

Export Gridview Data into Excel in ASP.Net C#

Image
ASP.Net page < asp : GridView   ID = "gridexport"   runat = "server"   AllowPaging = "True"    visible = "true"            AllowSorting = "True"   AutoGenerateColumns = "False"   EmptyDataText = "No Records"                                                          OnPageIndexChanging = "view_PageIndexChanging"   >                  < Columns >                      < asp : TemplateField   HeaderText = "S.No." >                          < ItemTemplate >       <% #  Displaysnos( Convert .ToInt32( DataBinder .GetPropertyValue(Container, "RowIndex" ))+1)  %>                          </ ItemTemplate >                      </ asp : TemplateField >                                          < asp : TemplateField   HeaderText = "Date" >                          < ItemTemplate >                              <% #   Data