sqlsamurai
Programmer
I was messing around with the datasources window, I drug a stored procedure from there onto a form and a lot of stuff created itself automatically.
Here is my question. The Fill method on the TableAdapter looks like this:
and the code created looks like this:
What is this System.Nullable(Of Integer)? How does it work? And what is the significance of them creating a new system.nullable of type integer and then using ctype on the text box? There is a lot going on in-line and I'd like some help decifering it.
THanks
Here is my question. The Fill method on the TableAdapter looks like this:
and the code created looks like this:
Code:
Me.STI50TempTagsTableAdapter.Fill(Me.STI2DataSet.STI50TempTags, New System.Nullable(Of Integer)(CType(PurchaseOrderIDToolStripTextBox.Text, Integer)),
New System.Nullable(Of Integer)(CType(ProductionIDToolStripTextBox.Text, Integer)),
New System.Nullable(Of Integer)(CType(ReturnIDToolStripTextBox.Text, Integer)))
What is this System.Nullable(Of Integer)? How does it work? And what is the significance of them creating a new system.nullable of type integer and then using ctype on the text box? There is a lot going on in-line and I'd like some help decifering it.
THanks