Jump to content
Xtreme .Net Talk

khattak

Members
  • Posts

    1
  • Joined

  • Last visited

Personal Information

  • Occupation
    software engineer
  • Visual Studio .NET Version
    Visual Studio .NET Professional
  • .NET Preferred Language
    C#, VB.NET,asp.net

khattak's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. hi, cheena try this code private yourControl_Click() { BoundColumn hplarea; hplarea = new BoundColumn(); hplarea.HeaderText = "new column"; hplarea.DataField = "new field"; hplarea.Visible = false; SearchByAreaDataGrid.Columns.Add(hplarea); da = new SqlDataAdapter("SELECT newfield FROM yourTable",_conStr); Store = new DataSet(); da.Fill(Store); DataGrid1.DataSource = store; DataGrid1.DataBind(); }
×
×
  • Create New...