Category Archives: C# 4.0 AND ASP.NET 4.0

How fix the column width in a gridview at insert tooltip in each cell in Asp.net 4?

If you need to set the width of each column in a gridview control, If the column is just to display and no editing needed. You can like this, But if there is a editing to be done, you need … Continue reading

Posted in ASP.NET 4, C# 4.0, C# 4.0 AND ASP.NET 4.0, CSS | 1 Comment

How to create and use web site template in visual studio 2010?

this blog shows you on how to create and use web site template in visual studio 2010.  Before creating a template, you need to create a web site or project that you like to create a template. Step 1: Click … Continue reading

Posted in .NET Framework 4, C# 4.0 AND ASP.NET 4.0, Project Template, Web site Template | Leave a comment

How to create reports (rdlc) and load inside report viewer?

This blog will show you how to create report (rdlc not rdl) and display inside report viewer not thru browser. This post also shows you on how to use entity framework as a data source. Step 1 – Find and … Continue reading

Posted in .NET Framework 4, C# 4.0 AND ASP.NET 4.0, Linq to Entity, RDLC, Report Viewer, Reporting Services 2008 | Leave a comment

Using ReportViewer in ASP.NET 4.0 and Entity Framework

To bind a data source to a reportviewer: Add this line after <%@ Page … , <%@ Register Assembly=”Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a” Namespace=”Microsoft.Reporting.WebForms” TagPrefix=”rsweb” %> … <rsweb:ReportViewer ID=”ReportName” BorderStyle=”Solid” BorderColor=”Gray” BorderWidth=”1px” runat=”server” Font-Names=”Verdana” Font-Size=”8pt” InteractiveDeviceInfos=”(Collection)” WaitMessageFont-Names=”Verdana” WaitMessageFont-Size=”14pt” Width=”100%” Height=”470px”> <LocalReport … Continue reading

Posted in .NET Framework 4, C# 4.0 AND ASP.NET 4.0, Linq to Entity, Visual Studio 2010 | Leave a comment

How to create CRUD using Linq to Entity in ASP.NET 4?

In this project, I use Microsoft Visual C# 2010 Express Edition and Microsoft Visual Web Developer 2010 Express Edition You need to create a class library project first. Then create a ADO.NET Entity Framework, then create a class and interface … Continue reading

Posted in .NET Framework 4, C# 4.0 AND ASP.NET 4.0, Linq to Entity | Leave a comment