Delphi Programming Database Date Display

When you use the DBGrid control to display Datatime when the year is 2-bit, but we enter 2000 after the need to display the date is 4 digits, such as: 1998, 2001. What if the field in the database only shows 4 digits after 2000 years? Let's let the

Write installation program with Delphi

When you have completed the development of an application, you also need to make a standardized installation program for the software, this is the last step in the program design, but also a very important step, because running the installer is

Calculation of mathematical expressions-how to catch an exception

In the process of writing a program, there will inevitably be a variety of situations, some of which may not be what we want. Some people may use a lot of judgment to strictly control the program so that it does not appear abnormal situation, but

The veil of the network game hangs

A few years ago I saw others playing online games with the plug-in, as a programmer in my heart is really uncomfortable, want to find out what is going on in the end. Took some to study, small have experience, take out and share with everyone, plug

A brief analysis of XML and its application in Delphi

Absrtact: With the development of information society and the requirement of data exchange between different systems, XML will become the standard and transmission format for data exchange between different systems. This paper introduces how to

Delphi realizes automatic merging of same type document

1. Introduction Recently, bought a 900 English learning CD-ROM, because there is no corresponding written material, I would like to own the CD documents extracted, can open a CD, found that although each sentence has a corresponding detailed text

Delphi 8 for. Net

2003 is already the year when. NET began to become truly pervasive, and it has been seen that more than N software products are using. NET development, but it seems that most are still limited to asp.net applications as an alternative to ASP

Delphi programming limits the number of database records

Very partial door skills, few people will need to limit the records of the database, but still listed for your reference. If the database allows users to enter only 3 records, then we can add a judgment statement to the Table1 BeforeInsert event:

Conversion between different databases

SQL SERVER data conversion with Access, Excel Database administrators familiar with SQL SERVER 2000 know that their DTS can import exports of data, but we can also use Transact-SQL statements for import and export operations. In Transact-SQL

Delphi realizes accessing images in the database

This example shows how to access an image file in a database. Add a Tlistbox component, a timage component, and a ttable component to the form, and the design-complete main interface is shown in Figure 1. Figure 1 Main interface This system

Use Delphi design to rob 30 games

"Rob 30" is a game of Chinese folk. The rules of the game are: two people from 1 start off, each person can add 1 or 2, who first report 30, who is the winner. A simple game, if you want to win, you only have mastered the mysteries of the line. But

Delphi Writing Test

1, what is RTL70.BPL? What's the use? 2, Delphi package relative DLL have what advantage? 3, the following record (structure) variables in memory accounted for how many bytes?  type   a = packed record    v1: Byte;    v2: Word;    v3: string[16]; 

Research on development technology of Delphi.NET multilayer application system

Since last week, a friend asked me why I did not update the blog for a long time, in fact, I think I wrote a blog has been very diligent, this more than 10 days did not update the blog is taken for granted, I began to travel again. Last week, Taiwan

Delphi 20 rules for object-oriented programming

Rule one: Create a cell for each class (one class,one unit) Always keep this in mind: the Private (private) and protection (protected) portions of a class are hidden only for classes and procedures (procedure) in other cells. So, if you want

How to control the repetitive input and error of key fields in Delphi

Here is an example to illustrate: in ' C:\ ' There is a database ' renshi.dbf ', field: ' Bianhao '; ' xingming ', type is character type, the key field ' Bianhao ' is indexed, and the database connection is established. We use controls DBNavigator1

The size of the form is restricted in Delphi

The friend who has used Delphi will notice the top window of Delphi itself, When it takes up only a small part of the screen and how it is implemented, see the following description: 1 Add the following line to the form's private declaration

Delphi Basic Development Skills

[DELPHI] Network Neighborhood copy files uses shellapi; copyfile(pchar('newfile.txt'),pchar('//computername/direction/targer.txt'),false); [DELPHI] produces mouse drag effect Implemented through MouseMove events, DragOver events, EndDrag events,

Fully aligned coding and decoding: Cantor expansion (with complete code)

One, Cantor expansion: all arranged to a natural number of dual-shot x=an* (n-1)!+an-1* (n-2)!+...+ai* i-1 (!+...+a2*1!+a1*0!) Ai for integers, and 0 Scope of application: full arrangement without repeating elements Two, the whole arrangement of

UVa 1225 Digit Counting: Enumeration

1225-digit counting Time limit:3.000 seconds Http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem &problem=3666 n Complete code: /*0.012s*/ #include int c[10000][10]; int main ()

UVa 571 jugs (Idea question)

571-jugs Time limit:3.000 seconds Http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem &problem=512 Ideas: Since it is special judge, it is possible to construct a feasible solution. Conclusion: If

Total Pages: 64722 1 .... 44570 44571 44572 44573 44574 .... 64722 Go to: GO

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.