Student Table
UserId
Name
Surname
Results Table
ID
UserId
Year
Symbol
Student has many results. There is a one-to-many relationship on the UserId fields.
I am using Dynamic data for my admin section. When I go to the list page for students in dynamic data, I want to be able to click on a Student and then view that Student's resul...
Hello,
Anyone knows how can i start to develop a multitenant site in MVC2, in a way it run on Windows Azure?
I search a lot about this question, and i allways find theoric explanations, everybody says it can be easily done, but i dont find any sample...
Can someone explain me where to start?
Thanks,
João
...
I know it can be simple to access a mysql or sql database on godaddy.. i have done it before, but now i have lost the code. Now the code that should be working just comes up with a security exception.
So how do i create a asp or aspx file on my godaddy free hosting account that will connect to a database i have already set up (mysql,sql...
I have found the following ASP VB code from Microsoft Support, and as it is stated it should print in my browser the parameters that are required from my called stored procedure. I get the following error when I run it in my browser:
Microsoft OLE DB Provider for Oracle (0x80040E14)
ORA-06550: line 1, column 7: PLS-00306: wrong number o...
I want to re-write my website urls. my website is in classic ASP. I hv ISAPI re-write on my hosting server.
I want to rewrite and re-diredt my urls like follows.
"http://www.mysite.com/fld1/pg1.asp"
to
"http://www.mysite.com/fld/fld-1/"
can anyone tell me the rule for it. tyries many rule sbut not working.
Looking forward to hearin...
hi ,
we have two webserver and we have dedicated the task between these two servers.
we've decided to put all the asp/aspx page into one server and put an upload.aspx + sql server into another one:
and here is name of the servers :
http://server1.somecompany.com // this is where all the pages reside + swfupload
http://server2.somecomp...
I'm trying to debug some old code in a VB6 application called from an ASP page. At a certain point in the page life cycle, I'm getting an "Object not set" error for either
ASPTypeLibrary.ScriptingContext.Application.Contents.Item or ASPTypeLibrary.ScriptingContext.Session.Contents.Item
I notice that some other code in the function us...
i wanna to show a message box but i prefer to be server side ,i wanna to have full control over it,i mean the number of buttons, the icon .... etc like windows application.
the problem when add reference to system.windows.forms and use it , when publish the site on the server i have an error , i can't remember exactly , but when remove ...
Hello guys,
i have a webservice checking if a user is connected:
[ScriptMethod(ResponseFormat = ResponseFormat.Json)]
public bool IsConnected(BasePage basePage)
{
bool IsConnected = basePage.User.UserId != 0;
return IsConnected;
}
BasePage is the parent of all my asp.net pages:
public class BasePage : System.Web.UI.Page and ...
I have an Edit page in my application that contains a DropDownList.
This DDL is bound to an EntityDataSource that only shows the active "ProjectManagers".
In the case where the user is editing a record that is assigned to an "inactive" ProjectManger, an ArgumentOutOfRange Exception is (rightfully) thrown by the DDL (because that Item w...
I'm a beginner in the black art of ASP .NET development, so forgive me if this is a stupid question.
After a bit of googling, and reading though (some of...) ASP .NET 3.5 Unleashed, I've yet to find a way of doing what I want - which usually either means I'm trying to do something stupid, or it's so obvious I've missed it :)
I'm creati...
Hello,
I cannot display the Question Template on my page with the PasswordRecovery Control. I only get the UserName View.
Can anyone tell me what I am doing wrong?
I have added many users, but only a few have a queston and answer right now because they are imported from an older system.
Any help would be greatly appreciated.
I have...
I'm trying to pass some info to an ASP webpage.
The form on the page looks as following:
<form name=onlineform method=post onSubmit="javascript:return false;">
<input type=hidden name="form" value="">
<textarea name=item rows=5 cols=33 onBlur="this.value=removeSpaces(this.value);" tabindex="1"></textarea>
<input type="text" name="Email...
I've got a fairly complex classic asp page that for some users doesn't render completely at some times. I wonder if the response.buffer property might have something to do with that. Would setting it to false make it more likely to render completely? I suspect it's crapping out at some point but can't reproduce it on my end.
...
Hi,
Sorry for the kind of noob question but having issues trying to get a Tokenizer working. Tried this example but on the line of the Tokenize() I get an error Type mismatched. I've also tried to use Split with a very similar outcome.
The server is using IIS and is pretty old if that helps at all. Sorry, never used asp / .net before.
...
Hi all, I have a dropdown menu and all i want is that when i click on Italian in the dropdown, the content for italian will show... Basically what i want is to set the action to IT when i select Italian from the dropdown.. Any help please??
<%
action = Request.QueryString("action")
%>
<form name="contentchanger" action="/...
how to remove HTTP_COOKIE cookie from browser using classic ASP
...
I definitely searched for this, but I can't find the answer, even though it seems so trivial.
I have a variable in ASP.NET that returns a string.
string[] arrayOfThings { get { return new string[] { ... } } }
And I have call to it in ASP
Dim someString
For Each someString In someClass.arrayOfThings
# Do Something with someString...
Hi
I want to fire a button using a JavaScript, I founded several references on the web, but on the implementation I have an issue. I will use it for several buttons, the result if I press the real button is that I can "get" the information of what button was pressed using asp request("submit"), but if the JavaScript fires the button, the...
I have inherited a web site that has all of the paths set using relative paths, that only work when the site is located in the web root.
I have put the site in a virtual directory, and none of the paths work correctly.
<img src="/img/logo/BadCo.gif" width="156" height="55" alt="BadCo" />
I can resolve this as follows:
<img src='<%= ...