This project has moved and is read-only. For the latest updates, please go here.

Last edited Jan 25, 2013 at 9:59 AM by codeulike, version 14


m2bittu Dec 30, 2016 at 6:47 AM 
Hello Codeulike ,
Marry Christmas and Happy New Year 2017 for you.
Can you please help me i want to use this code in my application but i have stuck. I'v download the code and i am working on remote sql server reporting service but when i debug the code it always taking my local system username. The code part i am taking about is below. can you please advice me what i need to do in this case .

if (!this.IsPostBack)

string username = User.Identity.Name.ToString();
uxHiddenFullUsername.Text = username;
if (username.IndexOf(@"\") > -1)
username = username.Split(@"\".ToCharArray()).Last();
//uxUserName.Text = username;


Thanks and waiting for your response