Click here to Skip to main content
15,914,221 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionanimaton extender Pin
mylogics19-Aug-09 0:03
professionalmylogics19-Aug-09 0:03 
QuestionASP.NET Gridview, bring highlighted rows to top Pin
Inderjeet Kaur18-Aug-09 23:25
Inderjeet Kaur18-Aug-09 23:25 
AnswerRe: ASP.NET Gridview, bring highlighted rows to top Pin
GSingh-Developer18-Aug-09 23:34
GSingh-Developer18-Aug-09 23:34 
GeneralRe: ASP.NET Gridview, bring highlighted rows to top Pin
Inderjeet Kaur19-Aug-09 0:28
Inderjeet Kaur19-Aug-09 0:28 
GeneralRe: ASP.NET Gridview, bring highlighted rows to top Pin
GSingh-Developer19-Aug-09 0:44
GSingh-Developer19-Aug-09 0:44 
GeneralRe: ASP.NET Gridview, bring highlighted rows to top Pin
GSingh-Developer19-Aug-09 0:47
GSingh-Developer19-Aug-09 0:47 
QuestionRe: ASP.NET Gridview, bring highlighted rows to top [modified] Pin
Inderjeet Kaur19-Aug-09 18:24
Inderjeet Kaur19-Aug-09 18:24 
QuestionBasics........Diff between HTML controls and Standard controls Pin
Rohit Kulkarni18-Aug-09 23:21
Rohit Kulkarni18-Aug-09 23:21 
AnswerRe: Basics........Diff between HTML controls and Standard controls Pin
N a v a n e e t h19-Aug-09 0:24
N a v a n e e t h19-Aug-09 0:24 
QuestionDatetime comparison Pin
greendragons18-Aug-09 22:39
greendragons18-Aug-09 22:39 
AnswerRe: Datetime comparison Pin
dan!sh 18-Aug-09 22:46
professional dan!sh 18-Aug-09 22:46 
GeneralRe: Datetime comparison Pin
greendragons18-Aug-09 22:55
greendragons18-Aug-09 22:55 
GeneralRe: Datetime comparison Pin
Christian Graus18-Aug-09 23:19
protectorChristian Graus18-Aug-09 23:19 
GeneralRe: Datetime comparison Pin
greendragons18-Aug-09 23:23
greendragons18-Aug-09 23:23 
AnswerRe: Datetime comparison Pin
GSingh-Developer18-Aug-09 23:38
GSingh-Developer18-Aug-09 23:38 
QuestionSession Expiration while working Pin
amansaroya118-Aug-09 22:36
amansaroya118-Aug-09 22:36 
AnswerRe: Session Expiration while working Pin
padmanabhan N18-Aug-09 22:48
padmanabhan N18-Aug-09 22:48 
GeneralRe: Session Expiration while working Pin
amansaroya118-Aug-09 23:16
amansaroya118-Aug-09 23:16 
AnswerRe: Session Expiration while working Pin
Inderjeet Kaur19-Aug-09 18:10
Inderjeet Kaur19-Aug-09 18:10 
QuestionHow To Create a HTML Download Link Pin
Prasadsm18-Aug-09 22:28
Prasadsm18-Aug-09 22:28 
QuestionHow Can I retrive Client PC MAC address Pin
krishnaveer18-Aug-09 21:28
krishnaveer18-Aug-09 21:28 
Hi Guys


I am working an asp.net application in which i required to fetch client PC MAC address


I gone through this Script but its giving Error
So Any Other solution Plz Tell me

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Untitled Page</title>

<script id="clientEventHandlersJS" type="text/javascript">

function Button1_onclick() {
var locator = new ActiveXObject ("WbemScripting.SWbemLocator");
var service = locator.ConnectServer(".");
var properties = service.ExecQuery("SELECT * FROM Win32_NetworkAdapterConfiguration");
var e = new Enumerator (properties);
document.write("<table border=1>");
dispHeading();
for (;!e.atEnd();e.moveNext ())
{
var p = e.item ();
document.write("<tr>");
document.write("<td>" + p.Caption + "</td>");
document.write("<td>" + p.IPFilterSecurityEnabled + "</td>");
document.write("<td>" + p.IPPortSecurityEnabled + "</td>");
document.write("<td>" + p.IPXAddress + "</td>");
document.write("<td>" + p.IPXEnabled + "</td>");
document.write("<td>" + p.IPXNetworkNumber + "</td>");
document.write("<td>" + p.MACAddress + "</td>");
document.write("<td>" + p.WINSPrimaryServer + "</td>");
document.write("<td>" + p.WINSSecondaryServer + "</td>");
document.write("</tr>");
}
document.write("</table>");
}
function dispHeading()
{
document.write("<thead>");
document.write("<td>Caption</td>");
document.write("<td>IPFilterSecurityEnabled</td>");
document.write("<td>IPPortSecurityEnabled</td>");
document.write("<td>IPXAddress</td>");
document.write("<td>IPXEnabled</td>");
document.write("<td>IPXNetworkNumber</td>");
document.write("<td>MACAddress</td>");
document.write("<td>WINSPrimaryServer</td>");
document.write("<td>WINSSecondaryServer</td>");
document.write("</thead>");
}
</script>


</head>
<body onload ="Button1_onclick();" >
</body>
</html>

Thanks In Advanced

krishna veer singh

AnswerRe: How Can I retrive Client PC MAC address Pin
Christian Graus18-Aug-09 21:54
protectorChristian Graus18-Aug-09 21:54 
GeneralRe: How Can I retrive Client PC MAC address Pin
krishnaveer18-Aug-09 21:59
krishnaveer18-Aug-09 21:59 
GeneralRe: How Can I retrive Client PC MAC address Pin
N a v a n e e t h18-Aug-09 22:00
N a v a n e e t h18-Aug-09 22:00 
GeneralRe: How Can I retrive Client PC MAC address Pin
krishnaveer18-Aug-09 22:04
krishnaveer18-Aug-09 22:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.