Are there resources online with tips on ASP to ASP.Net conversions?
Microsoft has designed The ASP to ASP.NET Migration Assistant help us convert ASP pages and applications to ASP.NET. It does not make the conversion process completely automatic, but it will speed up project by automating some of the steps required for migration. The following Code Migration Assistants are discussed in the link below. ASP to ASP.NET Migration Assistant PHP to ASP.NET Migration Assistant JSP to ASP.NET Migration Assistant Refer Migrating to ASP.Net Also refer: Microsoft’s ASP to ASP.NET Code Migration Assistant John Peterson’s article Microsoft’s ASP to ASP.NET Migration Assistant Paolo Cavone’s article From ASP to ASP.NET… Painlessly!
Is there something as RecordSet we had in ASP that can be used in ASP.NET
You can make use of a DataReader. Refer How to display data in Textboxes using DataReader?
How can I add and remove an Html element dynamically using javascript?
Below is the javascript code which is used to add and remove div elements dynamically.Here the div tags are added in one base div tag container. <script> function AddHtmlElement() { var divElement = document.getElementById(’MYDIV’); var divNumber= document.getElementById(’hiddenValue’); var num = (document.getElementById(’hiddenValue’).value -1)+ 2; divNumber.value = num; var newdiv = document.createElement(’div’); var divIdName = ’MYDIV’+num; newdiv.setAttribute(’id’,divIdName); var divLoadedText=’Div ’+num+’ Is Added!’; divElement.appendChild(newdiv); newdiv.innerHTML =divLoadedText+' '+'<a href=’#’ onclick=RemoveHtmlElement(’'+divIdName+'’)>Remove div ’'+divIdName+'’</a>'; } functionRemoveHtmlElement(divNum) { var divId = document.getElementById(’MYDIV’); var childId = document.getElementById(divNum); divId.removeChild(childId); } </script> <form id='Form1' > <input id='hiddenValue' type='hidden' value='0'> <p> <a href='#' onclick='AddHtmlElement()'>Add Html Elements</a> </p> <div id='MYDIV'></div> </form>
When I open my new window using Javascript, all elements appear great, but the original window just displays [Object] why?
Check out How to open a new window with multiple parameters using datagrid?
Can I store my session state in a database other than tempdb, In SqlServer mode?
Yes. For more details Refer HOW TO: Configure ASP.NET for Persistent SQL Server Session State Management