I have an application with a datagrid with 'Add' buttons on each row. When the user clicks the add button a popup form listing suppliers is displayed. Once a user has selected the supplier details are sent to the database. I then want the popup to close and the main form to refresh so that the...
I have a large table that has many datetime fields. These fields have been entered as 01/01/1900 as default rather than as nulls. I would like to write an update trigger for when the record is updated, to update each of the date fields to be a null should the date be 01/01/1900, otherwise...
I am new to ASP.NET and am building an application with several UserControls. My problems lies when I try and set/return values from the ascx to an aspx page, I get the error: System.NullReferenceException: Object reference not set to an instance of an object
An example of my code to set the...
I wonder if anyone could let me know what are the main advantages / disadvantages of creating a UDT, for example:
Private Type myPerson
strName As String
intAge As Integer
lngHeight As Long
lngWeight As Long
End Type
over declaring these variables separately as below:
Dim...
I am populating a combobox using records from a recordset. However if some of the records do not meet a certain criteria, I would like to enter that particular record with a strikethru.
At present I can only get either, all records with a strikethru or all without, but not a mix.
Any help...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.