Hi,I am having problem in displaying the returned value from one function.I write one function for creating db connection,in that function I returned the string value of username.I want to display the string username value in different label through a button click event.What is the C# ASP.NET syntax ?Can any one help me..?Thanks.......
Gowrishankar
0
Newbie Poster
Recommended Answers
Jump to PostLabelName.Text = StringName;
Jump to Posthere, let me clean up your code so that it more cleanly does what you have it doing now
publicstring FuncAuthentication(string txtusername) { return "admin"; }
All 5 Replies
campkev
0
Posting Pro in Training
Gowrishankar
0
Newbie Poster
campkev
0
Posting Pro in Training
Gowrishankar
0
Newbie Poster
campkev
0
Posting Pro in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.