Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Column.AddAt method in Vb.Net for DataGrids

Status
Not open for further replies.

jesal27

Programmer
Mar 4, 2004
7
US
hi,

i need to add a DataColumn at a specific location..

thers an addat method supposedly in asp.net..not too sure if its supported in vb.net

heres my code.

--myDt some dataTable
--myCol some dataColumn
myDt.columns.add(myCol)

this always add the new column at the end.

how do i get to add it at say the 1st position or the 2nd..

thnks for your input in advance


jes
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top