TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Abhimanyu Singh
NA
116
49k
How to bind/fetch column value(HoardingId) in alert message
Aug 27 2013 1:50 AM
Hii all here,
Please help me in binding/showing the deleted Hoarding ID with Alert message...Below are the code that is deleted the data but i want deleted id should show in alert message.
Please help..
if (e.CommandName == "delete")
{
int rowId = Convert.ToInt32(e.CommandArgument.ToString());
Label lblHoardingId = gvPostedHoarding.Rows[rowId].FindControl("lblHoardingId") as Label;
HId = Convert.ToInt32(lblHoardingId.Text.Trim());
lblMsg.Text = objHoarding.HoardingDetailsDelete("delete", HId);
//Session["HoId"] = lblHoardingId.Text;
HoardingDetailsOwner();
//ScriptManager.RegisterStartupScript(this, GetType(), "showalert", "alert('Hoarding ID' '
" + Session["HoId"].ToString() +
"' 'deleted succesfully.');", true);
ScriptManager.RegisterStartupScript(this, GetType(), "showalert", "alert('Hoarding ID
+ HId +
deleted succesfully.');", true);
}
Reply
Answers (
3
)
Declaring connection string in a class
dynamically table create