datagrid on webpage

G

Guest

Hi,

I'he a datagrid in asp.net in a C# project and binded the following dataset
to it:
grdAssignments.DataSource = myDataSet.Tables[0];
but whey I run it the grid is not visible!!!?
 
G

Guest

Hi

Following could be the reason for datagrid not being invisible.
a . One of the reasons could be hat your dataset or datatable may not have
data in them. The grid will not be displayed if the dataset is empty
b. Check if the Visible property is set to True
c. Check if you have given DataGrid1.DataBind()

Regards
Naresh
 

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

Top