Hi,
I've created a .sdf database for my visual studio project, but have no idea how I can start populating fields in my html with information from this database.
There's a page where a user can input what he is listing, how much he wants, and the location and that will automatically populate in the database.
In my html, I'd like to be able to do something like this:
<div id="what"> listing[0] or whatever the database call is </div>
<div id="cost"> database call for cost</div>
etc
Thanks,
Bram
pull data from .sdf into html
Page 1 of 14 Replies - 574 Views - Last Post: 27 August 2012 - 07:00 PM
Replies To: pull data from .sdf into html
#2
Re: pull data from .sdf into html
Posted 27 August 2012 - 12:58 PM
Since you're using Visual Studio, it sounds like you're working with .NET. Have you looked at ASP.NET yet?
#3
Re: pull data from .sdf into html
Posted 27 August 2012 - 01:01 PM
ya, it's an asp.net application, but all the information is displayed in .cshtml files.
#4
Re: pull data from .sdf into html
Posted 27 August 2012 - 01:25 PM
I'm not exactly familiar with the ASP.NET technology. I'll move this over there for better visibility.
#5
Re: pull data from .sdf into html
Posted 27 August 2012 - 07:00 PM
Is there a specific reason you are using .cshtml vs. .aspx pages?
Since you are using .cshtml pages, you will want to look up Razor.
http://www.asp.net/w...he-razor-syntax
Since you are using .cshtml pages, you will want to look up Razor.
http://www.asp.net/w...he-razor-syntax
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote






|