on click of a link button should first save the data and then open a new browser
A page consists of a link button. Clicking this link button should first
save data in the database.
If the data is saved correctly then it should open a new window.
I have coded for the link button as
Private Sub Button1_Click
(ByVal sender As System.Object, ByVal e As System.EventArgs)
' perform database save here
Can anyone suggest which is the best method in terms of reliability and
Re: on click of a link button should first save the data and then open a new browser
well it looks fine.. as long as u r not doing any major DB work in the
button _onclick event. ( this should be done in ur middle tier)
the rest looks fine unless someone differs ..
|All times are GMT. The time now is 08:04 AM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.