Can anyone tell me what I"m doing wrong that is making all the tutorials
provided with VS useless?
I'm using C#...
Thanks,
glenn
Best regards,
Sergey Bogdanov
http://www.sergeybogdanov.com
Can you please confirm that there is no other way to accomplish this? Is
there another component out there that actually has been designed to work
that I can purchase? I don't mind buying something if it works.
thanks
glenn
"Sergey Bogdanov" <sergey....@gmail.com> wrote in message
news:uA45NDUE...@TK2MSFTNGP14.phx.gbl...
DataGridTableStyle dgts = new DataGridTableStyle();
void AddTBColumn(string fieldName, string header, int width)
{
DataGridColumnStyle c = new DataGridTextBoxColumn();
c.MappingName = fieldName;
c.HeaderText = header;
c.Width = width;
dgts.GridColumnStyles.Add(c);
}
...
dgts.MappingName = "TableName";
AddTBColumn("Field1", "Header1", 100);
AddTBColumn("Field2", "Header2", 100);
...
dataGrid1.TableStyles.Add(dgts);
Also you may consider SourceGrid:
http://www.devage.com/SourceGrid/SourceGrid2_EN.html
Thanks,
glenn
"Sergey Bogdanov" <sergey....@gmail.com> wrote in message
news:ebSMJcZE...@TK2MSFTNGP10.phx.gbl...
Thanks for the help...
glenn
"glenn" <ghan...@softeksoftware.com> wrote in message
news:OKo38$dEFHA...@TK2MSFTNGP12.phx.gbl...