Hi all; in the "DataGrid1", Here are two function "Edit" and "delete". But I don't want those functions to be visible to unauthorized people. So in the "Page_Load" function,I will check user's accessing right
Thank you for your reply, Could you expain it more deeply,we can not set ID in the "<asp:EditCommandColumn />" and "<asp:ButtonColumn />", how can i make those object " UnknownID.Visible = false" in the Page_load? Pl Z help me
Find the ordinal position of the column and use this to access the column object: DataGrid1.Columns[0].Visible = false;