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
Basit Khan
NA
336
121.6k
How to Update/Set the textbox value after Grid Updating.
Oct 11 2015 1:37 AM
Dear,
I wrote below code when grid update then fire that code and set the value in TextBox/Label.
I debug the below code and see the Value is getting but not showing in TextBox/Label.
When it showing when the complete page getting refreshed.
I called in Page_Load also.
Private Sub frm_getObjectivescore()
con.Open()
cmd = New SqlClient.SqlCommand("select sum(Value) as T_Count from View_EmployeeAp Where Apr_No=" & Request("Apr_No") & "", con)
dr = cmd.ExecuteReader()
If dr.HasRows Then
While dr.Read
TextBox1.Text = Math.Round(dr("T_Count") * 0.4, 2)
End While
End If
con.Close()
End Sub
Reply
Answers (
9
)
File Is being used by another process, When Deleting Image.
how to install ios7 on windows7 operating system