Solved

how to adjust the view

Posted on 2012-03-30
3
147 Views
Last Modified: 2012-04-06
Hi, as seen in the screenshot I have a small list at the top and a detailed list of te record at the bottom.
Why does it show in the yellow suddenly more colums, or is this normal ?
How can I adjust the field Studies so that it is show as a textbox, so I mean with more than one line in it ?
Also, children is a Boolean so it shows 1, but in SQL this is used as True, so if I do a edit here, it is still shown as 1, but I would need to change this everytime to True ? Can't I just show it as True instead of a 1 ?
Capture.JPG
0
Comment
Question by:troosters
  • 2
3 Comments
 
LVL 6

Accepted Solution

by:
kswathi earned 500 total points
ID: 37787307
I think in your code you have highlighted the selected row, so it displays yellow, also displaying more fields.

For the children field check  the binding, check the datatype at the sql & asp.net.
You need   cast as bit to directly retrieve it as true/ false or if it is a nvarchar field you need to explicitly cast it/ convert it.

If you can share the code then Ican help you more.

Hope it helps.
0
 

Author Comment

by:troosters
ID: 37787358
Code is in attachment
code.txt
0
 

Author Comment

by:troosters
ID: 37794947
Hello, can you please advise according to my code ? I'm not an expert on casting and such.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now