Click here to Skip to main content
15,891,136 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: datagrid click Pin
www.suniltvl.in28-Mar-07 19:51
www.suniltvl.in28-Mar-07 19:51 
Questiondo any body know how MEEBO works Pin
srikanth raju27-Mar-07 20:02
srikanth raju27-Mar-07 20:02 
Questiondo any body know how MEEBOO works Pin
srikanth raju27-Mar-07 19:58
srikanth raju27-Mar-07 19:58 
AnswerRe: do any body know how MEEBOO works Pin
Sathesh Sakthivel27-Mar-07 20:00
Sathesh Sakthivel27-Mar-07 20:00 
QuestionMethods in asp.net server controls Pin
samsonx27-Mar-07 19:56
samsonx27-Mar-07 19:56 
AnswerRe: Methods in asp.net server controls Pin
Sathesh Sakthivel27-Mar-07 19:59
Sathesh Sakthivel27-Mar-07 19:59 
QuestionHow to Give Reminder in ASP.NET2.0(VB) Pin
varshavmane27-Mar-07 19:42
varshavmane27-Mar-07 19:42 
QuestionUsername in datagrid Pin
nclauder27-Mar-07 19:25
nclauder27-Mar-07 19:25 
Hi all,
I have this problem could I get some help? This code works on a plain webform and I get user name:
string DomainUser = System.Security.Principal.WindowsIdentity.GetCurrent().Name.Replace("\\","/");
System.DirectoryServices.DirectoryEntry ADEntry = new System.DirectoryServices.DirectoryEntry("WinNT://"+DomainUser);
Response.Write(ADEntry.Properties["FullName"].Value.ToString());

But When I try it on a datagrid it does not work why is it so? where would I be going wrong?
myCommand.Parameters.Add(new SqlParameter("@Name",SqlDbType.Text));
myCommand.Parameters["@Name"].Value = System.Security.Principal.WindowsIdentity.GetCurrent().Name.Replace("\\","/");
System.DirectoryServices.DirectoryEntry ADEntry = new System.DirectoryServices.DirectoryEntry("WinNT://"+st6);
Response.Write(ADEntry.Properties["FullName"].Value.ToString());
Thanks.
QuestionDisable right click option Pin
E.Madhu27-Mar-07 19:10
E.Madhu27-Mar-07 19:10 
AnswerRe: Disable right click option Pin
varshavmane27-Mar-07 19:50
varshavmane27-Mar-07 19:50 
GeneralRe: Disable right click option Pin
E.Madhu27-Mar-07 20:45
E.Madhu27-Mar-07 20:45 
QuestionReal time capturing video stream in webform Pin
senthil_becse27-Mar-07 19:07
senthil_becse27-Mar-07 19:07 
QuestionError creating COM object from web service Pin
sharon_cds27-Mar-07 18:59
sharon_cds27-Mar-07 18:59 
AnswerRe: Error creating COM object from web service Pin
sharon_cds27-Mar-07 19:26
sharon_cds27-Mar-07 19:26 
Questionblackjack Pin
Member 396895227-Mar-07 18:41
Member 396895227-Mar-07 18:41 
QuestionRegarding Web Hosting.. Pin
MinhajuddinK27-Mar-07 18:07
MinhajuddinK27-Mar-07 18:07 
AnswerRe: Regarding Web Hosting.. Pin
N a v a n e e t h27-Mar-07 19:34
N a v a n e e t h27-Mar-07 19:34 
QuestionXML Related.. Pin
MinhajuddinK27-Mar-07 17:27
MinhajuddinK27-Mar-07 17:27 
AnswerRe: XML Related.. Pin
Mayank Prajapati27-Mar-07 20:18
Mayank Prajapati27-Mar-07 20:18 
QuestionPage.PreviousPage.FindControl Pin
digsy_27-Mar-07 16:18
digsy_27-Mar-07 16:18 
QuestionConverting XmlNode to Datagrid Pin
samR927-Mar-07 16:10
samR927-Mar-07 16:10 
Questionguys how can i bind a function to a textbox in inserttemplate? Pin
neodeaths27-Mar-07 15:00
neodeaths27-Mar-07 15:00 
QuestionSqlDatasource Question... Pin
Kariem Soudy27-Mar-07 11:50
Kariem Soudy27-Mar-07 11:50 
Questionregarding reportviewer.....very urgent Pin
srishree27-Mar-07 10:31
srishree27-Mar-07 10:31 
QuestionOpen a PDF file Pin
rudemusik27-Mar-07 10:23
rudemusik27-Mar-07 10:23 

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.