poogie22
asked on
how to hide a particular row in a data table
how to hide a particular row in a data table
my codes are as follows:
for (int i=0;i <= Pos+1;i++)
{
mainWindowTable.NewRow();
// drBlank = mainWindowTable.NewRow();
mainWindowTable.Rows.Inser tAt(drBlan k,Diff);
Diff=Diff+1;
Pos=Pos-1;
}
in the above codes i am adding a set of new rows(drBlank) ,my question is how to make these set of new rows just added invisible.
my codes are as follows:
for (int i=0;i <= Pos+1;i++)
{
mainWindowTable.NewRow();
// drBlank = mainWindowTable.NewRow();
mainWindowTable.Rows.Inser
Diff=Diff+1;
Pos=Pos-1;
}
in the above codes i am adding a set of new rows(drBlank) ,my question is how to make these set of new rows just added invisible.
ASKER
hi,
thanks for your reply.
yes i want to hide the set of rows(drBlank).this datatable is the datasource of a datagrid i dont want to display the above rows in the grid
thanks for your reply.
yes i want to hide the set of rows(drBlank).this datatable is the datasource of a datagrid i dont want to display the above rows in the grid
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
hi,
can you please give me the code.
can you please give me the code.
ASKER
i tried my self but couldnt.please give me the codes in detail.
ASKER
what i intend to do is the newly added rows that is drBlank will be there but it will be hidden.i dont want to remove those rows i am adding blank invisible rows because my application was giving some error.
hi,
follow this link
this will help u
http://www.devarticles.com/c/a/C-Sharp/Programming-with-MySQL-and-.NET-Technologies/1/
b u d d h a
follow this link
this will help u
http://www.devarticles.com/c/a/C-Sharp/Programming-with-MySQL-and-.NET-Technologies/1/
b u d d h a
u want to hide the newly added rows noto be displayed in any control
is it like that
b u d d h a