First of all, how do I get my generic error page to be called when someone types something like
somepage.htm, somepage.asp, where none of those files exist? If they type somepage.aspx, the page is called. How do I get .Net to call the generic error page in these cases?
Secondly, when there is...
I have a repeater that displays an alphabetized list.
When the first letter changes, I want to add something like
<br /> <b>[LETTER]</b> <br />
thus:
A
aword
anotherword
anothernotherword
B
bent
bendover
...
I was thinking of some type of OnItemCreated event handler:
protected void...
We changed our website from .php to .net, and now several search engines still have the .php files (which are now broken links) in their db.
What I want to do is create those .php files that contain .Net code and execute them.
I have written:
<%@ Language=VBScript %>
<%
'
' index2.php
'...
I'm having trouble creating a query that compares values in the same table, ie:
Code:
SELECT [fields]
FROM [table]
WHERE column1 = column2
It's simple to compare a field value to another value, ie
WHERE column1 = 332.55;
But having issues with the first one:
Code...
When I've got a DateTime field defined in a SQL Server table, how do I get the value to get auto populated if none is given in a query.
ie. If I manually add a record to the table, I want the datetime field to autopopulate.
Thanks
I've setup a custom user datastore that makes use of the .Net 2.0 Login controls. Sure it's quick for user signups, but what about if you want to record more user attributes, such as address, phone number, and maybe some unconventional fields?
In my case, I've setup a separate user database...
Hi,
When using ASP.Net 2.0's custom data provider's user data store (I'll be setting this up in the same database as the application), how does one go about writing the "Unsubscribe" or "Delete User" operations, that is, without using aspnet_regsql.exe?
I'd like users to be able to remove...
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.