bhavna_816 0 Junior Poster

There is a querysting
for example
abc = "<a href=test_table.exe?PFolder=" & oPFolder.Name & "&SFolder=" & sfolder.Name & "&oMails=" & fItem & ">"
s.WriteLine(abc)
this oPFolder.Name and sfolder.Name contains some words with spaces.
suppose oPFolder.Name is Personal Folders and sfolder.Name is Deleted Items.
s is the streamwriter for htm page.
When i go through this querystring it will not go forward after spacesi.e.
the string which is outputted looks like
table.exe?PFolder=Personal
or
table.exe?PFolder=PersonalFolders&SFolder=Deleted
I have tried for "@" before the quotes and the trim function in VB.NET,but both r not working.
Is there any other way to solve this problem?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.