Posts

Showing posts from August, 2019

Dynamic Colums And Row Using Jquery

<!--<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script>--> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <script src="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.9/jquery-ui.js" type="text/javascript"></script> <link href="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.9/themes/blitzer/jquery-ui.css"       rel="stylesheet" type="text/css" /> <table class="dynatable">     <thead>         <tr class="Header">             <th id="AddRowTh"><button class="add">Add Row</button></th>             <th>ID &nbsp;&nbsp;<a href="#" class="RemoveColumn" onclick='remcol(this)'>Remove</a></th>         </tr>     </...

one class property value to another class propety c#

public class PropertyCopier<TParent, TChild> where TParent : class                                             where TChild : class     {         public static void Copy(TParent parent, TChild child)         {             var parentProperties = parent.GetType().GetProperties();             var childProperties = child.GetType().GetProperties();             foreach (var parentProperty in parentProperties)             {                 foreach (var childProperty in childProperties)                 {                     if (parentProperty.Name != "ID" && childPr...