Click here to Skip to main content
15,916,030 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: FileUpload1.Hasfile always returns False Pin
Saba0230-Apr-09 8:39
Saba0230-Apr-09 8:39 
GeneralRe: FileUpload1.Hasfile always returns False Pin
AlexeiXX330-Apr-09 9:31
AlexeiXX330-Apr-09 9:31 
QuestionCONTENT Pin
girikaimal30-Apr-09 2:40
girikaimal30-Apr-09 2:40 
AnswerRe: CONTENT Pin
Abhijit Jana30-Apr-09 4:06
professionalAbhijit Jana30-Apr-09 4:06 
AnswerRe: CONTENT Pin
AlexeiXX330-Apr-09 6:32
AlexeiXX330-Apr-09 6:32 
QuestionHow to get Datalist ROW number? Pin
sameercodes30-Apr-09 0:49
sameercodes30-Apr-09 0:49 
AnswerRe: How to get Datalist ROW number? Pin
saanj30-Apr-09 3:00
saanj30-Apr-09 3:00 
GeneralRe: How to get Datalist ROW number? Pin
sameercodes30-Apr-09 3:57
sameercodes30-Apr-09 3:57 
QuestionOCX or USER Control !!!!!!!!!!!!!!!! Pin
Tripathi Swati29-Apr-09 23:44
Tripathi Swati29-Apr-09 23:44 
AnswerRe: OCX or USER Control !!!!!!!!!!!!!!!! Pin
Christian Graus30-Apr-09 0:13
protectorChristian Graus30-Apr-09 0:13 
GeneralRe: OCX or USER Control !!!!!!!!!!!!!!!! Pin
Tripathi Swati30-Apr-09 19:10
Tripathi Swati30-Apr-09 19:10 
QuestionIP Addresses List Pin
specialdreamsin29-Apr-09 23:40
specialdreamsin29-Apr-09 23:40 
AnswerRe: IP Addresses List Pin
Rolando CC30-Apr-09 7:12
professionalRolando CC30-Apr-09 7:12 
Easy!

using System;
using System.Collections.Generic;
using System.Text;
using System.DirectoryServices.ActiveDirectory;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            System.DirectoryServices.DirectoryEntry entry = new System.DirectoryServices.DirectoryEntry("LDAP://yourdomain");
            System.DirectoryServices.DirectorySearcher search = new System.DirectoryServices.DirectorySearcher(entry);
            search.Filter = "(objectClass=computer)";

            foreach (System.DirectoryServices.SearchResult resEntAs in search.FindAll())
            {
                Console.WriteLine(resEntAs.GetDirectoryEntry().Name.ToString());
            }
            Console.ReadLine();
        }       
    }
}


Now just request for the IP using System.Net.Dns.GetHostByName()

Sniff | :^)
Questionmulti sql connection to same DB asp.net applcation Pin
Member 616850929-Apr-09 23:30
Member 616850929-Apr-09 23:30 
AnswerRe: multi sql connection to same DB asp.net applcation Pin
SeMartens29-Apr-09 23:37
SeMartens29-Apr-09 23:37 
GeneralRe: multi sql connection to same DB asp.net applcation Pin
Member 616850930-Apr-09 1:34
Member 616850930-Apr-09 1:34 
GeneralRe: multi sql connection to same DB asp.net applcation Pin
Paulo Zemek30-Apr-09 9:30
Paulo Zemek30-Apr-09 9:30 
Questionpage loading time is high when not allow paging on gridview [modified] Pin
samerh29-Apr-09 22:42
samerh29-Apr-09 22:42 
AnswerRe: page loading time is high when not allow paging on gridview Pin
Abhijit Jana29-Apr-09 23:05
professionalAbhijit Jana29-Apr-09 23:05 
GeneralRe: page loading time is high when not allow paging on gridview Pin
N a v a n e e t h29-Apr-09 23:15
N a v a n e e t h29-Apr-09 23:15 
GeneralRe: page loading time is high when not allow paging on gridview Pin
samerh29-Apr-09 23:16
samerh29-Apr-09 23:16 
AnswerRe: page loading time is high when not allow paging on gridview Pin
saanj29-Apr-09 23:08
saanj29-Apr-09 23:08 
GeneralRe: page loading time is high when not allow paging on gridview Pin
samerh29-Apr-09 23:19
samerh29-Apr-09 23:19 
AnswerRe: page loading time is high when not allow paging on gridview Pin
N a v a n e e t h29-Apr-09 23:13
N a v a n e e t h29-Apr-09 23:13 
GeneralRe: page loading time is high when not allow paging on gridview Pin
samerh29-Apr-09 23:24
samerh29-Apr-09 23:24 

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.