Posts

Showing posts from 2011

Creating Dynamic Tables in Code Behind File

Create Panel in .aspx.......                                                23-Sep-2011 <asp:Panel ID="pnTable" runat="server">     </asp:Panel> Code Behind File...... using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data.SqlClient; using System.Data; using System.Configuration; public partial class DyanmicTable : System.Web.UI.Page {     string connection = Convert.ToString(ConfigurationManager.ConnectionStrings["Test"].ConnectionString);     protected void Page_Load(object sender, EventArgs e)     {         SqlConnection conn ...

GridView Design Using CSS

Image
 Create Css File in your Project...And Add Reference to Grid View page * {     padding: 0;     margin: 0; } body {     font: 11px Tahoma;     background-color: #F7F7E9; } h1 {     font: bold 32px Times;     color: #666;     text-align: center;     padding: 20px 0;    } #container {     width: 700px;     margin: 10px auto; } .mGrid  {     width: 100%;     background-color: #fff;     margin: 5px 0 10px 0;     border: solid 1px #525252;     border-collapse:collapse; } .mGrid td {    padding: 2px;    border: solid 1px #c1c1c1;    color: #717171; } .mGrid th {     padding: 4px 2px;     color: #fff;     background: #424242 url(grd_head....

Constructors

http://www.c-sharpcorner.com/UploadFile/puranindia/LearningConstructorsInC-sharp05182009044452AM/LearningConstructorsInC-sharp.aspx Constructors Constructors are class methods that are executed when an object of a given type is created. Constructors have the same name as the class, and usually initialize the data members of the new object. What is constructor?     *       Constructor is used to initialize an object (instance) of a class.     *       Constructor is a like a method without any return type.     *       Constructor has same name as class name.     *       Constructor follows the access scope (Can be private, protected, public, Internal and external).     *       Constructor can be overloaded. Constructors generally following types :     * ...

Asp.Net

ASP.NET is a web application framework developed and marketed by Microsoft to allow programmers to build dynamic web sites , web applications and web services .ASP.NET is built on the Common Language Runtime (CLR), allowing programmers to write ASP.NET code using any supported .NET language . The ASP.NET SOAP extension framework allows ASP.NET components to process SOAP messages.

Raghu Test

Hi simple test Grid View Examples Events Examples http://www.codeproject.com/KB/aspnet/GridViewEventHandling.aspx