Click here to Skip to main content
16,014,940 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi all;
i am new to asp.net and i am developing a website as a mobile shop, and all things go fine except something i wnat to know how it works:
there are a webpage that allow the user to search the phones with some categories provided so when the the user press the search button i want to show him the search results ,how can i display these results in the page, i know how to select form the database and i know how to deal with the dataviews but the question is how can i design the page and organize the search results in such a way that the image of the phone and under it a little prief of its details and ofcourse their are alot of page of search results , i could not do that with dataviews.
using C# and ASp.net 4.0 with Visual studio 2010 ultimate
Posted

You need to buy a very basic ASP.NET book and read it. Put simply, you need to take your data set and display it in a page, using a data driven control like a gridview. If you didn't know that, you don't know enough to take on this task. Overall, learning SQL, ASP.NET AND C# or VB.NET at once is stupid, you should learn C# or VB first, then learn ASP.NET, then learn SQL. Of course, no-one is paying you for your work, and it doesn't sound like homework, so you must just be fiddling around to teach yourself. That's fine, but learn one thing at a time, because otherwise you'll learn nothing.

I'm interested to know how someone who is just teaching themself and doesn't have a job or a course, can afford VS 2010 Ultimate. My guess is that you stole it, or you got it at work and it's your 'client' who is being stolen from.
 
Share this answer
 
Comments
mahmoudgamal 16-Jul-10 4:00am    
i hav been programming with C# and sql server since 2 years and i do a lot of commercial projects , but i havnot programming with ASP.net at all and i dont like it ,i know how i can display the results with the grid view in the page and how to retrieve data from datbase but my question is how to format and desgin the results with my owen way in the page so it looks good i dont need my website looks good and in a professional way, and i have alot of basic and professional ASP.net books but i didnot find what i need ,and by the way VS 2010 ultimate yeah i stole it becouse i havenot money to buy it.
you can use databound controls such as datalist or listview.
 
Share this answer
 
Comments
Sandeep Mewara 18-Jul-10 10:01am    
Reason for my vote of 1
Did you read the question? It's not what you have answered.

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