473,320 Members | 2,024 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Problem using datagrid on a web page

Hello:

I get a blank page when I tried to use a datagrid on a web page that is
bound to a dataset. The dataset ahs 1 table and 6 rows in that table.

Please help.

venki
Nov 19 '05 #1
4 866
Venki,

Do you have DataGrid1.DataBind() after you set the datasource?

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"vvenk" <vv***@discussions.microsoft.com> wrote in message
news:CD**********************************@microsof t.com...
Hello:

I get a blank page when I tried to use a datagrid on a web page that is
bound to a dataset. The dataset ahs 1 table and 6 rows in that table.

Please help.

venki

Nov 19 '05 #2
Yes.

"S. Justin Gengo" wrote:
Venki,

Do you have DataGrid1.DataBind() after you set the datasource?

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"vvenk" <vv***@discussions.microsoft.com> wrote in message
news:CD**********************************@microsof t.com...
Hello:

I get a blank page when I tried to use a datagrid on a web page that is
bound to a dataset. The dataset ahs 1 table and 6 rows in that table.

Please help.

venki


Nov 19 '05 #3
Justin:

I apologize; I thought I did and found that I had commented that statement.
It works now.

"S. Justin Gengo" wrote:
Venki,

Do you have DataGrid1.DataBind() after you set the datasource?

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"vvenk" <vv***@discussions.microsoft.com> wrote in message
news:CD**********************************@microsof t.com...
Hello:

I get a blank page when I tried to use a datagrid on a web page that is
bound to a dataset. The dataset ahs 1 table and 6 rows in that table.

Please help.

venki


Nov 19 '05 #4
Venki,

Easy to do...

I'm glad you found it!

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"vvenk" <vv***@discussions.microsoft.com> wrote in message
news:8B**********************************@microsof t.com...
Justin:

I apologize; I thought I did and found that I had commented that
statement.
It works now.

"S. Justin Gengo" wrote:
Venki,

Do you have DataGrid1.DataBind() after you set the datasource?

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"vvenk" <vv***@discussions.microsoft.com> wrote in message
news:CD**********************************@microsof t.com...
> Hello:
>
> I get a blank page when I tried to use a datagrid on a web page that is
> bound to a dataset. The dataset ahs 1 table and 6 rows in that table.
>
> Please help.
>
> venki


Nov 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Joe Bloggs | last post by:
I am trying display the contents of a table in a web page, select certain rows from that table and then display the fields that I have selected (now table columns) as text in a Label object....
3
by: vinayak | last post by:
Hi I am displaying data in Datagrid in ASP.NET with Edit/Update functionality for each row. On the same page I have 2 Button controls which submits the request to server. These button controls...
2
by: Steve Chatham | last post by:
I use the following code: Private Sub RbtnExport_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RbtnExport.SelectedIndexChanged Dim sFile As String =...
4
by: The Alchemist | last post by:
I am having a problem with a dynamically-generated Datagrid. It is important to point out that this problem does not exist with a design-time created Datagrid, but only with a dynamically generated...
0
by: Chris | last post by:
Ok, I think this is an easy one - I've just been staring at it too long. I'm creating a datagrid in asp.net/c# from scratch, i.e. nothing at all in the aspx page. I'm also creating all the...
7
by: Girish | last post by:
OK.. phew. Playing with data grids for the past few days has been fun and a huge learning experience.. My problem. I have a requirement to display a gird with a gird. Within the embedded grid,...
3
by: jlotmar | last post by:
I am currently experiencing a problem whereby browser caching seems to be causing my page to be invalid. I am using a standard DataGrid WebControl which is bound to a DataView object. I use a...
9
by: rn5a | last post by:
A Form has a DataGrid which displays records from a SQL Server 2005 DB table. Users can modify the records using this DataGrid for which I am using EditCommandColumn in the DataGrid. This is the...
0
by: rupalirane07 | last post by:
Both grids displays fine. But the problem is only parent datagrid sorting works fine but when i clik on child datagrid for sorting it gives me error: NullReferenceException error Any...
1
by: Brock | last post by:
Thanks in advance... (you can see a screenshot of what my form looks like currently at http://www.juggernautical.com/DataGrid.jpg - the Datalist is super-imposed in 'design view' but the DataGrid...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.