hi,
thnks for the reply..
unfortunately that wont work either, the same error will pop up the moment u say .add(somewNewColumn) if u write
someNewColumn=someDataTable.Columns(0)
but i figured a way out yesterday..
just in case u wanna know..heres what i did..
i made a newColumn
i then...
hi,
can anyone tell me how to do the following
e.g. code
datatable dt1,dt2
dt1.columns.add(dt2.columns.item(0))
basically how do i copy a datacolumn from one datatable to another.
when i use the above code..it throws an error that the column already belongs to another datatable
i...
hi..this is pretty easy
write a routine to export the data items u want with header descriptions to a regular txt file..
for e.g.
MyFieldA,MyFieldB
1,2
in a file a.csv
open some a.doc and make it a mail merge document..
ull choose a.csv as its source..and u can actually drop the 2 fields...
hi..
actually in VB.net
dim and private could mean the same thing inside a class or module..
but anyhow heres a comprehensive list of declarations and assignments..
dim inside a proc means a local var
dim in class/module menas the same
dim inside a structure menas a private
public is...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.