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


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

What topics cover this code that was written in Classic-ASP?

Posted By:      Posted Date: September 04, 2010    Points: 0   Category :ASP.Net
 
Hey guys,So, I have a very simple bit of ASP on my website currently, which you can check out here:  http://www.marioplanet.com/catalog.aspJust ignore the CSS issue for now! :)Anyway, so, I have a SQL Server table in a database, and I'm pulling some information from it to make a shopping catalog of all my products.I was wondering if there is any need to convert this to ASP.NET, and if I should, as I'm eager to learn how, which topics of ASP.NET does this include?I would assume handling data through a SQL Server Database Table?Also, which ASP.NET framework is best suited for this kind of work?  For the most part, the only ASP.NET code I'm going to be using, is going to be handling data from a database.  Other than a few conditionals and what not.Any ideas and suggestions are greatly appreciated!Thanks!! 


View Complete Post


More Related Resource Links

how to get files in vb.net in all directories.I had written the code.if u see in the detaild message

  


This is in class file
Imports Microsoft.VisualBasic
Imports System.IO
Imports System.Collections.Generic
Public Class FileSrch
'' File Search Options
Public Enum FileSearchOptions
YearFirst
MonthFirst
DateinExtension
NormalFiles
End Enum

Public Shared Function GetSearchcriteria(ByVal DatetoSearchwith As Date, ByVal Filename As String, ByVal FileExtension As String, ByVal SearchOptions As FileSearchOptions)

