ndevriendt
Programmer
Hello
I write a program in Visual Basic and work with the Control True DB Grid. With this True DB Grid I have 2 problems.
My first problem is: My grid have two columns. I want that the second column
is right aligned. I have set the alignment properties of the column on the right.
But when I select a record only the selected record is shown at the left side instead of the right side and this only for the current record.
Does somebody have an answer on this ?
My second problem is with dates.
The data that is showned in the grid is the result
of a select statement of SQL Server:
select description,from_date,to_date,Price from Tarif
In the grid he shows me the dates in the format MM/dd/yyyy in stead of dd/MM/yyyy. How can I show this in the Grid in the format dd/MM/yyyy.
Can somebody help me with this
Thank you for your time and answer
Devriendt Nico
I write a program in Visual Basic and work with the Control True DB Grid. With this True DB Grid I have 2 problems.
My first problem is: My grid have two columns. I want that the second column
is right aligned. I have set the alignment properties of the column on the right.
But when I select a record only the selected record is shown at the left side instead of the right side and this only for the current record.
Does somebody have an answer on this ?
My second problem is with dates.
The data that is showned in the grid is the result
of a select statement of SQL Server:
select description,from_date,to_date,Price from Tarif
In the grid he shows me the dates in the format MM/dd/yyyy in stead of dd/MM/yyyy. How can I show this in the Grid in the format dd/MM/yyyy.
Can somebody help me with this
Thank you for your time and answer
Devriendt Nico