Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Delphi 2005, WebForms and DataGrid

Posted on 2005-04-16
1
Medium Priority
?
227 Views
Last Modified: 2010-04-05
I have been programming in Delphi since it was first released. 2005 seems like a radical shift from the earlier versions.

 I have a Datagrid, Bdpconnection, Bdpdataadapter and a DataSet on a Webform. Everything seems to be connected correctly and I can see the active grid in design mode. The data doesn't show, but the titles appear. The grid shows as 5 rows and "abc" where the text show be. When I run the Webform1.aspx in the browser, nothing shows.

What am I doing wrong?
0
Comment
Question by:CalvinDay
1 Comment
 
LVL 13

Accepted Solution

by:
BlackTigerX earned 500 total points
ID: 13798765
in the page on Load event put

if not (Page.IsPostback)
  DataGrid1.DataBind();
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
How can you see what you are working on when you want to see it while you to save a copy? Add a "Save As" icon to the Quick Access Toolbar, or QAT. That way, when you save a copy of a query, form, report, or other object you are modifying, you…
Enter Foreign and Special Characters Enter characters you can't find on a keyboard using its ASCII code ... and learn how to make a handy reference for yourself using Excel ~ Use these codes in any Windows application! ... whether it is a Micr…
Suggested Courses

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question