Accessing a DIV from VB.NET code
Hi,
does anyone know how to access a html div from vb code?
I have the below div and would like to access the "This is headline 1" div, i would like to replace this with rows from sql server
Code:
<DIV id="scrollup" style="Z-INDEX: 101; LEFT: 348px; WIDTH: 164px;
POSITION: absolute; TOP: 41px; HEIGHT: 109px"
ms_positioning="GridLayout">
<div class="headline">This is headline 1</div>
<div class="headline">This is headline 2</div>
<div class="headline">This is headline 3</div>
<div class="headline">This is headline 4</div>
</DIV>
Thanks
Re: Accessing a DIV from VB.NET code
Div control is normal HTML control and will not be accessible from VB Code. I am assuming you are talking about ASP.NET.
You can use a simple DataGrid to populate data from SQL Server or DataGridView(2005).