I'm not sure this is the right forum,but I thought I'll give it a try,since not getting answers from DevExpress support center.
I'm using DevExpress GridView for winforms applications. Also using VS2010 and Linq to SQL.
My grid view is binded to a LINQ table which represent a table in my database.
Let say I have a Person class with two properties - FirstName and LastName. These two properties are persistent. What I'm trying to do is to add a third property which will not be persistent and called FullName = LastName + FirstName. This is working fine and the grid display the full name correctly. My problem is when trying to filter values using the filter buttons in the column header,the dropdown list is empty...
When making FullName saved in the database - everything is OK. Can anyone save me?
Can you override some kind of grid_OnFilter event? There would be just added filter for both FirstName and LastName. But really whole idea for that grid is wrong. Why? What happend whe you will have 1000, 10000, or 1000000 records? Grid will fetch all of them filter, sort and then show. More records then more time this will take.
The code under the loadDataToolStripMenuItem works just fine. I’m creating a CheckedListBox, populating it, then creating (adding) a TabPage, and placing the CheckedListBox on the new tab. Problem is the created CheckedListBox AvailableDataList is not accessible in the button4_Click routine. I don’t know how to make it public throughout the form. Can someone help? Thanks!
How do you programatically open a file in c# to append?
I tried searching online for an example and so far I have not found anything.
There is System.IO.StreamWriter and there is System.IO.StreamReader but there is no StreamAppend. Is there some way to use StreamWriter without overwritting the content of the existing file? Is there some way to use System.IO.Stream with some sort of appending criteria?