473,386 Members | 1,819 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,386 software developers and data experts.

overriden datagridcolumn lost some properties

I have overriden DataGridTextBoxColumn but it has lost it's overloads (so I
cannot set datatype)? Is there a way to set datatypes to column (and how
come that it does not get datatype property from DataTable which is it's
data source)
Nov 15 '05 #1
2 1188
Sput,

What do you mean it has lost its overloads? You can't lose them, so to
speak.

Also, the DataGridTextBoxColumn should not be determining the type that
is in the column. The structure of the data should do that. The
DataGridTextBoxColumn is only used to display the contents of the column,
not determine what it should be.

What are you trying to do?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Sput" <sp********@post.htnet.hr> wrote in message
news:bv**********@ls219.htnet.hr...
I have overriden DataGridTextBoxColumn but it has lost it's overloads (so I cannot set datatype)? Is there a way to set datatypes to column (and how
come that it does not get datatype property from DataTable which is it's
data source)

Nov 15 '05 #2
Actually, I have a problem with sorting (it sorts dates and numbers as text
if I use
my regional settings - numbers have , as decimal separator, dates begin with
day).

What are you trying to do?


Nov 15 '05 #3

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

Similar topics

0
by: sshuangw | last post by:
Hello: I am encountering a very weird issue with MDI child, Overriden WndProc function and hidden form. Basically, the application has two forms, Form1(parent form), Form2(Child form),...
0
by: andrewcw | last post by:
I am trying to set the column information - which ones I want displayed and how with the web grid control. The interface has some big differences when compared to the winform. Is this possible...
2
by: Andrew | last post by:
I am trying to set the column information - which ones I want displayed and how with the web grid control. The interface has some big differences when compared to the winform. Is this possible...
2
by: Jay Walker | last post by:
I created a custom DataGridColumn based on Marcie Robillard's MSDN Article: Creating Custom Columns for the ASP.NET Datagrid...
7
by: Girish | last post by:
OK.. phew. Playing with data grids for the past few days has been fun and a huge learning experience.. My problem. I have a requirement to display a gird with a gird. Within the embedded grid,...
2
by: Lekker Ding | last post by:
Hi All Does anyone know how to code a dropdownlistcolumnstyle in a datagridcolumn in vb.net? Thanks! Ch LD
0
by: NetronProject | last post by:
My control inherites from ScrollableControl and overrides the BackColor property. The DescriptionFromAttribute inherits from the DescriptionAttribute to return localized information. The same for...
2
by: tshad | last post by:
I am getting this error trying to dynamically added a column to my DataGrid. I have the following code: Function CreateBoundColumn(c as DataColumn) as DataGridColumn Dim column as...
0
by: tshad | last post by:
I am building my DataGrid dynamically and am trying to set the width but am having a problem with it. If I do: DataGrid1.Columns(0).Width = New Unit("65px") I get the error: 'Width' is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.