HighTechTalks DotNet Forums  

My Datagrid Column Showing Column size X in each cell

Dotnet Framework (Compact Framework) microsoft.public.dotnet.framework.compactframework


Discuss My Datagrid Column Showing Column size X in each cell in the Dotnet Framework (Compact Framework) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Adnan
 
Posts: n/a

Default My Datagrid Column Showing Column size X in each cell - 12-10-2004 , 06:55 AM






I have tried on of the sample project (GridDemo2) from Alex site showing how
to format cells of a datagrid, but when i use it on my grid by using

Dim bnd As Binder = Binder.BindToDataGrid(grdTeamMembers, 0, "{0}")
AddHandler bnd.DataBind, AddressOf bnd_DataBind
bnd = Binder.BindToDataGrid(grdTeamMembers, 1, "{0}")
grdTeamMembers.Update()

My Datagrid column show a rectangle size X in each cell

any suggestion any help

Reply With Quote
  #2  
Old   
Alex Feinman [MVP]
 
Posts: n/a

Default Re: My Datagrid Column Showing Column size X in each cell - 12-12-2004 , 01:30 AM






What do you mean by rectangle size X?
What kind of data is in that cell?

--
Alex Feinman
---
Visit http://www.opennetcf.org
"Adnan" <Adnan (AT) discussions (DOT) microsoft.com> wrote

Quote:
I have tried on of the sample project (GridDemo2) from Alex site showing
how
to format cells of a datagrid, but when i use it on my grid by using

Dim bnd As Binder = Binder.BindToDataGrid(grdTeamMembers, 0, "{0}")
AddHandler bnd.DataBind, AddressOf bnd_DataBind
bnd = Binder.BindToDataGrid(grdTeamMembers, 1, "{0}")
grdTeamMembers.Update()

My Datagrid column show a rectangle size X in each cell

any suggestion any help



Reply With Quote
  #3  
Old   
Adnan
 
Posts: n/a

Default Re: My Datagrid Column Showing Column size X in each cell - 12-12-2004 , 11:55 PM



Dear Alex,
I mean without applying the which is

Dim bnd As Binder = Binder.BindToDataGrid(grdTeamMembers, 0, "{0}")
AddHandler bnd.DataBind, AddressOf bnd_DataBind
bnd = Binder.BindToDataGrid(grdTeamMembers, 1, "{0}")
grdTeamMembers.Update()

My grid showing team members in column 1 in correct format (Simple Text)
but when i apply the code to show text of column in color i get a huge X in
column 1, i have tried on different columns ot same problem, is there any
wrong with the code ???

i think u undertand now, or can u give me ur public e-mail address where i
can send u the pic of the grid from emulator.

waiting for ur kind reply

"Alex Feinman [MVP]" wrote:

Quote:
What do you mean by rectangle size X?
What kind of data is in that cell?

--
Alex Feinman
---
Visit http://www.opennetcf.org
"Adnan" <Adnan (AT) discussions (DOT) microsoft.com> wrote in message
news:4A1A7292-9808-41E5-9EF5-29A86CFCBBBA (AT) microsoft (DOT) com...
I have tried on of the sample project (GridDemo2) from Alex site showing
how
to format cells of a datagrid, but when i use it on my grid by using

Dim bnd As Binder = Binder.BindToDataGrid(grdTeamMembers, 0, "{0}")
AddHandler bnd.DataBind, AddressOf bnd_DataBind
bnd = Binder.BindToDataGrid(grdTeamMembers, 1, "{0}")
grdTeamMembers.Update()

My Datagrid column show a rectangle size X in each cell

any suggestion any help




Reply With Quote
  #4  
Old   
Adnan
 
Posts: n/a

Default Re: My Datagrid Column Showing Column size X in each cell - 12-13-2004 , 12:25 AM



Dear Alex,
I have mail u both images with Cell size X and without Cell size X.
@ public_news (AT) alexfeinman (DOT) com

plz consider it

"Alex Feinman [MVP]" wrote:

Quote:
What do you mean by rectangle size X?
What kind of data is in that cell?

--
Alex Feinman
---
Visit http://www.opennetcf.org
"Adnan" <Adnan (AT) discussions (DOT) microsoft.com> wrote in message
news:4A1A7292-9808-41E5-9EF5-29A86CFCBBBA (AT) microsoft (DOT) com...
I have tried on of the sample project (GridDemo2) from Alex site showing
how
to format cells of a datagrid, but when i use it on my grid by using

Dim bnd As Binder = Binder.BindToDataGrid(grdTeamMembers, 0, "{0}")
AddHandler bnd.DataBind, AddressOf bnd_DataBind
bnd = Binder.BindToDataGrid(grdTeamMembers, 1, "{0}")
grdTeamMembers.Update()

My Datagrid column show a rectangle size X in each cell

any suggestion any help




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.