Public Sub MessageBox(ByVal msg As String)
Dim lbl As New Label
lbl.Text = ""
Page.Controls.Add(lbl)
'End Sub
Protected Sub btnGenerateReport_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnGenerateReport.Click
MessageBox("test message")
getreportdata() // this is a function through which i am getting data in my crystel report
End Sub
i want before uploading data my message box should display. But through this code i am not able to.
Please help me.
Iftikar HussainPosted Jul 11, 2013, 2:44 AM
You can do in client side only
Regards,
Iftikar
Iftikar HussainPosted Jul 11, 2013, 2:57 AM
Dim starttime As DateTime = DateTime.NowDim diff As Int
diff = DateDiff(DateInterval.MilliSecond, starttime , DateTime.Now)
Regards,
Iftikar
rachayita jaiswalPosted Jul 11, 2013, 2:51 AM
means i want to check time in mili second as soon as i click on button before load data and again i want to check time after load data in my crystal report...