.NET

Posts filed under .NET

Namespace in C#.Net

Filed in ASP.NET, C#Tags: , , , , , , ,

Definition: As we know that every piece of code in .Net exists inside a .Net Type. Generally we put the code inside the class. The namespace is a collection of these classes or types. Every type exists inside a namespace. Namespaces can organize all the different types in the class library. Without namespace, these types [...]

How to use SQL Commands in C#.NET

Filed in ASP.NET, SQLTags: , , , , , , , , , ,

In this article we will see that how can use and execute the SQL Commands in Visual Studio. In this article we are using C# language. As we proceed in this article you will see that what steps are required to perform this task. We need the two main classes to do this. These classes [...]

The Common Type System and the Data Type that .Net Uses

Filed in ASP.NETTags: , , , ,

Because the .NET framework supports multiple languages within the platform, it defines a Common Type System (CTS). The CTS defines the basic data types that IL understands. Each .NET compliant language should map its data type to these standard data types. This makes it possible for the 2 languages to communicate with each other by [...]

The using Directive and the System Namespace

Filed in ASP.NETTags: , , , ,

As we know a namespaces is a set of related classes. A namespace may also contain other namespaces. Today we will discuss about the System namespace. The System namespace contains the classes that most applications use for interacting with the operating system. You can refer to objects in namespaces by prefixing them explicitly with the [...]

How to Generate Random Password in ASP.NET

Filed in ASP.NETTags: , , , , ,

While ASP.NET is known for providing users/developers with inbuilt functions and methods for creating Login forms etc., yet there are sometimes when we need to generate a random password string for every new user created. Especially in applications like Online Examinations System where the admin generates a random default password for every new user created. [...]

Microsoft .Net Framework Architecture

Filed in ASP.NETTags: , , , ,

Microsoft .Net Framework is very useful as it provides support for developing both Windows applications and Web based applications. Microsoft has provided .Net Framework with an exceptional feature which automatically converts the datatypes as per the requirement of framework (if the language is supported). You can also design and run your own language inside the [...]

How to Develop Resolution Independent Windows Application in .NET

Filed in ASP.NET, Desktop AppTags: , , , , ,

While developing a Windows based application in C#.net the Form size matters when your application is going to run on different different computers. Also the other computers system may have different different resolution. So we need to develop an application that can vary the form size according to the Resolution of the particular system. In [...]

Passing Variables between Pages using QueryString in .Net

Filed in ASP.NET, Web AppTags: , , , , , , , ,

A common approach to pass information between web pages is using a Query String in the URL. Also this approach is found in search engines. The QueryString is the portion of the URL after a question mark”?”. The information is always retrievied as a string that can be converted with any type of datatype. Also [...]

Integrating FCKEditor in C#.NET

Filed in ASP.NET, Web AppTags: , , , , , , ,

In this article I am going to implement FCK Editor in C#.NET Application. Perhaps many of you guys aware of FCKEditor, but let me tell you if some of you guys dont know about FCKEditor. CKEditor (formerly FCKeditor) is an open source WYSIWYG text editor from CKSource that can be used in web pages. It [...]

How to add TabPages in TabControl dynamically in a C#.NET Window Application

Filed in ASP.NET, Desktop AppTags: , , , , , , , , , , , , ,

Today I will tell you about using Tab Control in a Window Application Form. The Tab Control is mainly used to show our WinForms together as a TabPages. Also I am going to share that how to add TabPages at run time or we can say that add Tabpages dynamically. In this project you will [...]