Trek Innovations

Thoughts For You

Archive for November, 2008

Worked Out Examples Of Oops Concepts in Console Application Using VB.NET

In this article I gave the examples for all Oops concepts in console applications using VB.NET. This article is only for the beginners who want to learn .NET. And in my next article I will give the same examples using C#.

In this article you will see the examples for:

  1. Single Dimension Arrays
  2. Two Dimensional Arrays
  3. Jagged Arrays
  4. Structures
  5. Classes
  6. Method Overloading
  7. Constructors
  8. Default Constructors
  9. Shared Constructors
  10. Constructor Overloading
  11. Shared Variable
  12. Parameterised Constructors
  13. Using ME Object
  14. Inheritance
  15. Overloading Methods
  16. Method Overriding
  17. Constructor With Inheritance
  18. My Base with Constructor
  19. Abstract Class
  20. Interfaces
  21. Exception Handling

Read more

Share This Post No comments

AJAX Cascading Dropdown Component using WCF

AJAX Cascading Dropdown Component using WCF

1. Create new Asp.Net Website

2. Add new item for XML file with the name LaptopsService.xml (Data source for DropdownList Items)

Read more

Share This Post 1 comment

Programming XML with C# & Connecting Data and XML via ADO .NET

Connecting Data & XML via ADO.NET

In this article you can see how to work with XML documents with the help of ADO.NET. In this there are two approaches to work with XML and ADO.

1. You can use ADO.NET to access XML documents.

2. You can use ADO.NET and XML to access XML. Apart from this, you can access RDBMS using ADO.NET and XML.NET.

Read more

Share This Post 1 comment

Biz Talk Messaging Engine OverView

Biz TalkMessaging Overview
View SlideShare presentation or Upload your own. (tags: talk biz)
Share This Post 1 comment

Biz Talk OverView

Biz Talk OverView
View SlideShare presentation or Upload your own. (tags: adaptors systmes)
Share This Post 1 comment

Programming Windows Presentation Foundation: Styles

Windows Presentation Foundation Styles

Using WPF styles, we can handle look and feel of the controls. If we are setting styles, mechanically change look and feel of the every control of that type in that application.

 

XAML styling is very similar to HTML and CSS, and you can apply styling in related behavior. For example, we can define the appearance for all buttons (control) in an application; confine it to all buttons on a screen, to a group of buttons, or to apply a special style for just one button. In that case, XAML came into the picture to define the appearance of the controls. Styles are applied to controls. Styles can be applied to an individual Controls, a page or window or in an external file that can be shared by multiple pages, windows, or applications.

Read more

Share This Post 2 comments

Object-Oriented Programming Concepts

Basic Concepts of Oops

Value Type Data Types

1. Memory allocates at compile time in stacks

2. De-allocation will be take care by stacks

Reference Type Data types

1. Memory allocates at runtime time in heap

2. De-allocation will be take care by Garbage Collector

Classes

1. It’s a reference type data type

2. It’s a user defined data type

3. Collection of properties (data) and behaviour (functions) is called a class

Read more

Share This Post No comments

iPhone VS Google Phone G1

Google (G1) vs iphone

Google (G1) vs iphone

Read more

Share This Post 1 comment

The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).

The Controls collection cannot be modified because the control contains code blocks (i.e. <% … %>).

Error Page

Error Page

 

Basically this error occurs when a code block is placed in the MasterPage like this

Read more

Share This Post No comments

Concurrence Mode Instance using WCF

Concurrence Mode Instance specifies a service class supports single/multi-threaded modes of operation or not.

WCF follows an asynchronous messaging. It makes extensive use of asynchronous I/O, and as a result, each received message may be dispatched to a receiving object by different threads. Because of this feature allows WCF to use the CPU efficiently, and as a result, allows WCF applications to scale.

Below given example make clear the concurrence mode instance, how service class works with ConcurrencyMode instance property on the ServiceBehaviorAttribute type with respect to the client requests.

Read more

Share This Post 4 comments

Next Page »