C Program to Perform Matrix Addition

Output 1: output 2 :

While i was working with a C# application I got the need of getting all the database names in a ComboBox, I googled and found some queries to get the list of all database names. If you are working on master database, the query will be any one of the… Continue Reading Retrieving List of All DataBases in Sql Server

In this post we will see the textbox validation using KeyPress Event in Windows C# . For this i am taking two textboxes on a form one is  txt_Name and another is  txt_Mobile .  And i am taking one error provider on form. The Form designed as shown in figure… Continue Reading Textbox Validation using KeyPress Event in C#

Difference between World Wide Web and Internet The Internet is a interconnected computer networks. It is spread across globe and it connects the millions of computers globally. Internet is a structure on which www or web is based on. World wide web or Web is an information sharing model at… Continue Reading Difference between Internet and World Wide Web

WWW : www stands for World Wide Web also called as Web in short. Web is an application at the top of internet provides a way of accessing/sharing information through  the medium Internet. It Supports formatted documents and the documents are formatted in a markup language called HTML (Hyper Text… Continue Reading What is World Wide Web (www) ?

How to upload large/big files in asp.net ? In Previous posts i have explained about  simple example for uploading files in ASP.NET  and  uploading doc / docx extension files in ASP.NET. Actually the default maximum size of files that can be uploaded in ASP.NET is  4MB ( 1024*4 maxRequestLength = 4096 )… Continue Reading UPLOADING LARGE/BIG FILES IN ASP.NET

In previous post we have seen  simple example for uploading files in ASP.NET. And in this post we will see uploading files of particular type. We have to filter the file type based on its Content Type(MIME type). Here I am discussing about uploading doc/docx files in asp.net. Add a… Continue Reading Uploading MS WORD ( DOC / DOCX ) FILES IN ASP.NET

Sample Output:

SANDBOX DEFINITION: A  SandBox is a security Mechanism.It is a separate or restricted environment created to run untrusted programs or untested code by the third parties. -> It provides a fully controlled environment which restricts the resources for the programs run in it. -> It is mostly used for testing… Continue Reading WHAT IS SANDBOX IN COMPUTER SECURITY TERMS ??

In previous posts we have seen  connecting with sql server using ADO.NET, Simple C# program with ADO.NET . In this post we will see a sample windows application with ADO.NET . I am designing the form as shown in the image below. create a table in the database. Here we are… Continue Reading Simple Example to Start With ADO.NET in Windows C#

Example For Arithmetic Operations in C#.Net Windows In previous posts, we have seen c# program to add two numbers / integers , c# program to add two numbers / integers using function In this post we will see a simple example to start with windows c# application. Here we will perform basic… Continue Reading Simple Example to Start with C# Windows Application

In this post we will see a small example to understand the file upload control in Asp.net. For this take a fileupload control, button controls and a label on form default.aspx, code given below.

And then add a new folder “uploads” to your website. The C# code in the… Continue Reading Simple example for UPLOADING FILES IN ASP.NET

In this post we will see the RowDeleting event in Grid View in Asp.net. That is to delete the row in a grid view dynamically. For this take a grid view in a form default.aspx and add columns to the grid view. And add one extra column, Delete in a… Continue Reading DELETING A ROW DYNAMICALLY IN A GRID VIEW IN ASP.NET

While I was working on the Sending mail from asp.net application, i have taken the text box of mail body, with multi line property. But when it is shown in browser, its size is changing when we drag its end point. So in order to fix that problem, by browsing… Continue Reading How to set fixed size to a Multi line Text Box in ASP.NET

In this post i am posting a simple C# console program to start with ADO.NET. This may help the beginners in understanding the insertion of data into a database from a C# program. Before going for the program create a table in sql server using the following command:

Now… Continue Reading Simple C# program with ADO.NET

STEPS WHILE WORKING WITH SQL SERVER  : -> Step 1: Import the library at the top.

->Step 2: Construct the “Connection” Class object.

-> Step 3: Assign the Connection String. If u are using Windows authentication in Sql Server, then the  Connection string will be like this

Continue Reading CONNECTING WITH SQL SERVER USING ADO.NET

ADO.NET INTRODUCTION The Projects/Applications we develop is mainly divided into two main categories. They are 1) Front-End 2) Back-End . Actually why we need back-end is, the front end application itself cannot store the data permanently. So, we require a storage mechanism, and these storage mechanisms are nothing but the… Continue Reading ADO.NET ( ActiveX Data Objects.Net )

Before you go through this post go for the link to know about % operator. -> As % operator cannot used with DOUBLE values, as it generates compile time error, there is a special function ” fmod( ) ” in c. -> fmod( ) return type is double. So, we… Continue Reading How to perform Modulus / Mod operator on double values (OR) FMOD( ) function in C Programming

% OPERATOR IN C : ———————————– -> % OPERATOR is to get the remainder when a number is divided with any other number.        Example: int a=10%2; then the a value is zero. because the when 10 is divided by 2          the remainder is… Continue Reading Modulus / Mod / % operator in C Programming