Datagrid has info, but it's not being showed

H

Hugo Flores

Hello,

I have a datagrid on a web page, this datagrid is receiving a datagrid
from a session variable.
The new datagrid is receiving the information correctly, I have already
checked rows and columns in debug mode.
The problem I have is that even though the datagrid has information, is
not being showed on the page.

This is the code I have on the page where I want to show the datagrid

Protected Sub Page_Load(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Me.Load
dgNew = Session("DataGrid")
Response.Write(dgNew.Items(3).Cells(1).Text)
Response.Write(dgNew.Items(3).Cells(2).Text)
End Sub

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top