Click here to Skip to main content
12,065,888 members (29,915 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: Visual-Studio
Hello,

I need to display some data to a webpage , the data is in a SQL 2005 Server.

It is not a lot of data just 20 rows with the status of a room (20 rooms so 20 rows of data )

0 Free
1 Occupied
2 Dirty (not cleaned)
3 Out of order

So i need 1 web page.

I am progamming in Visual basic 2010 .

What is the easy way to do this.
There is a Small Business Server 2003 R2 so there is IIs on the server.

Thanks.

Best regards


Didier
Posted 12-Sep-12 9:09am
Comments
ridoy 12-Sep-12 14:27pm
   
please clear your question..what you need to do actually?
for web page you will start with ASP if you want to do it in .NET and then retrieve data from sql database to your page.
Didier Cauberghe 12-Sep-12 14:56pm
   
Thanks for the answer.

I dont know what is the simplest way to display the data.

Just need 1 page with 20 lines (rows).

Dont know how to make a web page ....

Any suggestions are welcome

best regards

Didier
Zoltán Zörgő 12-Sep-12 14:49pm
   
Dear Didier! Reply to the comments or improve your question by editing it, and don't add your messages as solution, since they are not solutions!
ridoy 12-Sep-12 15:18pm
   
Gridview is the best way to display such data i think as Zorgo said that too.
Zoltán Zörgő 15-Sep-12 4:54am
   
Any progress?

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

If you write Visual Basic 2010, than you have serious lack of knowledge about this area. That is no problem, but in this case there is lot to learn.
You have two approaches:
- either you code a simple asp.net application with a gridview, like here: http://asp-net-example.blogspot.hu/2008/12/aspnet-gridview-and-sqldatasource.html[^]
- or you use the Reporting Server from the SQL Server 2005 you have. You can use the wizard: http://www.simple-talk.com/sql/reporting-services/beginning-sql-server-2005-reporting-services-part-1/[^], or create a project in Visual Studio: Creating Reports with SQL Reporting Service and Visual Studio .NET[^]
  Permalink  
Comments
ridoy 12-Sep-12 15:17pm
   
+5

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web04 | 2.8.160207.1 | Last Updated 12 Sep 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100