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?
yeah.. jbenson001.. sort of.. but since both control belongs to System.Web.UI.WebControls namespace.
So, I would like .. instead of
<asp:TextBox ... > or <asp:Label ... >
Can I <asp:WebControls ... > ? And set the specific type in
Page_Load or Page_PreRender ???
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 ?
Yeah.. for that page, page2Send.asp, I do have 2 variables
var1 = Request.Form("var1")
var2 = Request.Form("var2")
However.... when I send the page using CDO
.CreateMHTMLBody "page2Send.asp"
How to pass those 2 variables? This is not a GET.
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?
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.