Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default amount of data

    Hello.
    I am writing an application, that connects to mssql server via DB-Library,
    and the maximum amount of data, which I can get, is only 4096 bytes.
    what's wrong in this code ?
    ........
    glob.nLength = dbdatlen(dbvals.lpDbProc, 1) + 1; //getting length of a
    field
    tbvars.szText = VirtualAlloc(NULL, glob.nLength, MEM_COMMIT | MEM_RESERVE,
    PAGE_READWRITE); //commiting memory
    strcpy(tbvars.szText, (char*)dbdata(dbvals.lpDbProc, 1)); //copying data
    tbvars.szText[glob.nLength - 1] = '\000'; //cutting data
    VirtualFree(tbvars.szText, 0, MEM_RELEASE);
    ........
    note, that DBTEXTLIMIT option I've set before to maximum value(2147483647)
    P.S. dbcollen() also returns 4096.
    thanks for any advice.
    Vladimir.





    Scherbina Vladimir Guest

  2. Similar Questions and Discussions

    1. large amount of data and low efficiency
      hi? we are trying to show a large amount of data selected from database(about 1000 records) in the mxml page. But we found it is very slow(about...
    2. split large amount of data for loading
      Hi, I have a large amount of data (> 550.000 rows) to load which leads to problems with the transaction protocol. All the rows are compromised in...
    3. List amount of data sets by month
      Hi, I've got 150.000 datasets in a Filemaker file. A "date" field within each data set shows the date (between 01.01.1996 and current day) on...
    4. How to send a big amount of data from an aspx page to another
      Hi, I have webpage (sql.aspx) in asp.net with a big textbox. In this box, I generate SQL queries. Some of the queries can takes more than 2000...
    5. Performance issue while loading large amount of data
      Hello I am supposed to load large amount of data from SQL scripts and I have been wondering what is the best option: -frequent commits and no...
  3. #2

    Default Amount of data

    How can I measure the amount of data send by my asp.net
    applic. to the client browser (in byte or kb)?

    Thanks
    Jenny
    Jenny Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139