473,406 Members | 2,894 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Datagrid TextBoxColumn Problem

Hi there,
I have a big problem here, I am binding a database table to a dataset and
then populate a datagrid the problem is that I have a column that is named
TOTALMINUTES and type real....
On the datagrid I want to show that result on the format hh:mm converting
those minutes to hours and minutes....

I only can see 2 solution:
First - Use Column[].Expression : Since I have to do formating and lot of
stuff I could not get a expression to solve this problem, perhaps if someone
knows how to, I appreciate a post here... (remember, my problem is getting
the result displyed as hh:mm)

Second - inherite a column from the datagrid and change the textbox value.
Since I have lacks of experience doing inherited classes with datagrids, I
would ask if this is possible to do and how... ( code snippets are welcome).

I am working around this for 2 weeks and getting desperated....
Thanks in Advance

Best Regards
Nov 17 '05 #1
0 1089

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: s-galit | last post by:
hi i have a dataSet with table that has only integer fields and im using dataGrid with DataGridTextBoxColumn connected to the dataSet. when im writing a string into the cell in the dataGrid ,...
2
by: Evan Brown | last post by:
Hi I have a Datagrid with a boolean column in it. I currently have it set as a textboxColumn and not a checkcolumn. what I want to do is have it say yes/no not true/false. Any suggestions? ...
5
by: jdipalmajr | last post by:
I have a table which is being displayed in a DataGrid. One of the columns is a boolean. When I began my development, I wasn't using styles to control column formats. When I used the default...
1
by: Lars Netzel | last post by:
I need to have a Tooltip on each Cell in a datagrid, I don't know how to do this. I'm using Styles to the datagrid (Which I asume most people do since you never need to show all the fields from the...
3
by: Lars Netzel | last post by:
How do I access a specific textbox in a TextBoxColumn in a Datagrid that is bound to a dataset? /lars
0
by: Sam | last post by:
Hi guys, I tried to use DataGridTextBoxColumn alignment property to format my data in the datagrid and I don't quite get what I'd like it to be. The problem is that when I set the alignment...
7
by: Earl | last post by:
Any known fixes for the wacky right-alignment bug in the WinForms datagrid (VS2003)? I've tried Ken's workaround...
3
by: Art | last post by:
Hi, I need some advice with a binary column in a DataGrid. Everything seems fine except for one thing. In order to check a box, I have to click on it once to select it, and then click again to...
0
by: Buho | last post by:
Hi everybody, I have a question/problem about the .net datagrid, the deal is use it loading detail data of a voucher, so i have 2 instances: first is when i load a document header and lots of...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.