Tag Archive: C#.NET

Apr 03

how to filter dataset in asp.net using c#

Hi, In this article I will explain you how to set filter in dataset while getting data from backend to frontend. Observe the below sqlserver database table , In this we can see the pincode column were it contain different values in pincode column Eg:I want to get only picode=524004 for that I can write …

Continue reading »

Dec 07

custom button in c# .net

Hi,In this article I will going to explain you about windows applications “Custom Button” Custom Button : which is looks like WPF button representation, it consists of some extra futures then ordinary windows button,  In this button we can place images and also we can do different  shapes . It works as windows application button …

Continue reading »

Jul 19

how to export gridview data to excel in asp.net using c#

In this article. I am going to explain about how to Export Data from grid view to Excel sheet: 1.In many cases its very difficult to check the entire data in grid view,so that we can export data into excel and then we can check  easily. 2.To do that you have to save dataset data …

Continue reading »

Mar 07

how to load data from notepad to richtextbox using c#.net

I this article i am going to explain how to data from notepad to richtext box using c#.Net [code language=”csharp”] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO; using System.Data.SqlClient; namespace loadtxt { public partial class Form1 : Form { public Form1() { InitializeComponent(); } …

Continue reading »

Dec 24

validations in windows application in c#.net

[code language=”csharp”] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO; using System.Data.SqlClient; using System.Text.RegularExpressions; namespace FecilitiesMgt { public partial class AddNewUser : Form { public AddNewUser() { InitializeComponent(); } SqlConnection con = new SqlConnection("uid=sa;password=123;database=FacilityMgt"); private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { Form f = new …

Continue reading »