ok, so throw in a script to make the page auto-refresh ala here:
http://www.javascriptkit.com/script/script2/autofresh.shtml
...come to think of it... a messagebox is probably a blocking event, right? would the underlying page be able to refresh before the messagebox was closed? i don't think...
SqlCommand1.Parameters("@name").Value and SqlCommand1.Parameters("@password") are not variables you get as a part of the response from SQL, you're testing on something that hasn't to do with the success or failure of the query. you need to do something with the results of the query, whether...
here's how i use RegisterStartupScript to do popups. RegisterStartupScript's significance is only making sure the alert doesn't appear twice. there's design concerns you'll become aware of while trying popups, such as the back button will make the messages pop up again, but this should get you...
i've been working on a solution to secure the delivery of pdfs to client
browsers. we're introducing an public-website element, so i've decided to use
a webservice on the internal application webserver to pass a pdf as a byte
array to a public webserver outside the LAN, where it can be forwarded...
if this is indeed an error in sql2002 and there is presumably no correct means of creating and distroying the table, maybe you can change your logistics so that the table always exists, and throw some logistics on it such that you set it to some detectable state that you can use to represent...
yes, actually, but it's something of a hack, as ANY solution would have to be due to the rediculous absence of .getcurrentpagenumber() in the webform crystalreportviewer object. note though, the function exists in the windows forms crystalreportviewer object.
Here is the entire function I use...
spread is a calculated value in the query (decimal to 3
places), loan amt is money.
when i said won't compile, i referred to the fact that i
can't save the formula field without it prompting when i try to save, "there is a syntax error with the formula",
then point me to the...
argh, this makes no sense, the following code won't run:
if Sum ({procSoldLoansConfByInvRpt;1.Loan Amt})>0
then
sum({procSoldLoansConfByInvRpt;1.Spread}) / Sum ({procSoldLoansConfByInvRpt;1.Loan Amt})
else
0
i get an error Sum ({procSoldLoansConfByInvRpt;1.Loan Amt}) is not a number
so sum(a)...
Working in Crystal for .net03:
I'm having a hard time getting the current page displayed by the ASP.net CrystalReportViewer.
I got the total page count via
CStr(reportDocument.FormatEngine.GetLastPageNumber(crViewer.RequestContext()))
but I can't figure out how to get the CURRENT
page...
I'm working on some forms for a sqlserver asp.net webforms application.
These forms will deal with only one db record's information at a time.
It appears that only simple controls (combobox etc) and the all-powerful
datagrid control have binding and committal functionality.
Therefore I see my...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.