I am creating a website in visual studio 2015 where i need to call data from sql database not in table form | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I am creating a website in visual studio 2015 where i need to call data from sql database not in table form

As I mentioned above I need to create separate div tag for each row and implement the value into the div tag of each value in that row for ex <div> <p>row[1]<p> </div>

27th Jun 2019, 5:50 AM
Vijay
Vijay - avatar
2 Answers
+ 1
One of the easiest ways to do that would be using Razor syntax: take a look at this site, at the Displaying Data section - https://docs.microsoft.com/en-us/aspnet/web-pages/overview/data/5-working-with-data
27th Jun 2019, 7:23 AM
Rincewind
Rincewind - avatar
0
Thanks for the suggestion I look on to it
27th Jun 2019, 7:26 AM
Vijay
Vijay - avatar