471,348 Members | 1,336 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

DataGrid stupid problem

Hi,

Im trying to create a button column into a datagrid that im inheriting. but
when i load the page i dont see anything. this datagrid doesnt have any
source.

This is my small code...

protected override void OnLoad(EventArgs e)
{
ButtonColumn colbtn=new ButtonColumn;
colbtn.HeaderText="ClickHere";
this.Columns.Add(colbtn);
}

What im doing wrong?... Im interested in show some header columns, and thats
all...

--
Thanks
Regards.
Josema
Feb 10 '06 #1
0 838

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Saso Zagoranski | last post: by
2 posts views Thread by Pete Davis | last post: by
2 posts views Thread by Daniel Walzenbach | last post: by
2 posts views Thread by SQL_Klovn | last post: by
3 posts views Thread by nkunkov | last post: by
2 posts views Thread by tshad | last post: by
8 posts views Thread by Scott Meddows | last post: by
1 post views Thread by Ronak mishra | last post: by

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.