Click here to Skip to main content
15,896,359 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Keeping the position on the page Pin
Joshua Lunsford8-May-06 10:22
Joshua Lunsford8-May-06 10:22 
AnswerRe: Keeping the position on the page Pin
Tirthadip8-May-06 21:57
Tirthadip8-May-06 21:57 
AnswerRe: Keeping the position on the page Pin
HimaBindu Vejella8-May-06 22:37
HimaBindu Vejella8-May-06 22:37 
QuestionError: "Base class includes the field xxx but its type yyy is not compatible with the type of control yyy Pin
leckey8-May-06 8:34
leckey8-May-06 8:34 
AnswerRe: Error: "Base class includes the field xxx but its type yyy is not compatible with the type of control yyy Pin
ToddHileHoffer8-May-06 8:45
ToddHileHoffer8-May-06 8:45 
QuestionRe: Error: "Base class includes the field xxx but its type yyy is not compatible with the type of control yyy Pin
leckey8-May-06 9:10
leckey8-May-06 9:10 
QuestionConnect to ADS in ASP and ASP.Net Pin
csri8-May-06 8:31
csri8-May-06 8:31 
AnswerRe: Connect to ADS in ASP and ASP.Net Pin
HimaBindu Vejella8-May-06 22:41
HimaBindu Vejella8-May-06 22:41 
public bool AuthenticateUser(string domain, string username, string password)

{ string LDAPPATH ="LDAP://appserver.com";

string domainAndUsername = domain + @"\" + username;

DirectoryEntry entry = new DirectoryEntry( "LDAP://appServer.com", domainAndUsername, password);
try

{

// Bind to the native AdsObject to force authentication.

Object obj = entry.NativeObject;
DirectorySearcher search = new DirectorySearcher(entry);
search.Filter = "(SAMAccountName=" + username + ")";
search.PropertiesToLoad.Add("cn");
SearchResultCollection result = search.FindAll();
if( result.Count==0)
{
return false;

}

}

"Aim to go where U have never been B4 and Strive to achieve it"
http://groups.yahoo.com/subscribe/dotnetforfreshers
http://himabinduvejella.blogspot.com


-- modified at 4:42 Tuesday 9th May, 2006
GeneralRe: Connect to ADS in ASP and ASP.Net Pin
csri8-May-06 23:37
csri8-May-06 23:37 
QuestionSQLDataReader data binding error = frustrated! Pin
Kerberos258-May-06 8:29
Kerberos258-May-06 8:29 
AnswerRe: SQLDataReader data binding error = frustrated! Pin
ToddHileHoffer8-May-06 8:39
ToddHileHoffer8-May-06 8:39 
GeneralRe: SQLDataReader data binding error = frustrated! Pin
Kerberos258-May-06 8:47
Kerberos258-May-06 8:47 
GeneralRe: SQLDataReader data binding error = frustrated! Pin
ToddHileHoffer8-May-06 8:58
ToddHileHoffer8-May-06 8:58 
GeneralRe: SQLDataReader data binding error = frustrated! Pin
Kerberos258-May-06 9:10
Kerberos258-May-06 9:10 
QuestionDo something before Page Closing Problem.. Pin
cheeken2u8-May-06 7:00
cheeken2u8-May-06 7:00 
AnswerRe: Do something before Page Closing Problem.. Pin
ToddHileHoffer8-May-06 8:17
ToddHileHoffer8-May-06 8:17 
GeneralRe: Do something before Page Closing Problem.. Pin
CWIZO8-May-06 10:16
CWIZO8-May-06 10:16 
AnswerRe: Do something before Page Closing Problem.. Pin
TheManFran8-May-06 18:50
TheManFran8-May-06 18:50 
AnswerRe: Do something before Page Closing Problem.. Pin
HimaBindu Vejella8-May-06 23:35
HimaBindu Vejella8-May-06 23:35 
AnswerRe: Do something before Page Closing Problem.. Pin
Bhasker Pinninti9-May-06 3:10
Bhasker Pinninti9-May-06 3:10 
QuestionCheckBoxList Pin
sroberts828-May-06 6:47
sroberts828-May-06 6:47 
AnswerRe: CheckBoxList Pin
ToddHileHoffer8-May-06 8:28
ToddHileHoffer8-May-06 8:28 
QuestionFormatting number string Pin
Ista8-May-06 5:50
Ista8-May-06 5:50 
AnswerRe: Formatting number string Pin
Paddy Boyd8-May-06 6:16
Paddy Boyd8-May-06 6:16 
GeneralRe: Formatting number string Pin
Ista8-May-06 6:18
Ista8-May-06 6:18 

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.