Hi, Check out this URL:
http://www.codeproject.com/aspnet/lo...n_websites.asp
http://www.microsoft.com/globaldev/g...s/wrg_mui.mspx...
User Profile
Collapse
-
-
MAC address of NIC of your computer must be UNIQUE.
Following is the code to get the MAC address
//Requires a reference for System.Manageme nt
public string GetMACAddress()
{
ManagementObjec tSearcher objMgmtSearcher ;
ManagementObjec tCollection objCollection;
objMgmtSearcher = new ManagementObjec tSearcher("SELE CT * FROM Win32_NetworkAd apter");...Leave a comment:
-
Hi
Below is the code to convert a double to specific currency format.
Double MyVal = 78692.92786;
string CurrencyFormat = string.Format(" {0:##,###,##}", MyVal);Leave a comment:
-
Leave a comment:
-
Hi,
Find below the code for you to call a javascript method from server side:
Dim jScript As String
jScript = "<script>al ert ('www.geocities .com/ProgrammersVisi on')</script>"
ClientScript.Re gisterClientScr iptBlock(Me.Get Type(), "keyClientBlock ", jScript)
There is other work around, you can add the jScript string to a Literal Control,...Leave a comment:
No activity results to display
Show More
Leave a comment: