:: Das Spielchen hatte ich doch auch schon mal... schreibst Du
:: in Page_Load eh' nix �ber die Variable dr�ber?
Meine PageLoad sieht so aus:
private void Page_Load(object sender, System.EventArgs e)
{
AddressGridColumn col = new AddressGridColumn(2, 4, 1,
this.Page);
col.AddField (0, 0, "Firmenname", ControlType.Text);
col.AddField(0, 1, "Strasse", ControlType.Text);
col.AddField(0, 2, "Telefon", ControlType.Text);
col.AddField(0, 3, "Internet", ControlType.Link);
col.AddField(1, 0, "Firmenzusatz", ControlType.Text);
col.AddField(1, 1, new string[2] {"PLZ", "Ort"},
ControlType.Text);
col.AddField(1, 2, "Fax", ControlType.Text);
col.AddField(1, 3, "Internet", ControlType.CommandLink);
col.AddRowspanField(0, "Firmenname", ControlType.Text);
DataGrid1.Columns.AddAt(0, col);
DataGrid1.DataKeyField = "PK_AdressID";
sqlDataAdapter1.Fill(dataSet11);
DataGrid1.DataBind();
}
Das ganze ViewState-Gemurks passiert in der AddressGridColumn-Klasse.
Dani
*************************
_______________________________________________
This ASP.NET email is sponsored by:
UDEX ProMenu.Net - Die Software f�r Navigation - Jetzt kostenlos testen!
Tree- Style, Horizontal- Slide, Vertical- Slide. http://www.udexnet.com
_______________________________________________
Asp.net Mailingliste, Postings senden an:
[EMAIL PROTECTED]
An-/Abmeldung und Suchfunktion unter:
http://www.glengamoi.com/mailman/listinfo/asp.net
*************************