Community discussion forum

Adding Subcolumn to datatable

  • 1 year ago

    Hi,can anyone help me to add 3 subcolumn to a column in datatable, that i need to bind with gridview

    I tried addding subcolumn using for loop but it doesnt work

     

     

  • 1 year ago

    I think you are relatively confused over what a datatable is. You can add a ForeignKeyConstraint, which will link a primary key column in one table to a foreign key column in another table; but you cannot add subcolumns.

  • 1 year ago

    Thx for ur reply

Post a reply

Enter your message below

Sign in or Join us (it's free).

Want to stay in touch with what's going on? Follow us on twitter!