[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 159
  • Last Modified:

how to adjust the view

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
troosters
Asked:
troosters
  • 2
1 Solution
 
kswathiCommented:
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
 
troostersAuthor Commented:
Code is in attachment
code.txt
0
 
troostersAuthor Commented:
Hello, can you please advise according to my code ? I'm not an expert on casting and such.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now