The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
My question is:
How do I update a value in my dataset to Null.
Example: I want to ovverride the Customers name with NULL.
So then I can use this:
drI("PropInspectionDate") = TextBox22.Text
Instead of having to do this:
If Not (TextBox22.Text) Is DbNull.Value Then drI("PropInspectionDate") = TextBox22.Text
Please if you can advice. Thank you
ADAdministrator Syncfusion Team January 31, 2003 04:38 PM UTC
just do this:
If Not (TextBox22.Text) Is DbNull.Value Then
drI("PropInspectionDate") = TextBox22.Text
else
drI("PropInspectionDate") = DbNull.Value
End if
> My question is:
> How do I update a value in my dataset to Null.
> Example: I want to ovverride the Customers name with NULL.
>
> So then I can use this:
> drI("PropInspectionDate") = TextBox22.Text
>
> Instead of having to do this:
> If Not (TextBox22.Text) Is DbNull.Value Then drI("PropInspectionDate") = TextBox22.Text
>
> Please if you can advice. Thank you