Jump to content

how to concatenate


rhishi20
 Share

Recommended Posts

I am working with vb.net and want to upload file. i am using stringbuilder for building sql query.

but not able to properly concatenate following sql statement in vb.net.

 

path = ConfigurationManager.AppSettings.Get("resDeptCommentPath")

 

.Append("actionDescFileName='" & fuActDescFile.FileName & "',actionfilepath='" & path & " " & '" & ViewState("DepartmentName") &"' & "ActionDescription" "',")

 

& represented with green color is the error spot and it gives expresssion expected error.

 

I guess, i am not concatenating things properly.

 

help will be appreciated.

 

note:don't consider .append for second line i have written this code in single line while coding.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...