Left function not working

  • Thread starter Thread starter mamin123
  • Start date Start date
M

mamin123

Hi,
When I add following to my code it is not working.

pSource = Left(pSource, 49)

Left function is causing this issue and I am not sure what is
incorrect. I do not get any error when I compile this code but when I
execute the code it is not giving any result.

I am importing following libraries

Imports System.Web.SessionState
Imports Toyscamp.shoppingcart.shoppingcartdb
Imports ccauthorization.ccAuthorize
Imports System.Data.SqlClient
=============================
I read somewhere that i have to add
Imports System.VisualBasic but it is giving me syntax error.

I am using VB.Net

Thanks
 
When I add following to my code it is not working.

pSource = Left(pSource, 49)

Left function is causing this issue and I am not sure what is
incorrect. I do not get any error when I compile this code but when I
execute the code it is not giving any result.

I am importing following libraries

Imports System.Web.SessionState
Imports Toyscamp.shoppingcart.shoppingcartdb
Imports ccauthorization.ccAuthorize
Imports System.Data.SqlClient
=============================
I read somewhere that i have to add
Imports System.VisualBasic but it is giving me syntax error.

I am using VB.Net

Could you post a short but complete program which demonstrates the
problem?

See http://www.pobox.com/~skeet/csharp/complete.html for details of
what I mean by that.
 
Back
Top