Monday, 30 November 2015

How to bind gridview using entity framework from designer and backend code ?

0
Using Designer Step 1: Create gridview instance on the page where you want your gridview : <asp:GridView ID="grdEducation" runat="server" ></asp:GridView> Step 2: Move to design page, you will get something...
Read More »

Sunday, 29 November 2015

How to Bind Dropdownlist in Asp.net using entity framework

0
Question : How can we bind dropdown list in Asp.net from a table (tbl_department) using entity framework where tbl_department consist of departmentId and departName ? Solution Designer.aspx <asp:DropDownList ID="ddlDepartment" runat="server" AutoPostBack="true"> </asp:DropDownList> code.cs db_EmployeeManagEntities context...
Read More »

Saturday, 21 November 2015

Extension Methods in C#

0
Extension methods enable you to "add" methods to existing types without creating a new derived type, recompiling, or otherwise modifying the original type. How Do We Create Extension Methods? Step 1: Create the Static Class Step 2: Create the Static Method and give any logical name...
Read More »

Friday, 20 November 2015

Thread Pooling in C#

0
Thread pooling is the process of creating a collection of threads during the initialization of a multi-threaded application, and then reusing those threads for new tasks as and when required, instead of creating new threads. Once a thread in the pool completes its task, it is returned to...
Read More »

Wednesday, 18 November 2015

Threading Overview in C#

0
What threads really are ? A thread is a sequence of instructions executed within the context of a process. One can also say threads are the smallest possible part of the process that can be handled or controlled independently by a...
Read More »