AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Devexpress grid export pdf4/15/2023 ![]() Private void ExportBtn_Click(object sender, System.EventArgs e)įor (int i = 1 i < 1 i ) ![]() OleDbDataAdapter da = new OleDbDataAdapter(Command) ![]() OleDbCommand Command = new OleDbCommand ("select * FROM. OleDbConnection con = new OleDbConnection() Ĭon.ConnectionString = "Provider=.12.0 Data Source=C:\\Users\\pc\\Documents\\Emp.xlsx Extended Properties=\"Excel 12.0 HDR=Yes\"" ĭtSchema = con.GetOleDbSchemaTable(OleDbSchemaGuid.Tables, new object ) Private void simpleButton1_Click(object sender, System.EventArgs e) TODO: Add any constructor code after InitializeComponent call Required for Windows Form Designer support ApplicationClass ExcelApp = new .ApplicationClass() Į(Type.Missing) I really Appreciate your help public class Form1 : ![]() That's the code that i'm trying to write. I am using DevExpress GridView I need to send it to excel and I'm getting problems to loop to every cell and column because DevExpress contains different methods then the DataGridView
0 Comments
Read More
Leave a Reply. |