small question
am 11.01.2008 19:47:01 von deepak
Hi
i want to write the follwoing in vb.net in asp.net.How to write it?
Cuurently i m using the following code
Function GetDictionaryValues()
Dim strmread As StreamReader
Dim str_response As String
Dim sxp_getdictionaryvalues As String
Dim objInProc As Object
Dim dictionayID As String = "80"
sxp_getdictionaryvalues = " "
sxp_getdictionaryvalues = sxp_getdictionaryvalues &
""
sxp_getdictionaryvalues = sxp_getdictionaryvalues & " - " &
dictionayID & " "
sxp_getdictionaryvalues = sxp_getdictionaryvalues &
" "
sxp_getdictionaryvalues = sxp_getdictionaryvalues &
" "
but its giving me 50 and not "50" i.e.
in sxp_getdictionaryvalues variable
which is wrong.Kindly help me
Thanks,
Deepak
kr_deepak123@hotmail.com
Re: small question
am 11.01.2008 19:58:54 von George Ter-Saakov
1. You have 80 everywere (Dim dictionayID As String = "80"). How do you
expect to get 50?
2. do sxp_getdictionaryvalues = sxp_getdictionaryvalues & " - """ &
dictionayID & """ "
notice 2 double qoutes after and before
George
"deepak" wrote in message
news:E6F95881-80D3-44EA-9CF3-093103C73F6A@microsoft.com...
> Hi
> i want to write the follwoing in vb.net in asp.net.How to write it?
>
>
>
>
>
>
>
> Cuurently i m using the following code
>
> Function GetDictionaryValues()
>
> Dim strmread As StreamReader
> Dim str_response As String
> Dim sxp_getdictionaryvalues As String
>
> Dim objInProc As Object
> Dim dictionayID As String = "80"
>
> sxp_getdictionaryvalues = " "
> sxp_getdictionaryvalues = sxp_getdictionaryvalues &
> ""
> sxp_getdictionaryvalues = sxp_getdictionaryvalues & " - " &
> dictionayID & " "
> sxp_getdictionaryvalues = sxp_getdictionaryvalues &
> " "
> sxp_getdictionaryvalues = sxp_getdictionaryvalues &
> " "
>
> but its giving me 50 and not "50" i.e.
>
>
>
>
>
>
>
> in sxp_getdictionaryvalues variable
>
> which is wrong.Kindly help me
>
> Thanks,
> Deepak
> kr_deepak123@hotmail.com
>
Re: small question
am 11.01.2008 19:58:54 von George Ter-Saakov
1. You have 80 everywere (Dim dictionayID As String = "80"). How do you
expect to get 50?
2. do sxp_getdictionaryvalues = sxp_getdictionaryvalues & " - """ &
dictionayID & """ "
notice 2 double qoutes after and before
George
"deepak" wrote in message
news:E6F95881-80D3-44EA-9CF3-093103C73F6A@microsoft.com...
> Hi
> i want to write the follwoing in vb.net in asp.net.How to write it?
>
>
>
>
>
>
>
> Cuurently i m using the following code
>
> Function GetDictionaryValues()
>
> Dim strmread As StreamReader
> Dim str_response As String
> Dim sxp_getdictionaryvalues As String
>
> Dim objInProc As Object
> Dim dictionayID As String = "80"
>
> sxp_getdictionaryvalues = " "
> sxp_getdictionaryvalues = sxp_getdictionaryvalues &
> ""
> sxp_getdictionaryvalues = sxp_getdictionaryvalues & " - " &
> dictionayID & " "
> sxp_getdictionaryvalues = sxp_getdictionaryvalues &
> " "
> sxp_getdictionaryvalues = sxp_getdictionaryvalues &
> " "
>
> but its giving me 50 and not "50" i.e.
>
>
>
>
>
>
>
> in sxp_getdictionaryvalues variable
>
> which is wrong.Kindly help me
>
> Thanks,
> Deepak
> kr_deepak123@hotmail.com
>
Re: small question
am 14.01.2008 09:42:00 von deepak
ok i got it in this way
sxp_getdictionaryvalues = sxp_getdictionaryvalues & "
dictionayID & """> "
which gives me
> >
> >
> >
> >
as what i wanted.
Thanks a lot George.My hotmail is kr_deepak123@hotmail.com and skype:
kr_deepaK123@SKYPE.COM and i want to be my frind and to add me also for
future technical questions-discussions and help .Kindly tell me your hotmail
id...
Thanks,
Deepak
+919886735837
"George Ter-Saakov" wrote:
> 1. You have 80 everywere (Dim dictionayID As String = "80"). How do you
> expect to get 50?
>
> 2. do sxp_getdictionaryvalues = sxp_getdictionaryvalues & " - """ &
> dictionayID & """ "
> notice 2 double qoutes after and before
>
> George
>
>
>
>
>
> "deepak" wrote in message
> news:E6F95881-80D3-44EA-9CF3-093103C73F6A@microsoft.com...
> > Hi
> > i want to write the follwoing in vb.net in asp.net.How to write it?
> >
> >
> >
> >
> >
> >
> >
> > Cuurently i m using the following code
> >
> > Function GetDictionaryValues()
> >
> > Dim strmread As StreamReader
> > Dim str_response As String
> > Dim sxp_getdictionaryvalues As String
> >
> > Dim objInProc As Object
> > Dim dictionayID As String = "80"
> >
> > sxp_getdictionaryvalues = " "
> > sxp_getdictionaryvalues = sxp_getdictionaryvalues &
> > ""
> > sxp_getdictionaryvalues = sxp_getdictionaryvalues & " - " &
> > dictionayID & " "
> > sxp_getdictionaryvalues = sxp_getdictionaryvalues &
> > " "
> > sxp_getdictionaryvalues = sxp_getdictionaryvalues &
> > " "
> >
> > but its giving me 50 and not "50" i.e.
> >
> >
> >
> >
> >
> >
> >
> > in sxp_getdictionaryvalues variable
> >
> > which is wrong.Kindly help me
> >
> > Thanks,
> > Deepak
> > kr_deepak123@hotmail.com
> >
>
>
>