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
Murugavel S
NA
83
24k
ASP.net
Aug 18 2015 9:13 AM
hi friends,
i hav to use value from event to other methods.
Is it possible to do this???
string NameId = string.Empty;
string OrdId= string.Empty;
my event :
protected void dgv_RowEditing(object sender, GridViewEditEventArgs e)
{
GridViewRow row = (GridViewRow)dgvDeplymentReport.Rows[e.NewEditIndex];
NameId= row.Cells[17].Text; (here getting gridview value)
OrdId = row.Cells[18].Text;
}
private void Something()
{
a=NameId; (here im nt getting the Value from event)
b=OrdId;
}
My Question is hoe to use that event value in other methods..
Pls Help me
Thanks In Advance
Reply
Answers (
2
)
Read Data using Data Reader using WebService Call Ajax
Get Changes of Related Entities In EF6 with Repository