Re: StringGrid

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Tony Drake (drake_at_usa_._net_)
Date: 02/25/04


Date: Wed, 25 Feb 2004 11:54:57 GMT

LOL

As a delphi programmer moving to C#, the string grid, and such 'super'
grids appear a lot more powerful then the datagrid.

See the following two sites:
http://www.delphi-gems.com/VirtualTreeview/VT.php
http://www.tmssoftware.com/advgrid2.htm
Both brilliant, and one free!!!! (he's thinking of porting it to c#).

It's hard to put my finger on it, but in delphi land, we moved away
from tying data to forms years ago, and moved to more 'abstract'
methods. All the ado.net stuff I see seems to be stuck in 2-tier land
(I might have not read the right books/web sites)

I'm very new the C# (< month and loving it), but the general level of
components avaliable seem very basic. The type of thing we could do
with the stringgrid family of components are things such as a 'mixed
tree/grid' - banding, merged cells, owner draw etc etc see very hand,
or not supported in most grid examples. I might not know how to use
the datagrid, but the propeties are not there,

I just love how people assume 'their' language is the best, with the
best features etc etc.

Oh, and by the way I've moved to C# not because delphi cannot do
everything I need, it because of perceptions like this, and one has to
eat, so we delphi guys can't fight it anymore.

Looking foward to finding out how to handle non-data bound
unstructured strings using a mix tree/grid in one 'grid'..... ;-)

Oh and do remember the guy who architected delphi was the atchitect of
C# - C# is like Delphi with a 'C++/Java' syntax to me!!

tony
ekard software
express enterprise software

"Miha Markic [MVP C#]" <miha at rthand com> wrote:

>Hi Jon,
>
>AFAIK string grid is a grid where all cells represent a string or text -
>something like DataGrid but less powerful.
>I think he might use DataGrid instead.
>
>--
>Miha Markic [MVP C#] - RightHand .NET consulting & software development
>miha at rthand com
>www.rthand.com
>
>"Jon Skeet [C# MVP]" <skeet@pobox.com> wrote in message
>news:MPG.1a9be587ead87f5898a15e@msnews.microsoft.com...
>> Hector Martinez <anonymous@discussions.microsoft.com> wrote:
>> > In C++ Builder and Delphi we can use something know as "StringGrid", I
>> > can't find something like this in Visual C#.
>> >
>> > Can any one help me!!!!!!!!!!!!!
>>
>> I'm not familiar with C++ Builder or Delphi (and I suspect many other
>> posters won't be either) - could you tell us what a StringGrid is? Tell
>> us what you actually want to do, rather than how you'd do it in C++
>> Builder :)
>>
>> --
>> Jon Skeet - <skeet@pobox.com>
>> http://www.pobox.com/~skeet
>> If replying to the group, please do not mail me too
>
>



Relevant Pages

  • Re: Declaring the name of a grid
    ... Dim dgTemp As New DataGrid ... > to be able to do things to each grid. ... > so that I come up with dgOne. ... > 'Datasource" on type 'String' not found. ...
    (microsoft.public.dotnet.framework.aspnet.datagridcontrol)
  • Re: reading variables from string similar to C function sscanf
    ... variables from a string just the same way you use readln to read ... Delphi probably has such a function in a library somewhere - I don't ... searching for those lines starting with the word GRID. ...
    (comp.lang.pascal.borland)
  • Re: StringGrid
    ... > grids appear a lot more powerful then the datagrid. ... Is this a stringgrid provided with Delphi or a derived 3rd party component? ... > or not supported in most grid examples. ...
    (microsoft.public.dotnet.languages.csharp)
  • Textbox Problem in DataGrid1_UpdateCommand
    ... Im using a simple Datagrid in a C# VS 2002 Webapplication. ... But the String I write to Grid was "NewString". ...
    (microsoft.public.dotnet.framework.aspnet.datagridcontrol)
  • Textbox Problem in DataGrid1_UpdateCommand
    ... Im using a simple Datagrid in a C# VS 2002 Webapplication. ... But the String I write to Grid was "NewString". ...
    (microsoft.public.dotnet.framework.aspnet)