Posts

Showing posts from August, 2014

nested girdview in datalist cancel update delete c#

  <asp:DataList ID="datalist1" Width="100%" DataKeyField="level2taskno" runat="server"                             OnItemDataBound="datalist_ItemDataBound">                             <HeaderStyle HorizontalAlign="Center"></HeaderStyle>                             <ItemTemplate>                                 <table style="width: 100%; color: Black; font-family: Arial; font-size: 12px;" cellspacing="0">                                     <tr>                                   ...

Getting Client Ip address and computer name in c#

 using system .net;  /* host address */             string strHostName = System.Net.Dns.GetHostEntry(Request.UserHostAddress).HostName;             lblip.Text = Request.UserHostAddress.ToString(); when you upload your code on server then in website you'll get your exact value.