in

ASP.NET Weblogs

Datagrid Girl

Marcie, ASP.NET Datagrid Blogger Girl

Fixing the Datagrid's Height

We've talked before about fixing the width of an ASP.NET Datagrid to a specific size, but I've been seeing a lot of questions recently about how to fix the height of a Datagrid.  (For example, keep the items from expanding their height on the last page of a page-able Datagrid).  I just wanted to point out Alexander Zeitler's article that covers this issue, “Fixing the ASP.NET Datagrid”

I also use a similar technique in my new article for CodeProject, Separating Datagrid Items.

Datagrid Girl

Comments

 

Alex said:

hi marcie,

thank you for promoting my article.
wish you lot of fun @codeproject.

Alex
February 11, 2004 5:02 PM
 

Varipal said:

I know that my question is not related to this article but I faced with a problem. Can you help me ?
I make a page with a datagirid on it, after fiiling it, I want to place the contrnt of one cells in a Label Box But each time thr Label is Empty I dont know why.

Here is The Code I used :

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
If Not Page.IsPostBack Then
DataBind()' Here Fills DataGrid1
Label2.Text = DataGrid1.Items.Item(t).Cells(1).Text
End If

End Sub
February 13, 2004 8:50 AM
 

Varipal said:

pleas send me soon
to this address
bakhtiar_nahid@yahoo.com
I know you are busy, but please do it very soon
February 14, 2004 10:10 AM
 

abc said:

fdggfffffffffffffffffffffffffffffffffffffgggggggggggggggggggggggggggggggggbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn

December 28, 2007 6:53 AM

Leave a Comment

(required)  
(optional)
(required)  
Add