Top "Vb.net" questions

Visual Basic.

How do I apply a CSS class to Html.ActionLink in ASP.NET MVC?

I'm building an ASP.NET MVC application, using VB.NET and I'm trying to apply a css class to a …

css asp.net-mvc vb.net html-helper
Set default format of datetimepicker as dd-MM-yyyy

I have a datetimepicker which on loading of windows form shows me format in 'MM-dd-yyyy', as follows: I would like …

c# .net vb.net winforms datetimepicker
Best way in asp.net to force https for an entire site?

About 6 months ago I rolled out a site where every request needed to be over https. The only way at …

c# asp.net vb.net webforms https
Get the generated SQL statement from a SqlCommand object?

I have the following code: Using cmd As SqlCommand = Connection.CreateCommand cmd.CommandText = "UPDATE someTable SET Value = @Value" cmd.CommandText &…

c# vb.net ado.net
HTTP 415 unsupported media type error when calling Web API 2 endpoint

I have an existing Web API 2 service and need to modify one of the methods to take a custom object …

json vb.net asp.net-web-api asp.net-web-api2 http-status-code-415
Differences Between vbLf, vbCrLf & vbCr Constants

I used constants like vbLf , vbCrLf & vbCr in a MsgBox; it produces same output in a MsgBox (Text "Hai" …

vb.net printing constants msgbox
How do I kill a process using Vb.NET or C#?

I have a scenario where I have to check whether user has already opened Microsoft Word. If he has, then …

c# vb.net process kill
How should I cast in VB.NET?

Are all of these equal? Under what circumstances should I choose each over the others? var.ToString() CStr(var) CType(…

.net vb.net casting
How to make String.Contains case insensitive?

How can I make the following case insensitive? myString1.Contains("AbC")

c# .net vb.net string case-insensitive
"Items collection must be empty before using ItemsSource."

I'm trying to get images to display in a WPF ListView styled like a WrapPanel as described in this old …

.net wpf vb.net entity-framework binding