Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What the heck am I missing?
Message
 
To
22/01/2003 14:33:35
Gary Otte
California Youth Authority
Sacramento, California, United States
General information
Forum:
ASP.NET
Category:
Installation, Setup and Configuration
Miscellaneous
Thread ID:
00744424
Message ID:
00744494
Views:
9
You probably need to DataBind() either the page or the DataGrid...

+++ Rick ---

>I installed the same version of Visual Studio .Net that I have been using at work for the past several months on my new home computer (running WinXP Pro). I've also installed IIS and MSDE on my home computer.
>
>I created a simple Web form with a label, a textbox and a grid, with the textbox and grid bound to fields from a SQL server datasource. I'm able to fill the dataset and preview the data from the IDE, but when I run the Webform, only the label appears (and the code "Datagrid1.Databind()" is in the PageLoad event, after filling the dataset). The textbox and grid do not appear, although the textbox will appear if I enter a literal in the "Text" property from the designer instead of binding it to a field from the dataset.
>
>I encounter no runtime errors, and am unable to run in debug mode (which I assume is a separate problem to be resolved later).
>
>I'd appreciate any comments.
>
>TIA,
>Gary
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform