By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,491 Members | 1,212 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,491 IT Pros & Developers. It's quick & easy.

datagrid is invisiable when .aspx page is launch on web server

P: n/a
nss
hi,
I created web page ( .aspx) then i imported datagrid on that page with
dataset. But when i launch the page on web server the datagrid is
invisiable. Can someone help me how i can make it visible when launch on web
server.

regards,

Sam
Nov 15 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
You have to databind the datagrid to the dataset before it will display on a
webpage. Do this:

DataAdapter.Fill(DatasetName);

dataGrid1.datasource = DatasetName;

dataGrid1.DataBind();

Hope it helps.

"nss" <ms@m.com> wrote in message
news:uT**************@TK2MSFTNGP12.phx.gbl...
hi,
I created web page ( .aspx) then i imported datagrid on that page with
dataset. But when i launch the page on web server the datagrid is
invisiable. Can someone help me how i can make it visible when launch on web server.

regards,

Sam

Nov 15 '05 #2

P: n/a
Hi,

Check a few things:
- datagrid.Visible = true;
- that you do a datagrid.DataBind()
- that the dataset and datatable contains data

if not , post some code and we will help you

Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"nss" <ms@m.com> wrote in message
news:uT**************@TK2MSFTNGP12.phx.gbl...
hi,
I created web page ( .aspx) then i imported datagrid on that page with
dataset. But when i launch the page on web server the datagrid is
invisiable. Can someone help me how i can make it visible when launch on web server.

regards,

Sam

Nov 15 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.