Top "Vb.net" questions

Visual Basic.

VB.NET - If string contains "value1" or "value2"

I'm wondering how I can check if a string contains either "value1" or "value2"? I tried this: If strMyString.Contains("…

vb.net string if-statement contains
How to check for a Null value in VB.NET

I have this: If String.IsNullOrEmpty(editTransactionRow.pay_id.ToString()) = False Then stTransactionPaymentID = editTransactionRow.pay_id 'Check for null value …

vb.net dataset
Convert a string to a datetime

I am developing asp.net site using vb framework 3.5. Im having difficulties converting string data into Date I tried using …

vb.net date asp.net-3.5
Check if a string contains an element from a list (of strings)

For the following block of code: For I = 0 To listOfStrings.Count - 1 If myString.Contains(lstOfStrings.Item(I)) Then Return …

c# vb.net list coding-style performance
handling dbnull data in vb.net

I want to generate some formatted output of data retrieved from an MS-Access database and stored in a DataTable object/…

vb.net dbnull
Null check in VB

All I want to do is check if an object is null, but no matter what I do, if it …

vb.net null runtime-error
Download Excel file via AJAX MVC

I have a large(ish) form in MVC. I need to be able to generate an excel file containing data …

c# jquery asp.net-mvc vb.net export-to-excel
Breaking/exit nested for in vb.net

How do I get out of nested for or loop in vb.net? I tried using exit for but it …

vb.net for-loop nested-loops
Is there a conditional ternary operator in VB.NET?

In Perl (and other languages) a conditional ternary operator can be expressed like this: my $foo = $bar == $buz ? $cat : $dog; …

vb.net operators conditional-operator short-circuiting