You just need to add RowDataBound event. In which you have to set all text data in upper case. .aspx code: <asp:GridView ID="GridView1" runat="server" OnRowDataBound="GridView1_RowDataBound"> </asp:GridView> .aspx.cs code : protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) { for (int i = 0; i < e.Row.Cells.Count; i++) { e.Row.Cells[i].Text = e.Row.Cells[i].Text.ToUpper(); } } |
fine its working
ReplyDeleteyou can cantact me via kumar.paramjeet82@gmail.com
ReplyDelete