-
VB.NET DataGrid - HowTo
The below link is to an FAQ that has quite a few answer to common tasks with the DataGrid. Such as adding images into a datagrid, stopping the user from resizing the columns and adding combo boxes to your datagrid, just to mention a few.
Hope this is of use.
http://www.syncfusion.com/FAQ/WinForms/FAQ_c44c.asp
Regards,
Matt.
-
Hey Matt, good link. One item I could not find for VB.net. That is how to create an unbound column with bound columns. The example on the FAQ show it for C#. However, it requires you to create a new column in the actual database. This is not preffered for my app. I need to do a calc on a field from the database then display the result of that calc. Do you know of a way to do this? Thanks!
-
I must admit, I followed this link and then went to the Microsoft Knowledge Database article link, yes it worked did exactly what I wanted to do, congratulations to the person that first provided this link one of the best yet. It's been a life saver!!!
The more I program in VB .Net, the more I realise what a tremendous development system it is and the more I realise how little I know and how much I have to learn.
Speaking of life savers, time and time again contributions here have got me out of a hole and it is always my first point of reference to see if anyone has experienced a similar problem and if so did any contributors come up with an answer, the answer is usually Yes
-
just noticed the post from jstansell, the solution offered for an unbound coplumn is not as awkward as it seems as you can add the data column in your program and then remove it after you have finished, not elegant I know but does solve the problem