Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 73677
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T20:14:20+00:00 2026-05-10T20:14:20+00:00

Why am I getting a textbox that returns undefined list of variables? When I

  • 0

Why am I getting a textbox that returns undefined list of variables?

When I run this code:

var query = (from tisa in db.TA_Info_Step_Archives                  where tisa.ta_Serial.ToString().StartsWith(prefixText)                  select tisa.TA_Serial.ToString()).Distinct().Take(Convert.ToInt32(count));  return query.ToList<string>().ToArray(); 

I get this XML file:

<string>200700160</string>    <string>200700161</string>    <string>200700162</string>    <string>200700163</string>    <string>200700164</string>    <string>200700170</string>    <string>200700171</string>    <string>200700172</string>    <string>200700173</string>    <string>200700174</string>    <string>200700175</string>    <string>200700176</string>    <string>200700177</string>    <string>200700178</string>    <string>200700179</string>    <string>200700180</string>    <string>200700181</string>    <string>200700182</string>    <string>200700183</string>    <string>200700184</string>  

BUT, the textbox returns a list of undefined….

Help please?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T20:14:21+00:00Added an answer on May 10, 2026 at 8:14 pm

    updated my ajax kit to version 1.0.10920 then changed my code to the following:

         foreach (DataRow dr in dt.Rows)         {             items.SetValue('\'' + dr['somenumber'].ToString() + '\'', i);             i++;         } 

    Late friday nights with .net is not fun. I have no life. 😛

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im getting a string (simplified) from the backend that should be : { menu:
I am getting this error when I try to read a property from a
Getting the subdomain from a URL sounds easy at first. http://www.domain.example Scan for the
Im getting frustrated because of OpenDNS and other services (ie: roadrunner) that now always
After getting the objectEnumerator in the following code, the set1 retain count goes to
I have a form that spawns a BackgroundWorker, that should update form's own textbox
Okay, this has got to be something stupid-as-a-box-of-rocks that I'm doing wrong, but I
I'm getting an error here that says I haven't defined a method, but it
Every time that I want to do a Layout, I'm getting a black layout
Getting started with jquery and having trouble getting hello world type example going for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.