Answer Questions
DawnJ How to check null in Datagrid
I have a column in Datagrid , and I want to check before save, actually I want that if the column is null , then place a 0 here . Could anyone kindly help IF that works for mark my post as correct answer. You need to write the Row Validating event of the data grid. Let me know if you have any questions. Private Sub DataGridView1_RowValidating( ByVal sender As System.Object, ByVal e ...Show All
MightyDubCats combining the eventHandlers for a RAD databound datagridView
hiya, I notice that there are a few different eventHandlers that I should use when I need to grab data that has been updated in a datagridView, eg: 1) cell end edit 2) rows added 3) rows removed etc, In these handlers, I always call the SAME UPDATE method. Can I combine these handlers, so that I only call the UPDATE method in a SINGLE place It's no major hassle either way, but it would be nice if I could build this functionali ...Show All
Al_Robson When I publish my sample 'Personal Website' to my Windows Server 2003 Enterprise Ed. I get this error...
The CodeDom provider type "Microsoft.VJSharp.VJSharpCodeProvider, VJSharpCodeProvider, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" could not be located. I have .NET Framework 2.0 installed, and setup in the properties for the web. I also have installed SQL Server 2005 on my Windows Server 2003. I cannot find any help on the web so I am hoping somebody here might have the answer. I am very new to .NET programming so forg ...Show All
gavrilenko_s CancelButton problem
Button2 is the CancelButton, the Click code is simply Me.Close Even if I set DialogResult to None for Button2, this setting is changed to Cancel when I display the Form in Design mode and hit Button2. Running the application: When hitting Esc, a RaceOnRCWCleanup error is being activated. Clicking Button2 makes the Form close without problems. Any clues Thanks, I believe you are right about COM objects making t ...Show All
webchetan Will someone please respond!!!System.NullReferenceException
I installed and compiled the source on my server at work and everything works fine if I install the downloadable client msi and change the cfg file to point to my server . If however I compile the client source into a client setup&nb ...Show All
v-chakri CellBeginEdit is fired after moving focus to a DataGridViewCheckbox cell
My application sets a status flag if the user starts editing data in a datagridview. So I use the CellBeginEdit event and it works fine for dgvtextboxes, dgvcomboboxes, etc. But now I have a dgvcheckboxcolumn and found out, that the event is fired just after entering the cell by keyboard or mouseclick. Additionaly the property "isInEditMode" is true during the cellvalidating event for the cell. Is this the correct behaviour by de ...Show All
itmik3 Crystal Reports parameters in a calling form
Hi Can somebody please explain to me the relationship between parameters created in the code behind a VB.Net button on a form, and the parameters created in a Crystal Report that is 'fired' by the button. Let me explain. I had a Crystal Report that& ...Show All
AlanuB How to set the DateTimePicker background color?
Hello, I have a simple newbie question: How can I set the background of a DateTimePicker control. I have tried several things but the backcolor doesn't change. I can set all colors of the popup calendar but not the background color of the " ...Show All
Richard Browne application-wide variable?
Hello, Sorry for the newbie question, I'm new to windows forms programming. How can I use application-wide variables I want to retreive the active-directory username of the user starting the program. This var I want to store application-wide, but I can't see ...Show All
dipple Getting Reference to an existing Control's object @ runtime ?
hi all In particular I want to get the reference of a control dynamically based on the Control’s Name, I’ve control name and I want to get the reference of it so that I can disable or do any operation on that control at runtime. UserControl has one method GetContainerControl() it is returning IContainerControl But how do I get my desired control from this list. Or do we have any other method Thanks! Regards Karthikeyan ...Show All
Ruben Figueroa Bind to IDictionary
I have name/value pair of data (like Flash AsociativeArray or java HashMap): Hashtable row = new Hashtable(); row.Add("name", "Wilson"); row.Add("age", 22); textBox.DataBindings.Add(new Binding("name", row, "name")); If I want to bind a this to& ...Show All
Vadim Startup Performance
I am having troubles with the inital startup performance of an applicaiton I recently wrote and was wondering if anyone has any suggestions. My applicaiton is a standard datatbase application that populates two list boxes and a third-part schedule view contro ...Show All
Brian Ekins Date Time Picker
Hi everyone, I am using a windows application where I use a date time picker. what is the event raised when I click on the date time picker so I see the calendar. thanks Thx Rosanna, two years later and you solved another desparate programmer's unsolvable problem, it works GREAT Rgds Christo Thanks Roxana, what really I want is the following: I have a textbox ...Show All
D_ FindControl.
Hi everyone, Does anyone know what would be the similar of FindControl method from Web library to from Windows.Forms library I need to get what controls do I have inside a panel, like TextBox, etc. Thanks in advancing. Doria You're welcome! Only click in th yes button, please! Could you give to me a simple example about what do you mean Thanks, Doria Guess ...Show All
hotmail.com AppUpdater without directory browsing enabled
Just started using the AppUpdater, and it's very cool. But I'd like to use it with a webhost running linux. I haven't been able to get it working properly. The AppUpdater successfully downloads the manifest off the server, but then doesn't ever down ...Show All
