摘要:
1、protectedvoidGridView1_RowDataBound(objectsender,GridViewRowEventArgse){if(e.Row.RowType==DataControlRowType.DataRow){e.Row.Cells[1].Attributes.Add("style","vnd.ms-excel.numberformat:@;");}}2、在字符串的数据前面加多个'号,SELECT''''+GWRASExpr1 FROMT 阅读全文