Select Case SearchOptions
Case FileSearchOptions.YearFirst
Return String.Format("{0}_{1:yyyyMMdd}{2}", Filename, DatetoSearchwith, FileExtension)
Exit Select
Case FileSearchOptions.MonthFirst
Return String.Format("{0}_{1:yyyyMMdd}{2}", Filename, DatetoSearchwith, FileExtension)
Exit Select
Case FileSearchOptions.NormalFiles
Return String.Format(Filename + FileExtension)
Case FileSearchOptions.DateinExtension
Dim ExtensionFormat As String = (Convert.ToInt32(DatetoSearchwith.ToString("mm")).ToString() & DatetoSearchwith.ToString("dd"))
'' Month in Double Digit
If DatetoSearchwith.Month > 9 Then
ExtensionFormat = (DatetoSearchwith.ToString("mmm")(0) & DatetoSearchwith.ToString("dd"))
End If
Return String.Format("{0}.{1}", Filename,

can we use classic asp code in sharepoint 2010 content editor or in _layouts?

  

can we use and execute classic asp code in sharepoint 2010 content editor or in _layouts?

We have lots of code in old classic asp which we do not want to recode but just put those pages in _layouts in sharepoint server and execute them somehow. is it possible? We do not want to keep old server where asp code is running now.


Create Webservices for Existing Csharp Code written in web application

  

Dear All,

 

I have requirement to create webservices for existing c# code written in asp.net...do i need to create web methods for all functions used in web application???????? please do needful..


ASP Classic elements with ASP.NET code behind

  

Hello,

I am writing some pages in ASP.NET VB. Based on some database results I need certain pieces of information to display, basically if a column is not null then write out <p>database value</p>. So far, all the databse connection is called in my .aspx.vb file. Rather than have an asp:label (which creates a <span> not a <p> anyway) I was hoping I could keep all my HTML markup front end, so have some ASP Classic code that looks like:

<%

if results.item("name").value <> "" then
response.write("<p>" + results.item("name").value + "</p>"
end if

%>

The problem with this of course is results is not accessible from the front end.

Possibly this is the wrong approach, maybe someone can suggest an alternative if there are better ways. However, I don't like relying solely on Labels, Panels and other built in elements which create spans, divs, etc respectively.

This might sound silly, but there is a reason for this. I need to get some database content into some javascript. Currently I have to load the content into a span (label) which is hidden by css, and then javascript gets the value of this span. I think this is a very poor way of doing things so would prefer to be able to write out exactly when I want it without any unexpected markups.

 

Many T

create webservices for existing c# code written in asp.net

  

Dear All,

I have requirement to create webservices for existing c# code written in asp.net...do i need to create web methods for all functions used in web application???????? please do needful..


Code Optimized Web Development Profile (VS 2010 and .NET 4.0 Series)

  
When you first run VS 2010 it prompts you to select an IDE profile to use. The profile you select will configure how tool windows are displayed/docked in the IDE by default and set the default keyboard shortcuts. You can then customize any of these settings by using the Tools->Options menu within the IDE and then override/change them. You can also later reset your profile and pick a different one by choosing the Tools->Import and Export Settings menu command.

Free Code Snippets - ASP.NET

  
You Can Find Useful ASP.NET Related Posts on the above link.

Free Code Snippets - C#

  
Free C# Code Snippets

call JavaScript - jQuery code from ASP.NET Server-Side

  
jQuery got so close to me lately that I can see myself adding the scripts to my project almost unconsciously. The thing is, jQuery is very useful for me, in almost all situations and it has been a do or die enhancement for all my project since I first put my hands on it.

Of course while using it, you encounter few situations which need a bit of research to solve, mostly when you are trying to combine it with some other technologies like: UpdatePanels and ASP.NET Ajax. For instance there are many situations when I would like to run some jQuery magic based on some decision that I make on the server side.

call JavaScript - jQuery code from ASP.NET Server-Side

  
jQuery got so close to me lately that I can see myself adding the scripts to my project almost unconsciously. The thing is, jQuery is very useful for me, in almost all situations and it has been a do or die enhancement for all my project since I first put my hands on it.

Of course while using it, you encounter few situations which need a bit of research to solve, mostly when you are trying to combine it with some other technologies like: UpdatePanels and ASP.NET Ajax. For instance there are many situations when I would like to run some jQuery magic based on some decision that I make on the server side

GridView control to show master-child or master-slave data, written in c#, asp.net

  
I previously made a master slave datagrid using Visual Studio 2003 .Net (original article) that would allow users to show data to clients using collapse and expand features. These features however did not carry over to gridview for many users. This tutorial will explaing how to create a collapsable/expandable gridview in frameworks 2.0 and higher

Microsoft StyleCop: Source Code Analyzer for C#

  
StyleCop is similar in many ways to Microsoft Code Analysis (specifically FxCop), but there are some important distinctions. FxCop performs its analysis on compiled binaries, while StyleCop analyzes the source code directly. For this reason, FxCop focuses more on the design of the code, while StyleCop focuses on layout, readability and documentation. Most of that information is stripped away during the compilation process, and thus cannot be analyzed by FxCop.

Code spelling checker extension for visual studio 2010

  
Building a spelling checker for source code as an extension for visual studio 2010.

C# and XML Source Code Documentation

  
Through many years of enterprise level software development and consulting, I became critically aware of the importance of good source code documentation, and several years ago when I began working with the first release of Visual Studio .NET beta 1 and found C# provided built-in support for inline XML code documentation, I was thrilled.

Pocket TV Classic

  
PocketTV Classic is a Free software application that allows you to playback the common standard MPEG-1( .mpg) files on your Windows Mobile Pocket PC or other smartdevice. It is optimized to make use of the latest video acceleration hardware "2700G, ATI" and can playback videos in VGA resolution on VGA Pocket PC's I.E. Axim x51v/x50v, iPaq hx4700, Toshiba e800. A great tool to add to anyones collection.

Bar Code Scanners with the .NET Compact Framework

  
Summary: Learn how to make your applications use bar code scanners in a generic way-ndependent of the specific bar code scanners that are used on different devices. Using the design patterns Façade and Factory, the implementation not only supports multiple bar code scanners, but it also makes it easy to add support for other bar code scanners. After a brief discussion about bar code scanners and the bar code scanner pattern, a download code sample, written in C#, demonstrates the use of the pattern and technologies.

PrinterCE for .NetCF - Code Samples

  
1)Example:Hello World
2)Example:Form Test
3)Example:DrawTextFlow
4)Example:TextColumns
5)Example: Bar Code Test
6)Example:Text Wheel
7)Example:Image Rotation
8)Example:Line Fun
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