Solved

how to adjust the view

Posted on 2012-03-30
3
152 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

732 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