Hi, the examples in the following link works. I follow step by step.
http://msdn2.microsoft.com/en-us/library/ms178139.aspx
But I got the following error.
Object reference not set to an instance of an object.
WHEN! The source page has master page attached on it. The target page can't find...
I was told to put the databind(access) code inside
if (!Page.IsPostBack) { ..... } because that saves the data for selecting an item.
But if I did that, I would lose all data (nothing shows up) if I sort / get to another page afterwards.
Simply speaking, is it necessary to use datasource object?
The IIS sends out my email when certain action is triggered.
Recipients of email include some from the local domain and outside the domain. For some unknown reason, recipient of local domain gets the email right away whereas outsiders experience delay.
How to resolve?
I downloaded the 2.0 final release. They prompted me to uninstall the 2.0 beta. I did so and installed the 2.0 final release. Afterwards, the VWD never worked anymore.
I installed the 2.0 beta and the programs written never worked either. Any clue?
Is that possible to change the WebControls type?
I have a control. With spaghetti code, I can change to either textbox or label. but no clue how to do it in .NET. anyone?
Once user has been authenticated, he/she will be directed to a page.
I mean ...
FormsAuthentication.RedirectFromLoginPage(loginName, persistentState)
and
<authentication>
<forms .... ... loginUrl="login.aspx" ... />
</authentication>
I go to the browser and type login.aspx in address bar...
Can I put a variable to this tag?
For instance, I have
<script runat=server>
String notVar = "12345";
</script>
<myTagPrefix:myTagName id="myId" myVar=notVar runat=server>
The above notVar is a variable, by my defintion. But the output shows as if it is a text. It shows as notVar instead...
I wanna write a class, A, that outputs the content of Request.ServerVariables.
But I got the following error
The name 'Request' does not exist in the current context
Any clue ?
I wanna email a page that is a report. The page itself is a file that accepts POST parameters.
If you email a page using something like
.CreateMHTMLBody
how can I send the parameters?
I use this function, ExecuteGlobal, to include some file.
But it doesn't work some but not all. Is there a limit on how many bytes this executeGlobal can read?
One difference between GET and POST is the way they handle the form. For GET, the form parameters are appended at the end of page whereas it is sent separated for POST.
There should a limit for # of characters for GET.
How about POST?
How to skip any loop?
For instance,
ans = 0
For i=Lbound(a) to UBound(a)
if a(i) = "1" Then
???
else
answer = answer + cint(a(i))
Next
Or simply speaking, what is the vbscript equivalent of java-continue? thanks
I have a form that links to an external site such as ups(but it's not really ups).
My form has a textbox and a button. If the user clicks a button, it opens a window and display the tracking result.
I know how the site names the fields. And I add a new field with the identical name.
For...
I have a check box in my form
<input type="checkbox" name="chk1" id="chk1" >
When I get its value by
Request.Form("chk1")
I only get either "on" or empty string
How can I do an update to the database?
When using response.redirect(" ")...can I pass in some variables?
2 files, input.asp(w/ inputs) & output.asp
I use response.redirect("output.asp") in input.asp
but how to pass the variables from input.asp to output.asp???
Thank you
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.