Answer Questions
Danech how to populate the treeview from an sql database ??
Hi. I made an sql database and on form1 i have treeview1. The database has 1 table with 3 columns ID ParentID FolderName. Hot to populate the treeview1 on form1_load with nodes from foldername columns Any help will be apreciated. Thx What if a foldername is a child of another foldername What should i do You grab the data, and add it to the treeview. It's ea ...Show All
GSA Call method on owner form
I have a form that uses showdialog to display a smaller form. So Form1 opens Form2. When a user edits the data in Form2 and clicks 'Save', I want to refresh a small section of Form1 that is based on the data edited in Form ...Show All
TSDesignz Collections and Properties
Quick question, right now if I wanna say change all the columns in my datagridview to notsortable, I am itterating through them, but what I am wondering is if there is anyway to set a property on collections of the same items without itterating. I have no idea if this is possible but if it was, I would have to think it would be more efficient. Just interested thanks Arrays and List<T> support ForEach() wh ...Show All
TwinX BindingSource and Deep Properties
Hi, I have class hierchary as follows. City.Province.Country So basically City has a property of type Province called Province and Province has a property of type Country called Country. In addition, each have a property of type string called Name. Now when I drag the City object from the DataSource windows, it binds the label Name perfectly. When I run the project I see the City and Province Name fine but for the Country I see the n ...Show All
sar3000 How to Delete Records from Sorted DataGrid, , Programmatically
I have a Delete button on a form and a datagrid (forms). When I sort the datagrid and run my Delete Routine, I end up deleting with reference from the row number. So if A (which it's absolute positions in 2) is sorted and is now in row 10, when I delete it, it removes which ever was in row 10. How would I get the absolute row position of a row in a sorted datagrid I tried what you wrote, but it does the same t ...Show All
Goran Glisic Canceling DataGridView Selection Change
I want to be able to cancel a row selection in a DataGridView under certain circumstances but there doesn't seem to be an event that allows me to catch the selection change and cancel it, as there is when a user tries to delete a row. Am I missing something Works great. I had thought about Validation but my impression was that it was only for editable grids. Thank you for taking the time to ...Show All
swivel Server Download?
Hi All Can anyone tell me where I can get the server installation The link on the main page doesn't work (or rather isn't a link) Thanks What version of the terrarium will the server be for How much longer will&nb ...Show All
Robert Gruen Low level error handling
Hi, I'd like to hear opinions on the best way to handle low-level errors. By low level I mean things like a referenced DLL or resource file being missing. Am I correct in saying that these will cause an exception before any of your& ...Show All
Ori' BindingSource.Current question
I have a Customer form with a DataGridView, TableAdapter, BindingSource... When I click on a row I open another form to edit the customer. This second form has a DataNavigator with it's BindingSource set to the first forms BindingSource (I pass it to the second form). The controls in second form are also bound using this BindingSource. Everything works. In my second form What I need is to access the current item from the BindingSource. I s ...Show All
Steve Lacey Question about deploying a ClickOnce app manually
Hi,my friends. I have some questions about deploying a clickonce app manually. 1. How to specify a publisher name I consider it is specified in .pfx file. But the vs2005 seems not generate .pfx every time. 2. If I want to specify the app should check for updates after the app starts, and set check periods, how to implement it I do not find any tip in mage.exe's help. Thanks alot! hi,Sameer: 1. Does it have another way to specif ...Show All
Lulu01 Does GridView support hierarchical display? (WinForms)
I'm pretty sure the old DataGrid supported displaying hierarchical data, although I could not figure out how to get it to work when I was using an IList as my datasource (as opposed to a DataSet). Does the new GridView support displaying hierarchical data If so where can I read documentation or view some sample code Thanks, Dylan ...Show All
KLC Merging MenuStrips
How are you supposed to create merge menus using the MenuStrip control in VS2005 Beta 2 I can't successfully get MDI child forms merge with the MDI parent using the merge index, and I'm not sure if I'm just not doing it right or if it is a bug. Can someone please point me in the right direction You are correct that this is a dilema. Any events on the child's File menu are not active in the merged menu, so are ...Show All
Michael Sims a problem in mirrored listview
I've faced a strange problem in the ListView control when I mirror it to support the right-to-left layout. I am talking about .NET 1.1. When a ListView control is mirrored, ListViewItems do the mirroring, but ClomnHeader controls do not, i.e. it kee ...Show All
Wobba String Fuction
Hi ! in VB6 we can use String Function for repeating character string of the length specified, but in vb.net how can we do that. thanks. Check out String.PadRight(Integer, Char). That should do what you need. You ca ...Show All
RRoss PROBLEM: Microsoft.ApplicationBlocks.Data
I'm having a big problem with the DAL that comes with TaskVision and I'm hoping I'm just doing something silly and someone can tell me what I'm doing wrong. I changed TaskVision so I could use SQL Authentication (just changed the dbConn.ConnectionString& ...Show All
