Codes from Developers

C#

singleordefault,firstordefault,methods,linq,sql

SingleOrDefault and FirstOrDefault Methods in LINQ to SQL This code shows the differences between the SingleOrDefault and FirstOrDefault Methods in LINQ to SQL.


C#

c#,linq,select,clause,details

This Code will Display the Student Details using Select Clause LINQ


C#

c#,search,directory,list,files

This Code Searches Directories and List Files


C++

Drawing,Pad,Easy,way,create,circles,rectangles

Drawing Pad - An Easy way to create circles, rectangles etc in C++


JavaScript

Using,the,Photo,viewer,JQuery,Javascript

Using the Photo viewer with JQuery


CSS HTML JavaScript

go,to,bottom,back,to,top,javascript

these codes will let you scroll bottom or top of the page


Delphi

use,of,some,advanced,method,in,Character,unit,delphi

The following example demostrates the use of some advanced method in the Character unit. An edit box is configured to allow 2 unicode characters.


Java

Deserializing,Object,Java

Deserializing an Object in Java


PL/SQL

add,column,default,value,sql,new

This code block adds a new column with a default value to table, existing null columns will have that valuıe


C++

Simple,matrix,class,c++

Simple matrix class in C++


C#

Parallel,LINQ,c#

Parallel LINQ


C++

DX,Ball,Game,in,C++

DX Ball Game in C++


Delphi

log,failed,assertions,event,log,delphi

The following code is a self-contained unit that you can add to a project that logs failed assertions to the event log rather than raising an exception. If /Debug is passed to the application as a command-line parameter, all failed Assert calls cause a call to OutputDebugString, which sends a messages to the Event Log window if run from Delphi, or does nothing if run outside the IDE (OutputDebugString is a no-op if not run from within a debugger). A nice side benefit is that all the line numbers and unit names can be stripped from the EXE by turning off assertions and rebuilding the project. Build the executable in the IDE by pressing Run. Then go to the debug directory for the project and execute the command line "AssertErrorProc_proj /Debug". Note: AssertErrorHandler should do as little as possible. This routine does no cleanup and no variables. Procedure calls are OK. Note: This example was originally provided by Brian Long.


HTML

Align,the,form,controls,with,table,html

Align the form controls with table in Html


JavaScript

Creating,an,Accordion,Jquery

Creating an Accordion with JQuery


C++

Program,to,implement,Circle,Drawing,Algorithm,c++

Program to implement Circle Drawing Algorithm in C++


JavaScript

jquery,approach,event,close,getting

This code block runs when specified is approached


C#

c#,actions

This Code Illustrates Actions


C++

An,implementation,of,Stack,data,structure,C++

An implementation of Stack data structure in C++


C++

Binary,Search,tree,with,insertion,deletion,finding,an,element,c++

Binary Search tree with insertion, deletion, finding an element in C++