Click here to Skip to main content
15,899,026 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Control to insert several numeber at once Pin
Peace ON9-May-10 20:35
Peace ON9-May-10 20:35 
QuestionHow should I create a class that I can access across multiple ASP.NET pages? Pin
Adam Brown 35-May-10 4:26
Adam Brown 35-May-10 4:26 
AnswerRe: How should I create a class that I can access across multiple ASP.NET pages? Pin
Peace ON5-May-10 4:33
Peace ON5-May-10 4:33 
AnswerRe: How should I create a class that I can access across multiple ASP.NET pages? Pin
Sandesh M Patil5-May-10 4:42
Sandesh M Patil5-May-10 4:42 
AnswerRe: How should I create a class that I can access across multiple ASP.NET pages? Pin
overtech065-May-10 4:58
overtech065-May-10 4:58 
GeneralRe: How should I create a class that I can access across multiple ASP.NET pages? Pin
Adam Brown 36-May-10 3:47
Adam Brown 36-May-10 3:47 
GeneralRe: How should I create a class that I can access across multiple ASP.NET pages? Pin
overtech066-May-10 6:36
overtech066-May-10 6:36 
AnswerRe: How should I create a class that I can access across multiple ASP.NET pages? Pin
T M Gray5-May-10 4:58
T M Gray5-May-10 4:58 
Why are you using Server.Transfer? Do you really need all of the viewstate and posted data from one page to be sent to the other? That can be pretty inefficient.

Create a class file in your web project. I would probably put it in its own namespace and then for each page that needs to use the class, add a using statement for that namespace.

What other objects do you need to instantiate and where do those classes live? What kind of persistence are you thinking of? Persisting in memory is usually not a good idea as that doesn't scale very well. You might want to do some research on some design patterns like the domain object model. Then you can look for an ORM (Object relational mapper) that will help you get your objects into and out of a database.
GeneralRe: How should I create a class that I can access across multiple ASP.NET pages? Pin
Adam Brown 36-May-10 3:53
Adam Brown 36-May-10 3:53 
QuestionProblem Pin
MaheshSharma5-May-10 4:21
MaheshSharma5-May-10 4:21 
AnswerRe: Problem Pin
Sandesh M Patil5-May-10 4:24
Sandesh M Patil5-May-10 4:24 
AnswerRe: Problem Pin
JHizzle5-May-10 4:24
JHizzle5-May-10 4:24 
AnswerRe: Problem Pin
Not Active5-May-10 4:57
mentorNot Active5-May-10 4:57 
QuestionRegarding AjaxToolkit. Pin
dayakar_dn5-May-10 3:58
dayakar_dn5-May-10 3:58 
Questionproblem in update panel Pin
souravghosh185-May-10 2:35
souravghosh185-May-10 2:35 
AnswerRe: problem in update panel Pin
Jamil Hallal5-May-10 2:49
professionalJamil Hallal5-May-10 2:49 
AnswerRe: problem in update panel Pin
Abhijit Jana5-May-10 3:10
professionalAbhijit Jana5-May-10 3:10 
GeneralRe: problem in update panel Pin
Not Active5-May-10 3:22
mentorNot Active5-May-10 3:22 
AnswerRe: problem in update panel Pin
Not Active5-May-10 3:21
mentorNot Active5-May-10 3:21 
Questionhow to display properties on sale using google map Pin
Sandesh M Patil5-May-10 2:22
Sandesh M Patil5-May-10 2:22 
AnswerRe: how to display properties on sale using google map Pin
Not Active5-May-10 2:31
mentorNot Active5-May-10 2:31 
GeneralRe: how to display properties on sale using google map Pin
Sandesh M Patil5-May-10 2:43
Sandesh M Patil5-May-10 2:43 
GeneralRe: how to display properties on sale using google map Pin
Not Active5-May-10 3:07
mentorNot Active5-May-10 3:07 
GeneralRe: how to display properties on sale using google map Pin
Sandesh M Patil5-May-10 3:38
Sandesh M Patil5-May-10 3:38 
GeneralRe: how to display properties on sale using google map Pin
JHizzle5-May-10 3:27
JHizzle5-May-10 3:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.