VideoStreaming in asp.net with c#
using System.IO;using System.IO.Compression;FileStream sourceFile;GZipStream compStream;FileStream destFile;protected void btnCompress_Click1(object sender, EventArgs e){if (File1.PostedFile != null){txtSource.Text = File1.PostedFile.FileName.ToString();}sourceFile = File.OpenRead(txtSource.Text);destFile = File.Create(txtDestination.Text);compStream = new...
Creating Controls at Runtime
TextBox txt1 = new TextBox();TextBox txt2 = new TextBox();txt1.Text = "This is the textbox inside the placeholder";txt2.Text = "This is the textbox...
SerialPort (RS-232 Serial COM Port) in C# .NET for MIFARE
This article is about communicating through the PC's Serial COM RS-232 port using Microsoft .NET 2.0 or later by using the System.IO.Ports.SerialPort...
Data loading from SQL Server database at runtime
Firstly Add DataList Control in Design View.Then Change the html code of Datalist as follows:Source Code:using System;using System.Data;using System.Configuration;using System.Collections;using System.Web;using System.Web.Security;using System.Web.UI;using...
Windows Workflow Foundation
Workflow means performing any task in order. Today, each application is based on workflow approachand involves some processes to be executed. While...
SqlServer Database Connection in asp.net with C#
Microsoft SQL Server is a relational database management system (RDBMS) produced by Microsoft. Its primary query language is Transact-SQL, an implementation of the...
Serial Communication with MSComm Control in windows application
Add Reference for Serial Communication:Add MSComm Control For Serial Communication:Serial Communication Form Design:Source Code For Serial Communication:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using...