Understading Callback method wher a function is executed not on the main thread but on a child thread that it created . Similary there are different ways of executing function created on the child thread. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Memory_understanding { public delegate void sumofnumberscallback(int sumofnumber); class A { int target; public A(int num) { this.target= num; } public void printNumber(int n) { ...
To develop a code for the below requirement: 1)Create a GridView to display Employee table (first_name ,Last_name, Id) 2)For each row in the grid ,place a button "Exclude"inside the grid 3)On click of the button "Exclude" put include the Emplyee name in a excluded list. 4)Write a function which can exclude and include the name of the employees from the Grid. 5)On submit button click show the number of Employess included and excluded. ASPX Code <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Employee_Example.aspx.cs" Inherits="WebApplication1.Employee_Example" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> </head> <body> <form id="form1" runat="server"> <div> <asp:GridView ID="employeeGrid" runat="server" CellPadding...
Comments
Post a Comment