dcsimg

Search:

Type: Posts; User: Winanjaya

Page 1 of 13 1 2 3 4

Search: Search took 1.42 seconds.

  1. Replies
    1
    Views
    282

    PostAsync returns UnAuthorized

    Dear All,

    I am facing strange problem, I am pretty sure with my token (I tried it using Postman)..but it does not work with my C# codes below:

    Env: ASP.NET Core 2.2




    try
  2. Replies
    1
    Views
    246

    need help in json

    Hi,

    I have a _paged_City_Statelist



    _paged_City_State[0].Range="\"city\":\"REDMOND\",\"state\":\"WA\"";
    _paged_City_State[1].Range="\"city\":\"Alex City\",\"state\":\"AL\"";
  3. Replies
    4
    Views
    1,133

    Re: How to HTTP GET Request with a Body?

    finally, I got it!...

    Netframework does not support this capability.. but Net Core does! .. (tested on Net Core 2.2)



    public async void Post([FromBody] string value)
    {
    ...
  4. Replies
    4
    Views
    1,133

    Re: How to HTTP GET Request with a Body?

    finally, I got it!...

    Netframework does not support this capability.. but Net Core does! .. (tested on Net Core 2.2)



    public async void Post([FromBody] string value)
    {
    ...
  5. Replies
    4
    Views
    1,133

    Re: How to HTTP GET Request with a Body?

    I know this is not make sense, but our B2B party requires it..
    I tried to use codes below.. but not working




    List<String> _calcs = new List<String>();
    _calcs.Add("fill_count");...
  6. Replies
    4
    Views
    1,133

    How to HTTP GET Request with a Body?

    Dear All,

    How to HTTP GET Request with a Body?
    some of our B2B Web API requires GET request but with a Body..

    any body please help?

    thanks a lot in advance

    Regards
  7. Need info - postcard / card / coupon drag and drop designer

    Hi,
    I want to have a postcard / card / coupon drag and drop designer features in our ASP.Net project (Net framework 4.6.2).

    Can anybody please give some suggestions, if there is any library or...
  8. Re: how to read SQL server pivot table using C# code?

    this query save my time :)

    sql = "Select Benefit,MVBenefitCategory, [" + insuranceName1 + "],[" + insuranceName2 + "], [" + insuranceName3 + "] From (Select * From...
  9. [RESOLVED] how to read SQL server pivot table using C# code?

    Hello,


    I have SQL pivot query as below:




    string sql = "Select * From (Select c.MVBenefitCategory,b.CompanyName As InsuranceName, MVBenefit_ID as Benefit, " +
    ...
  10. how to get return value of JQuery confirmation dialog from server side code?

    Dear All,

    I have JQuery confirmation dialog function that called by server side code (C#)
    how to get its return value of that function? in this case the return value would be either Yes or No.....
  11. Re: how to avaoid io.***********Exception file name too long

    C:\ReportMailer\TempData\images_ePolicy_1002210615000054.pdf
    D:\ePolicyData\CommissionNote_1002210615000445.pdf

    the longest is only 60 chars

    any comment?
  12. Re: how to avaoid io.***********Exception file name too long

    Hi.the full filename (include drive and folder) is only less than 100 chars. :confused:
  13. how to avaoid io.***********Exception file name too long

    Dear All,

    How to avoid this System.IO.***********Exception?

    System.IO.***********Exception: The specified path, file name, or both are too long. The fully qualified file name must be less than...
  14. Replies
    1
    Views
    773

    difference in month between 2 dates

    Dear all,

    How to get difference in month between 2 date values?

    ie.

    Start Date: 28 Mar 2015
    End Date: 29 May 2015

    the result should be 62..
  15. Re: How to list object name that have Text property?

    Thanks a lot!.. you saved my time.. :thumb::thumb:
  16. Re: How to list object name that have Text property?

    Hello

    Sorry to make you confuse, yes I am talking about control (ie. Label, Textbox etc)
    I want to change their .Text properties by reading and get their names from a Winform and then check their...
  17. Re: How to list object name that have Text property?

    Hi..
    I am in the progress developing a multi languages application, I need to list all objects in a form, and check the object name in a table and then change its .Text..

    could you please...
  18. [RESOLVED] How to list object name that have Text property?

    Dear All.

    How to list all object name in a Winform that have Text property?

    Please help.

    Thanks and Regards
    Win
  19. Replies
    3
    Views
    1,043

    Re: Read XML string using C#

    thank you for your reply, but it resolved .. by running codes below ..(just want to share)

    string xml = ws.showBranch(CONST.KEYPASS, userid, pwd);
    using (XmlReader xreader =...
  20. Replies
    3
    Views
    1,043

    Read XML string using C#

    Dear All,

    I have XML string below, how to read the element (branchname) with C#?

    tried the following but doesnot work :-(

    using (XmlReader xreader = XmlReader.Create(new StringReader(xml)))...
  21. Replies
    1
    Views
    677

    how to read xmlnode value

    Dear All,

    I need to read statuscode value of below XMLDoc.. how to do in C#?



    <API version="1.0"><response>
    <operation name="ADD_REQUEST">
    <result>
    <statuscode>200</statuscode>
  22. Re: how to remove

    yes, I need it.. because the I need to return the string into purely JSON format without any xml declaration..
    any idea?

    thanks
  23. how to remove

    Dear All,

    I have a simple webservice as follow:

    [WebMethod(Description = "Show Promo")]
    public string showPromo()
    { return "hello world how are you?"; }

    and the response result is:
  24. Replies
    1
    Views
    1,411

    SqlDataReader to JSON

    Dear All,

    Any body please advise how to convert SqlDataReader to JSON string format?

    I need advise

    Thanks
  25. Replies
    3
    Views
    747

    Re: arithmetic on C#

    wow.. sorry..
    you opened my eyes.. the formula must be (a + b) + c .. then it would get -17 :)

    thanks
  26. Replies
    3
    Views
    747

    arithmetic on C#

    Dear All,

    int a = -20; int b = -3; int c = 6;
    int d = (a + b) - c;
    why it returns 29? .. it should be 17 ..

    how to do the above arithmetic in C#?

    need advise
  27. is not allowed here because it does not extend class 'System.Web.UI.Page'.

    Dear All,

    I am facing with below error message...
    hmm what's wrong?

    need advise..

    thanks & regards
  28. Re: How to access web service from browser

    just want to share : :)

    this can be done by modifying web.config

    <system.web>
    ...
    <webServices>
    <protocols>
    <add name="HttpGet"/>
    <add name="HttpPost"/>
  29. Re: How to access web service from browser

    btw, how to send the web service result to url ?
  30. [RESOLVED] How to access web service from browser

    Dear All,

    How to access my webservice below from browser?
    http://apps.mydomain.com/ws1/WebService1/GetNumber --> I hope it display random no in my browser 8

    and
    ...
  31. Replies
    2
    Views
    1,016

    Credit card format in datagridview

    Dear All,

    How to set 16 digits of credit card format (9999.9999.9999.9999) in datagridview?

    Please help
    Thanks & Regards
    Win
  32. Re: increase the size of file upload (Windows 2008+IIS7)

    Hi

    I am facing "The connection to the server was reset" when uploading the file with more than 40Mb..

    Please help

    Thanks & Regards
  33. increase the size of file upload (Windows 2008+IIS7)

    Dear All,

    Sorry, may be my question is not related to this forum.. but I am trying to increase the size of file upload for my ASP.NET app.. (Windows 2008 Enterprise + IIS 7)

    What I have done in...
  34. Re: 32 bits ActiveX and 64 bits Target Platform.

    Hi ... I never heard about Eel Compatibility pack.. what is that?
    where can I download it? ..
  35. 32 bits ActiveX and 64 bits Target Platform.

    Dear All,

    My Winform (C#) application uses 32bit ActiveX control, and I want to run my application on 64bit platform, but it does not work.:(
    I tried to change the build target platform from "ANY...
  36. Re: too long for just debuging winform on vs 2010

    Thanks to everyone!.. :)

    I have a Winform C# project, I don't understand why it takes too long to load when running on Debug mode?
    I already removed all breakpoints
    I disabled intellitrace
    but...
  37. too long for just debuging winform on vs 2010

    Dear All,

    Why it took too long for just debuging my Winform application? ..I am using VS2010.. (C#)

    Please help..

    Thanks and Regards
  38. Replies
    2
    Views
    3,270

    base64Binary to PDF

    Dear All,

    I have a string below:

    base64String = "<?xml version=\"1.0\"...
  39. Replies
    1
    Views
    949

    what's recommended Twitter C# SDK?

    Dear All,

    I am looking the best Twitter C# SDK, I have googled and found some
    could any body please advise, what's recommended Twitter C# SDK?

    Thanks & Regards
  40. Replies
    2
    Views
    3,078

    How to do numeric sorting in comboBox?

    Dear All,

    How to do numeric sorting in comboBox?
    please help..

    my combobox contained as follow:


    1
    10
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width