Showing posts with the label programming in C#Show all
DateTime Formatting In VSTS
Ratings:
Platform:
Windows

DateTime Formatting In VSTS : How to Format Date and Time in various manner ? Private Sub  Page_Load ( sender  As  Object, e  As  System.EventArgs )    Response.Write ( "Default: "  &  System.DateTime.Now  &a…

Algorithm Complexity -3
Ratings:
Platform:
Windows

BIG O NOTATION In mathematics, computer science, and related fields, big O notation  (also known as Big Oh notation, Landau notation, Bachmann–Landau notation, and asymptotic notation) describes the limiting behavior of a functi…

Export GridView To Word/Excel/PDF/CSV in ASP.Net
Ratings:
Platform:
Windows

To retrieve the records from a table fom within a database is perfectly easy via the gridview server control which can be bound via some queries specific to the requirements. However what ought to be done when we have to exp…

Int32.Parse(), Convert.ToInt32(), and Int32.TryParse()  A Comparison
Ratings:
Platform:
Windows

Int32.parse(string) ------------------------- Int32.Parse (string s) method converts the string representation of a number to its 32-bit signed integer equivalent. When s is null reference, it will throw ArgumentNullException.…

Open Web Page in a new window
Ratings:
Platform:
Windows

The following HTML code will enable you to open a web page in a new window: A HREF="http://www.yourdomain.com" TARGET="_blank" If you're linking to a lot of other web sites within your web page and …

Multicast Delegate
Ratings:
Platform:
Windows

A delegate (object) which simultaneously executes more than one method dynamically can be called as a multicast delegate. In all of my previous examples, I attached a delegate to one and only one method every time. Now, we are …

Delegates To Methods Returning Values
Ratings:
Platform:
Windows

In all of the previous examples, I concentrated only on methods which do not return any values. Now, let us concentrate on delegates which can be used to call methods returning values (say, functions in a class). Let us add …

Delegates With Parameters
Ratings:
Platform:
Windows

In my previous example, you were introduced to simple delegates. Now, I shall extend the same with parameters. To help us understand "delegates with parameters," I added a new class as follows: Public Class Samp…

Delegates Basics
Ratings:
Platform:
Windows

A delegate allows us to encapsulate a reference to a method inside an object -- a delegate object, to be precise. The delegate object can then be passed to code which can call the referenced method, without having to know at comp…

Retrieving SMTP, FTP, POP3 Information
Ratings:
Platform:
Windows

Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click Try Dim dt As DataTable = getPropertyStruct() Dim dr As DataRow Dim searcher As Ne…

IIS Information Retrieval Via IIsWebVirtualDirSettng
Ratings:
Platform:
Windows

We can dig still further, but with a different class, as shown in the following program.A yet another waay to dig into the IIS informaticas. Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Ha…

Retrieval Of Virtual Directories In IIS
Ratings:
Platform:
Windows

Retrieving all virtual directories present in IIS using ASP.NET 2.0 This is a bit different from the above coding style. First of all, let us look at the program. Protected Sub Button1_Click(ByVal sender As Object, ByVal e As…

IIS Information Retrieval 1
Ratings:
Platform:
Windows

IIS Information Retrieval Via “IIsWebService,” which gives you much ore information than the previous class which was “IIsWebInfo” class. Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handle…

Load More That is All
Close Menu