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 674501
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T00:42:52+00:00 2026-05-14T00:42:52+00:00

string rowString = <tr id=\row1\ bgcolor=\#FFFFFF\ onMouseOver=\this.bgColor=’#EEEEEE’;\ onMouseOut=\this.bgColor=’#FFFFFF’;\ style=\cursor:pointer;\> + <td bgcolor=\#FFFFFF\><img src=\images/+-companylogofilename-+\ width=\108\

  • 0
    string rowString = "<tr id=\"row1\" bgcolor=\"#FFFFFF\" onMouseOver=\"this.bgColor='#EEEEEE';\" onMouseOut=\"this.bgColor='#FFFFFF';\" style=\"cursor:pointer;\">" +
        "<td bgcolor=\"#FFFFFF\"><img src=\"images/"+"-companylogofilename-"+"\" width=\"108\" height=\"32\" alt=\""+"-companyname-"+"\" /></td>" + //turkish.airlines.jpg airlineiconfilename, airline name 
    "<td class=\"table_content\">{0}</td>" +
    "<td class=\"table_content\">{1}</td>" +
    "<td class=\"table_content\">{2}</td>" +
    "<td class=\"table_content\">{3}</td>" +
    "<td class=\"table_content\">{4}</td>" +
    "<td class=\"table_content\"><table width=\"98%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">" +
    "<tr><td class=\"table_content\">{5}</td>" +
    "<td width=\"20\" align=\"right\">" +
    "<a href=\"default.aspx\" onClick=\"return hs.htmlExpand(this, { headingText: '{6} - {7}', width: 600, height: 215, targetX: 'row1 400px', targetY: 'row1 40px' })\">" +
    "<img src=\"images/arrow.png\" width=\"13\" height=\"16\" border=\"0\" class=\"tip\" onMouseOver=\"tooltip('Click for Details.');\" onMouseOut=\"exit();\" />" +
    "</a>";

    accordionHTML.Append(String.Format(rowString,
        flight.Get_AirlineCode(),
        flight.Get_Clase(),
        flight.Get_Departure(),
        flight.Get_DeprtDate(),
        flight.Get_DeprtTime(),
        flight.Get_Destination(),
        flight.Get_Departure(),
        flight.Get_Destination()));

Hi,
Can someone please help me to find the mistake above ?
I am getting an error as “Input string was not correct !”;
Thanks in advance,

  • 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. Editorial Team
    Editorial Team
    2026-05-14T00:42:52+00:00Added an answer on May 14, 2026 at 12:42 am

    Your inline onClick handler has unescaped standalone braces in the object literal:

    onClick=\"return hs.htmlExpand(this, { headingText: '{6} - {7}', width: 600, height: 215, targetX: 'row1 400px', targetY: 'row1 40px' })\">"
    

    You need to write this, {{ headingText... }}

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

Sidebar

Related Questions

I found this code that goes through and prints out csv for both columns.
I'm using a raw strings but when I print the string I'm getting extra
PREFACE: I'm relatively inexperienced in C++ so this very well could be a Day
My problem is that the cell.textLabel does not display the new data following a
I'm working on a system using lots of MySQL queries and I'm running into
I'm trying to create a dynamic row filter based on a variable. I have
I have a email multi-part message which I am using to send failed message
I have a form with a DataGridView (of 3 columns) and a Button. Every
I am using ADO.NET Entity framework for connect db and get data. I want

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.