10
Answers

I need to Generate print option program

jaya prakash

jaya prakash

11y
821
1
Hello sir,

I am trying to generate print . steps are as follows

1.I created one billing project in dot-net 3.5 version using c sharp

2.After search result of customer, that report should print this is my task

3.I have tried so many techniques

4.I installed visualbasic powerpacks vs 3.0 also installed in local system where application created,then i created setup file

5.when i am trying to install another system its asking that visual basic vs 3.0 file missing  even though i installed same file into another system also

6.please send me the successfull code for print option
Answers (10)
1
Jignesh Trivedi

Jignesh Trivedi

NA 61k 14.2m 10y
hi,

This is nothing but JSON string object. you can convert it to the object using System.Web.Script.Serialization.JavaScriptSerializer class.

like

string json = "[{\"url\":\"https://www.filepicker.io/api/file/xyz\",\"filename\":\"image.jpg\",\"mimetype\":\"image/jpeg\",\"size\":10006,\"isWriteable\":true},{\"url\":\"https://www.filepicker.io/api/file/lmn\",\"filename\":\"image2.jpg\",\"mimetype\":\"image/jpeg\",\"size\":45998,\"isWriteable\":true},{\"url\":\"https://www.filepicker.io/api/file/stu\",\"filename\":\"image3.jpg\",\"mimetype\":\"image/jpeg\",\"size\":98071,\"isWriteable\":true}]";
var objects = new JavaScriptSerializer().Deserialize<dynamic>(json);

string url = objects[0]["url"];

hope this will help you.
Accepted
0
piya p

piya p

NA 84 31.6k 10y
Hey thank you very much its working properly..

0
piya p

piya p

NA 84 31.6k 10y
"[{\"url\":\"https://www.filepicker.io/api/file/xyz\",\"filename\":\"image.jpg\",\"mimetype\":\"image/jpeg\",\"size\":10006,\"isWriteable\":true},
{\"url\":\"https://www.filepicker.io/api/file/lmn\",\"filename\":\"image2.jpg\",\"mimetype\":\"image/jpeg\",\"size\":45998,\"isWriteable\":true},
{\"url\":\"https://www.filepicker.io/api/file/stu\",\"filename\":\"image3.jpg\",\"mimetype\":\"image/jpeg\",\"size\":98071,\"isWriteable\":true}]"

are my urls
0
Jignesh Trivedi

Jignesh Trivedi

NA 61k 14.2m 10y
hi,

Is there any separator between all urls?
can you please share url string what you get from youtube what is your expected result?