Results 1 to 2 of 2

Thread: dbgrid control can anyone...please

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2000
    Posts
    103

    Unhappy

    i have never used this control before but can anyone please
    give me some sample code to work with i want to
    open a sql server database and using my sql query extract information and format it then display it in the dbgrid control.in three different fields
    date,contact ,action then also be able to edit these fields and add new information to them which updates the sql server
    help please help me.!!



  2. #2
    Lively Member
    Join Date
    Aug 2000
    Posts
    125
    you need no code - just put a Data Control and a DBGrid on the form and start setting properties

    SQL statement will go in the Data RecordSource

    custom properties will help you bind the 3 fields you want
    to add a column:
    right click on control and choose edit
    the right click on control again and choose append

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width