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
hadoop hadoop
NA
159
50.8k
grid data comparison and computing total
May 26 2018 2:18 AM
How shall I compare two columns data, the second column data should not be greater than the first column and if it so focus on the second column.
And if the condition is valid then the total is computed and displayed on the third column. How can I do it using javascript?
<asp:GridView ID=
"STUDENT_GRID"
runat=
"server"
AutoGenerateColumns=
"false"
>
<Columns>
<asp:TemplateField HeaderText=
"FIRST ASSESSMENT"
>
<ItemTemplate>
<input type=
"number"
id=
"frstAssmt"
min=
"0"
value=
"0"
runat=
"server"
>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText=
"SECOND ASSESSMENT"
>
<ItemTemplate>
<input type=
"number"
id=
"scndAssmt"
runat=
"server"
min=
"0"
value=
"0"
>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText=
"TOTAL"
>
<ItemTemplate>
<input type=
"number"
id=
"ttl"
runat=
"server"
min=
"0"
value=
"0"
>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
Reply
Answers (
3
)
Sort line index to display in log
Why "TableDefinition" in CLR table valued function ?