Questions tagged as 'vb.net'

1
answer

Insert problem using Visual Studio 2013

As you can see in the image, it tells me that I send null in dpi but I have filled these fields correctly in the form Some solution about it In the third image I can see the full picture as I've handled it Insert code...
asked by 25.11.2016 / 14:46
2
answers

TextBox type text to Integer

I would like to insert this form into a DB on sql server. But at the moment as all are txt it does not let me enter through the fields that are whole as I convert it to whole, something like parseint I miss this warning and...
asked by 25.11.2016 / 14:04
1
answer

Obtain dominance of a URL vb.net [closed]

Well I have this problem, I have a url (String): https://www.linkedin.com/?trk=msn-top-ve and I want to get the domain that is: www.linkedin.com I also want to get the domain for the URLs that are: link etc .. I only want the...
asked by 18.11.2018 / 21:45
1
answer

Insert data into a table with the same primary key

Good, I'm doing a screen where I store the payments of some clients, at the moment of inserting, I must put the same client code. I must use the same client id which is the primary key which gave me an error. I could fix it by doing a procedure...
asked by 15.08.2017 / 15:08
1
answer

Translate this vb.net Code to C #

How could I translate this code to C #? If TypeOf (ctrl) Is GridView AndAlso Not DirectCast(ctrl, GridView).HeaderRow Is Nothing Then Dim grid = DirectCast(ctrl, GridView) For i = 0 To (grid.HeaderRow.Cells.Coun...
asked by 14.02.2018 / 15:50
2
answers

Conversion from string "" to type 'Double' is not valid [closed]

Good morning I am trying to add the values of a gridview that I select to a texbox, create the following (see code below) but it returns this error "Conversion from string" "to type 'Double' is not valid." Code Private Sub SumOpcion2 ()...
asked by 23.08.2017 / 13:28
1
answer

Read text, convert to string and make a split in visual basic

Hi, I'm starting visual basic and I wanted to do the following read a file and be able to make a split knowing its delimiter. But in my case the route is going to be the same file running then I do the following: Dim drop() As String = Split(S...
asked by 17.12.2016 / 16:19