Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
7
Reply
The name 'Label1' does not exist in the current context.
Prashant Malav
Sep 1 2015 2:14 AM
508
Reply
Hello..
i have one datalist.
i use label1 in my .net design page index.aspx i write the code in index.aspx.cs page.
string name = Label1.Text.Trim();
Session["name"] = name;
but Label1.Text error show "The name 'Label1' does not exits in the current context"
This stupid problem lost my 2 day.
Please solution provide me..
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
7
)
Next Recommended Forum
How to Next and Previous page in Label?
Learn C#