.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Easy Web
Imran Ghani
Post New Web Links

HELP?!?

Posted By:      Posted Date: September 15, 2010    Points: 0   Category :ASP.Net
 
Can anyone help me decode this? function paginas(id, soort, lang)  Set rst = Server.CreateObject("ADODB.RecordSet")     '' Selectie vanuit sql op "Soort" if soort = "menu" then  sql = "SELECT * FROM TBL_MENU WHERE ID=" & id elseif soort = "submenu" then  sql = "SELECT * FROM TBL_SUBMENU WHERE ID=" & id elseif soort = "subsubmenu" then  sql = "SELECT * FROM TBL_SUBSUBMENU WHERE ID=" & id else  sql = "SELECT * FROM TBL_MENU WHERE ID=10"  end if         With rst  .ActiveConnection = cnnstr  .CursorType   = 3  .LockType   = 1  .Source   = sql  .Open End With count = rst.recordcount  if count > 0 then    if(lang = "en") then    Response.Write(""_    &"<spancontentheading"">"&Replace(Replace(rst("TitelE"), "<p>", ""), "</p>", "")&"</span>        <br />"_    &&qu


View Complete Post


More Related Resource Links

Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend