Click here to Skip to main content
16,004,678 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questioncrystal report Pin
raj@code18-Sep-07 4:18
raj@code18-Sep-07 4:18 
QuestionCalendar Control Pin
kibromg18-Sep-07 4:05
kibromg18-Sep-07 4:05 
AnswerRe: Calendar Control Pin
varshavmane18-Sep-07 18:35
varshavmane18-Sep-07 18:35 
Question[Message Deleted] Pin
sweetypriety18-Sep-07 3:03
sweetypriety18-Sep-07 3:03 
AnswerRe: How to implement the Blog with ASP.NET? Pin
Pete O'Hanlon18-Sep-07 3:35
mvePete O'Hanlon18-Sep-07 3:35 
AnswerRe: How to implement the Blog with ASP.NET? Pin
Jon Sagara18-Sep-07 3:36
Jon Sagara18-Sep-07 3:36 
QuestionHow to bind data to a dropdown using Active Directory Pin
babutkchn18-Sep-07 2:22
babutkchn18-Sep-07 2:22 
AnswerRe: How to bind data to a dropdown using Active Directory Pin
MIHAI_MTZ18-Sep-07 4:04
MIHAI_MTZ18-Sep-07 4:04 
It's not binding but here it goes:
You should replace these lines with the proper values
entry.Path = "GC://****";
entry.Username = txtUN.Text;
entry.Password = txtPW.Text;


DirectoryEntry entry = new DirectoryEntry();
entry.Path = "GC://****";
entry.Username = txtUN.Text;
entry.Password = txtPW.Text;

DirectorySearcher ds = new DirectorySearcher(entry);
ds.Filter = txtQuery.Text;
ds.CacheResults = false;
ds.SearchScope = SearchScope.Subtree;

foreach (string s in cols)
ds.PropertiesToLoad.Add(s);

src = ds.FindAll();

cbResults.Items.Clear();
for (int i = 0; i < src.Count; i++)
{
if (src[i].GetDirectoryEntry().Properties["mail"].Value != null)
cbResults.Items.Add(src[i].GetDirectoryEntry().Properties["mail"].Value);
else
cbResults.Items.Add(i);
}


private string[] cols =
{
"displayName",
"givenName",
"sn",
"ou",
"employeeType",
"mail",
"telephoneNumber",
"samAccountNumber",
"whenCreated",
"whenChanged",
"objectGUID",
"c",
"objectCategory",
"anr",
"otherTelephone",
"cn",
"badPwdCount",
"lockoutTime",
"pwdLastSet",
"lastLogon",
"mobile",
"Profile",
"LastLogin",
"MaxStorage",
"PasswordAge",
"Description",
};
QuestionLocalization and satellite assemblies Pin
Krugger40418-Sep-07 1:51
Krugger40418-Sep-07 1:51 
AnswerRe: Localization and satellite assemblies Pin
Not Active18-Sep-07 2:15
mentorNot Active18-Sep-07 2:15 
GeneralRe: Localization and satellite assemblies Pin
Krugger40418-Sep-07 2:19
Krugger40418-Sep-07 2:19 
GeneralRe: Localization and satellite assemblies Pin
Not Active18-Sep-07 2:41
mentorNot Active18-Sep-07 2:41 
GeneralRe: Localization and satellite assemblies Pin
Krugger40418-Sep-07 21:27
Krugger40418-Sep-07 21:27 
QuestionUsing Context Handler... Pin
NeerajSharp18-Sep-07 1:42
NeerajSharp18-Sep-07 1:42 
Questionhow we close window through java script Pin
Piyush Vardhan Singh18-Sep-07 1:16
Piyush Vardhan Singh18-Sep-07 1:16 
AnswerRe: how we close window through java script [modified] Pin
NeerajSharp18-Sep-07 2:09
NeerajSharp18-Sep-07 2:09 
GeneralRe: how we close window through java script Pin
Piyush Vardhan Singh18-Sep-07 2:47
Piyush Vardhan Singh18-Sep-07 2:47 
GeneralRe: how we close window through java script Pin
NeerajSharp18-Sep-07 2:51
NeerajSharp18-Sep-07 2:51 
GeneralRe: how we close window through java script Pin
Piyush Vardhan Singh18-Sep-07 3:05
Piyush Vardhan Singh18-Sep-07 3:05 
GeneralRe: how we close window through java script Pin
NeerajSharp18-Sep-07 4:57
NeerajSharp18-Sep-07 4:57 
AnswerRe: how we close window through java script Pin
Fred_Smith18-Sep-07 2:25
Fred_Smith18-Sep-07 2:25 
GeneralRe: how we close window through java script Pin
Piyush Vardhan Singh18-Sep-07 2:45
Piyush Vardhan Singh18-Sep-07 2:45 
Questionasp.net - Could you please help me Pin
abglorie18-Sep-07 1:08
abglorie18-Sep-07 1:08 
AnswerRe: asp.net - Could you please help me Pin
Pete O'Hanlon18-Sep-07 1:14
mvePete O'Hanlon18-Sep-07 1:14 
QuestionGo To Google Pin
varshavmane18-Sep-07 0:59
varshavmane18-Sep-07 0:59 

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.