Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What the heck am I missing?
Message
 
À
22/01/2003 14:33:35
Gary Otte
California Youth Authority
Sacramento, Californie, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Installation et Configuration
Divers
Thread ID:
00744424
Message ID:
00744494
Vues:
10
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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform