0
Hi Ayyub,
You can try 1 simple way... write simple Linq query on table like below.....depending on value selected in combobox
string combovalue=combobox1.SelectedValue();
var result = (from DataRow trow in table.Rows select trow).Except(from DataRow trow1 in table.Rows where col1=combovalue select trow);
it will work i think,
Thanks,
Pravin.
0
I do not know what you mean when you say hide, if you need to hide from SQL Server a row in a table. Hiding a row in a table is not done; you cannot hide a row from SQL Server or from a program that queries the table. What you can do is to make a column in the table that specifies whether a row should be invisible in certain conditions and then make a view that selects just the rows that are not invisible.
If you actually mean that you need to hide a row in a grid that shows the data, then please clarify what you mean.