Click here to Skip to main content
15,917,709 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questioninsert query Pin
sajjy5-Aug-09 9:59
sajjy5-Aug-09 9:59 
AnswerRe: insert query Pin
Blue_Boy5-Aug-09 10:23
Blue_Boy5-Aug-09 10:23 
GeneralRe: insert query Pin
sajjy5-Aug-09 10:39
sajjy5-Aug-09 10:39 
GeneralRe: insert query Pin
Blue_Boy5-Aug-09 10:41
Blue_Boy5-Aug-09 10:41 
QuestionArrayList Objects referencing to old objects Pin
freeman19895-Aug-09 8:25
freeman19895-Aug-09 8:25 
AnswerRe: ArrayList Objects referencing to old objects Pin
fuzionist5-Aug-09 8:31
fuzionist5-Aug-09 8:31 
AnswerRe: ArrayList Objects referencing to old objects Pin
N a v a n e e t h5-Aug-09 9:09
N a v a n e e t h5-Aug-09 9:09 
GeneralRe: ArrayList Objects referencing to old objects Pin
fuzionist5-Aug-09 9:51
fuzionist5-Aug-09 9:51 
Hi N a v a n e e t h, thank you for your reply. I had attempted to use the deep clone method. However it does not seem to be working via the clone method. As my variables in the arraylist still get replaced upon calling another method which perform some manipulation to the arraylist in object

As i'm rather new to this, I'm afraid that I might get it wrong hence it is not working properly.

Below is a sample a sample for the Clone() which I'd wrote.


public Sector(string name, Int32 sectorWidth, Int32 sectorHeight, Int32 centrePointXCoor, Int32 centrePointYCoor, Int32 position)
 {
     this.name = name;
     this.sectorWidth = sectorWidth;
     this.sectorHeight = sectorHeight;

     this.centrePointXCoor = centrePointXCoor;
     this.centrePointYCoor = centrePointYCoor;

     this.position = position;

     items = new ArrayList();
 }

 public object Clone()
 {
     Sector sec = new Sector();
     sec.items = (ArrayList)items.Clone();
     return sec;
 }


Is is possible if you could provide me some examples? thank a lot in advanced! (:
QuestionAjax not working Pin
Ersan Ercek5-Aug-09 8:12
Ersan Ercek5-Aug-09 8:12 
AnswerRe: Ajax not working Pin
Not Active5-Aug-09 9:04
mentorNot Active5-Aug-09 9:04 
GeneralRe: Ajax not working Pin
Ersan Ercek5-Aug-09 9:25
Ersan Ercek5-Aug-09 9:25 
GeneralRe: Ajax not working Pin
Abhijit Jana5-Aug-09 9:58
professionalAbhijit Jana5-Aug-09 9:58 
GeneralRe: Ajax not working Pin
Ersan Ercek5-Aug-09 9:59
Ersan Ercek5-Aug-09 9:59 
Questionrelease dates of WCF,AJAX,.. Pin
suni_dotnet5-Aug-09 6:56
suni_dotnet5-Aug-09 6:56 
AnswerRe: release dates of WCF,AJAX,.. Pin
Abhijit Jana5-Aug-09 8:03
professionalAbhijit Jana5-Aug-09 8:03 
QuestionHow to enable folder rw rights in IIS 7.0 for ASP.NET web app? Pin
Chesnokov Yuriy5-Aug-09 4:14
professionalChesnokov Yuriy5-Aug-09 4:14 
AnswerRe: How to enable folder rw rights in IIS 7.0 for ASP.NET web app? Pin
Muhammad Mazhar5-Aug-09 4:29
Muhammad Mazhar5-Aug-09 4:29 
Questiondisplaying column from different tables Pin
srikantha_nagaraj5-Aug-09 4:06
srikantha_nagaraj5-Aug-09 4:06 
AnswerRe: displaying column from different tables Pin
Muhammad Mazhar5-Aug-09 4:40
Muhammad Mazhar5-Aug-09 4:40 
QuestionRe: displaying column from different tables Pin
srikantha_nagaraj5-Aug-09 19:57
srikantha_nagaraj5-Aug-09 19:57 
Questionsearch method Pin
thejakl555-Aug-09 3:50
thejakl555-Aug-09 3:50 
AnswerRe: search method Pin
Muhammad Mazhar5-Aug-09 4:49
Muhammad Mazhar5-Aug-09 4:49 
QuestionGet ID's Of All Textboxes into an Array? Pin
Pawan Kiran5-Aug-09 2:39
Pawan Kiran5-Aug-09 2:39 
AnswerRe: Get ID's Of All Textboxes into an Array? Pin
Arun Jacob5-Aug-09 2:41
Arun Jacob5-Aug-09 2:41 
GeneralRe: Get ID's Of All Textboxes into an Array? Pin
Pawan Kiran5-Aug-09 3:06
Pawan Kiran5-Aug-09 3:06 

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.