From the course: ASP.NET Web Forms Essential Training

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Presenting data sets in ASP.NET Web Forms applications

Presenting data sets in ASP.NET Web Forms applications - ASP.NET Tutorial

From the course: ASP.NET Web Forms Essential Training

Start my 1-month free trial

Presenting data sets in ASP.NET Web Forms applications

- [Voiceover] Now that we saved the data into the database from our contact form, let's see how we can actually show the data on the contact form. So go back here and instead of the label I will use something else and what I would like to use actually, it's a ListView. it's a ListView. So I'm going here, I'm expanding Data, and inside the Data I have a ListView, which I'm dropping in here and I can give it a name so the name would be lvMessages for instance. Okay? lvMessages for instance. Okay? There is one anchor here, right under ASP that will allow me to configure this and instead of going and doing everything manually I can just press on this one and then configure the ListView. I have no data source so I start by configuring a new data source. In order to have a SQL database, I will call the data source MessageDS I will call the data source MessageDS so it's the data source for the messages. I press OK and it will ask me if I want to use an existing connection string, which I…

Contents