Solved

how to adjust the view

Posted on 2012-03-30
3
149 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
EF5: Question about Metadata Artifact Processing 4 15
ck editor is taking too much time to be loaded in asp 1 17
Deploying to Azure 3 29
Error handling in asp.net site 5 26
Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

773 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