Hi all!
I have a datatable with 3 columns : A, B, C and 5 rows.
I want to delete value of the A column. How can I do that, please help me!!!!
Thanks a lot

Recommended Answers

All 3 Replies

Depends upon the type of column you may assign value.

dataTableObj.Rows[0]["columnName"]=""; //for string column type

thanks a lot Adatapost

You can delete values of a datacolumn of datatable using folowing idea:iu5;

Public Sub Remove ( _
column As DataColumn _
)

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.