help me .... how to clear data in specific column in vb.net

MSDN has a few examples in it and for once a clear explanation ie

' Declare a new DataGridTableStyle in the
' declarations area of your form.
Dim ts As DataGridTableStyle = New DataGridTableStyle()

Sub DeleteColumn()
   ' Set the DataGridTableStyle.MappingName property
   ' to the table in the data source to map to.
   ts.MappingName = DataGrid1.DataMember

   ' Add it to the datagrid's TableStyles collection
   DataGrid1.TableStyles.Add(ts)

   ' Delete the first column (index 0)
   DataGrid1.TableStyles(0).GridColumnStyles.RemoveAt(0)
End Sub

either that or just clear the data fields in the column or delete the coumn and add it back afterwards.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.