Dot Net

maintain scroll bar in div or panel

09/07/2012 18:04
  <form id="form1" runat="server">  <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" ScriptMode="Release">     </asp:ToolkitScriptManager>    <script type="text/javascript">       // It is important...

Convert Money to Text

11/06/2012 18:18
  using System; using System.Collections.Generic; using System.Linq; using System.Web;   namespace Cflow {     public class moneytextconvertion     {           public string retWord(int number)      ...

Encription and Decription

24/12/2011 18:21
https://useofaspdotnet.blogspot.com/2011/02/how-to-do-encrypt-and-decrypt-password.html   https://useofaspdotnet.blogspot.com/2011/01/how-to-encrypt-password-and-store-it-in.html

Bind list from datatable

22/12/2011 11:36
    List<dc_chamber> chamberusedlist = new List<dc_chamber>(); bc_chamber chusedpro = new bc_chamber(); chamberusedlist = chusedpro.getChamberList(); cmb_ChamUsed_semana.DataSource = chamberusedlist; cmb_ChamUsed_semana.DisplayMember =...

Logging class

19/12/2011 17:54
  using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml.XPath; using System.Xml.Linq; using System.Windows.Forms; using System.IO; using System.Diagnostics; namespace CASA.Utils { public class Logging { //Write Logs in XML...

Watch Daug Class

19/12/2011 17:52
  using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CASA.Utils { public class WatchDawg { //Write exception in XML File public static void CatchError(Exception ex) { try { string errMsg = ex.Message; string source =...

Check Local IP Address [C#]

15/12/2011 15:12
  Check Local IP Address [C#] This example shows how to detect whether a host name or IP address belongs to local computer. Get local computer name Get local computer host name using static method Dns.GetHostName. [C#] string localComputerName = Dns.GetHostName(); Get local IP...

Socket Send and Receive [C#]

15/12/2011 15:11
  Socket Send and Receive [C#] This example shows how to send and receive data via TCP/IP using Socket in .NET Framework. There are methods Socket.Send and Socket.Receive. Socket.Send method Send method sends data from your buffer to a connected Socket. When you call the Send method...

Download Files from Web [C#]

15/12/2011 15:10
  Download Files from Web [C#] This example shows how to download files from any website to local disk. The simply way how to download file is to use WebClient class and its method DownloadFile. This method has two parameters, first is the url of the file you want to download and the...

DataView RowFilter Syntax [C#]

15/12/2011 15:06
  DataView RowFilter Syntax [C#] This example describes syntax of DataView.RowFil­ter expression. It shows how to correctly build expression string (without „SQL injection“) using methods to escape values. Column names If a column name contains any of these special characters ~ ( ) #...
1 | 2 | 3 | 4 | 5 >>