CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Posts
    2

    thanks very much help for datagrid control

    dear everyone :
    how to use datagrid in visual c++ , give me some advices thanks and \
    do you have samples .or where can find the samples thanks very much.




  2. #2
    Guest

    Re: thanks very much help for datagrid control

    In your project, select CFormView as base class for the view class if you want the grid in a view. Bring the Microsoft data control(data1) to the dialog. Set datasource to a data source (you had created earlier using control panel). Set Recordsource property of data1. Then bring datagrid to the dialog. Set grid databound to data1. In VB, you can set properties for individual column at design time. You can manipulate columns properties at run time in the code in VC. Visual Basic has documentation.



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

Featured