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
rony rony
NA
1
1.1k
how do i use the code in a button click event
Sep 12 2012 11:51 PM
I new to .net , can someone please tell me how do i use the code on a button click event
any bit of info would be helpful
int quantityUsed = CAST(form.quantity.Text, int)
int verifyQuantity
SELECT quantity INTO verifyQuantity FROM component
WHERE itemName = form.item.Text
IF NOT_FOUND THEN <error routine for invalid item name>
ELSE
IF verifyQuantity < quantityUsed THEN <error routine for insufficient inventory>
ELSE
UPDATE component SET quantity = quantity - quantityUsed
WHERE itemName = form.item.Text
ENDIF
ENDIF
Reply
Answers (
1
)
web form missing part of master page
how to do the Link without open new window..?