Hi Ramalingam, Saravanan, > I used "WinForm Control Import Wizard" to import winform's DataGrid > component and it works fine, I can see the control and place it on a > form, > but when I tried to put data in it, it does not work.
Why do you want to use ADO.NET data access technology as well as the .NET DataGrid inside a VCL for .NET Form? If you want to show the data from the ADO.NET components, why not use the TADONETConnector and the VCL for .NET TDBGrid instead? (on the VCL for .NET form)... > This code connects to the Database and get the data but it is not shown > in the DataGrid control (TImpDataGrid). I reckon it will work if you put the DataGrid as well as the ADO.NET components on a WinForm instead of a VCL for .NET form... > R.Saravanan Groetjes, Bob Swart -- Bob Swart Training & Consultancy (eBob42.com) Forever Loyal to Delphi Blog: http://www.drbob42.com/blog - RSS: http://drbob42.com/weblog.xml New Delphi 2006 Courseware e-books at http://www.eBob42.com/courseware __________________________________________________ Delphi-Talk mailing list -> Delphi-Talk@elists.org http://www.elists.org/mailman/listinfo/delphi-talk