Click here to Skip to main content
15,892,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
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

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[^]
 
Share this answer
 
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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900