This is a discussion on Classic asp arrays and recordset within the ASP and ASP.NET Programming forums, part of the Web Development category; The question is i have an array of five numbers. I have to check the array with database result. if ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| The question is i have an array of five numbers. I have to check the array with database result. if the array number not exsist in result set i have to add it to a combo box. can anybody give me the solution it would be helpful. thanks |
| Sponsored Links |
| |||
| Here i attached the code kindly help me to debug this code <!-- #include file="dbconnect.inc"--> <% dim access_numbers(5),i,select_numbers(5),j access_numbers(0)="2134160606" access_numbers(1)="2134160607" access_numbers(2)="2134160608" access_numbers(3)="2134160609" access_numbers(4)="2134160610" 'dnis set rs1=conobj1.execute("select count(dnis) as num from autodialer where account='200001' ") num=rs1("num") set rs=conobj1.execute("select dnis from autodialer where account='200001' ") for i=0 to ubound(access_numbers)-1 for j=0 to num-1 if (access_numbers(i) <> rs(j)) then Response.Write(access_numbers(i))&"<Br/>" end if next next %> |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Using Arrays in PHP | Sabari | PHP Programming | 123 | 05-30-2008 12:46 AM |
| classic asp date formatting | ramesh123 | ASP and ASP.NET Programming | 1 | 02-14-2008 07:13 PM |
| Paypal integration in classic asp | Dinakaran | ASP and ASP.NET Programming | 3 | 11-26-2007 05:46 AM |
| Jagged Arrays in C# | vigneshgets | C# Programming | 3 | 08-23-2007 12:13 AM |
| Writing MYSQL Query Recordset into external file. | Murali | Database Support | 2 | 07-19-2007 07:03 AM |