Delphi Pages Forums

Delphi Pages Forums (
-   DB Tools (
-   -   SQL Table data on label control (

sktamrkar 02-02-2017 03:43 AM

SQL Table data on label control
GM Experts,
Plz guide how to display sql table data on label control.
In detail, i have created a database in sql server 2008 with one table. I want to retreive data to label on GUI on button click. Plz give me code.

Sandeep Kumar

Norrit 02-02-2017 08:20 AM

A full table in 1 label?

Single column from single row could be something like

Label1.Caption := Table1.FieldByName('fieldname').AsString();

All times are GMT. The time now is 04:40 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.