i got 2 things in mind please help me choose

Discussion in 'C#' started by greekhand, Oct 21, 2007.

  1. #1
    i'm using asp.net , and im using some Url-ReWriting
    technique .

    i need to deliver response-url accordingly to the request-url ...

    i got 2 ways in mind , please help me decide which is better :

    1)to create ReUrl.cs file with ArrayList and store there all the response/request data , when i need to get the response-url i will do something like that ..

    ReUrl ru = new ReUrl();

    string rUrl = ru.GetUrl(requestedUrl);

    Context.PathReWrite(rUrl ,false);


    2) just using DataTable with 2 fields , request and response ..... and to deliver the response base on request .



    hope you will understand my english



    thanks alot
     
    greekhand, Oct 21, 2007 IP
  2. Alexander the Great

    Alexander the Great Peon

    Messages:
    253
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Alexander the Great, Oct 22, 2007 IP