News
IBM to offer mobile security as a service IBM will start delivering mobile security-as-a-service (MaaS) through its own cloud infrastructure in India, a move that is expected to better address in-country data requirements... IBM Spectrum Computing: IBM has enlarged its portfolio of software-defined infrastructure solutions with cognitive features for workload management.  * LiFi internet technology has been introduced, the new type of wireless internet connection that gives 100 times faster than traditional WiFi -- Invented by Professor Harald Haas from the University of Edinburgh. * Sci. Rachid Yazami has developed a smart chip that charges smartphones in less than 10 minutes. BenQ has launched BlueCore projector - Consumer electronics major BenQ has launched its first BlueCore laser light source projector. For those unaware, devices with BlueCore laser technology have a high contrast output of 80000:1 with an extended lamp life and efficiency. *** 
Category - C# Tutorial
 
Nov 9 2014 7:46AM    Posted By: Rohan   Tagged As: Windows Forms, C# Tutorial
Identifying the user using authentication is a very important task in any application development. Now this article shows to create a Login form in a windows application using a Stored Procedure.
For beginners, students and anyone that wants to learn how to create a windows application Login form using a Stored Procedure.
if (UserName.Text != "" && Password.Text != "")
{
     string conString = "server=YourServerName; database=YourDataBase; uid=**; password=****;";
     SqlConnection conn = new SqlConnection(conString);
     ...
[Read More]

Nov 30 2014 8:23AM    Posted By: Anand Krish   Tagged As: Windows Forms, Charts, C# Tutorial
In Windows Forms application predefined Chart control is availabe. Using the Control Chart we can draw Bar chart, pie Chart, line chart and Etc.
private void Form1_Load(object sender, EventArgs e)
{
     BindChart();
}
 ...
[Read More]

Nov 30 2014 8:26AM    Posted By: Prashanth   Tagged As: Windows Forms, C# Tutorial
Using the Control MenuStrip we can create menus. Here, example shows, how to create a simple menu
public partial class Menu : Form
{
        OpenFileDialog file_open = new OpenFileDialog();
        public Menu()
        {
            InitializeComponent();
        }
}
 ...
[Read More]

Nov 30 2014 8:28AM    Posted By: Michael Ryan   Tagged As: ASP.Net, GridView, C# Tutorial
Binding of data to GridView from Database using DataSet in C#/VB Below is the sample code
protected void Page_Load(object sender, EventArgs e)
 {
      try
      {
        BindGrid();
      }
      ...
[Read More]

Dec 14 2014 8:25AM    Posted By: Rohan   Tagged As: ASP.Net, C# Tutorial, iTextSharp
For that we have to use a dll called iTextSharp. Click here to download iTextSharp dll file.
protected void Page_Load(object sender, EventArgs e)
 {
        // Read PDF Text
        string PdfData = ReadPdfFile(@"C:\Test.pdf");          
  ...
[Read More]

Dec 14 2014 8:25AM    Posted By: Micheal   Tagged As: C# Tutorial, ASP.Net, WebUserControl
User controls are reusable controls that can be defined once and used whenever we need them, in any of the .aspx pages of our application.
<%@ Register Src="~/Controls/Search.ascx" TagPrefix="ucSearch" TagName="Search" %>          
 ...
[Read More]

Dec 21 2014 7:53AM    Posted By: Micheal   Tagged As: ASP.Net, C# Tutorial
Here, Example shows, how to fill DropdownList on Button Click Event in ASP.Net C#/VB.
SYNTAX:
 DropdownList.Items.Add("ItemName");
 ...
[Read More]

Dec 21 2014 7:54AM    Posted By: Rohan   Tagged As: ASP.Net, C# Tutorial
Here, Example shows, how to Read PDF and Convert to Stream in ASP.Net C#/VB.
   //CONVERT STRING TO BYTE ARRAY
   byte[] pdfdata = ConvertStringToByte(PdfData);  
          
   //CONVERT BYTE ARRAY TO STREAM
   Stream stream = new MemoryStream(pdfdata);
   ...
[Read More]

Search
Recent Posts
Create Amazon ElasticCache Using Memcached in CSharp
Oct 29 2018 12:09PM Posted By Amose
Get Google Map Lat Lng (Geo Point) By Pincode in C#
Oct 28 2018 12:09PM Posted By Pranav
Google URL Shortener in C#
Oct 20 2018 12:09PM Posted By Sanjay
Bind Gridview from CSV file in Asp.Net C#
Oct 5 2018 12:09PM Posted By Michael
Call WebService method from jQuery in every 1 minute
Sep 26 2018 12:09PM Posted By John
Gridview custom CSS in ASP.Net
Sep 14 2018 12:09PM Posted By Micheal Ryan
Read excel file and bind to Gridview in C#
Sep 10 2018 12:09PM Posted By Micheal
Tags
Follow us on Facebook
Follow us on Google +
Recent post in your Email inbox.
Enter your email address: