http://i287.photobucket.com/albums/ll145/_DJ_CRIS_08_/prog.jpg[^] Here is a picture of my app, as you know i want to export selected columns to an excel file, but if theres another easy way to create a report please let me know, sorry about this i'm not an expert of C#. :(
DJCRIS12
Posts
-
Export To Excel Advanced -
Excel Files -
Excel FilesHello Code Project I'm developing an app and i'm having some issues so i hope somebody helps me out I have a "form" in that form i made a search to a table from a database named "Vehicle_Information" So i filter the results through checkboxes example ◘ID ◘GPS ID ◘NAME .... So when the user checks ◘ID, the column of "ID" appears on the Data Grid i can create an excel file from a datagrid but when the data is created ALL THE COLUMNS AND DATA APPEARS ON THE EXCEL FILE! and i don't want that , i just want the columns the user selected. My Question is: HOW CAN I SEND TO AN EXCEL FILE A GROUP OF SELECTED COLUMNS OF DATA FROM A DATAGRIDVIEW???? I've tryed so hard :/ Thanks.
-
Combo Boxsorry i've solved the issue, my database wasn't recogniced like suposed to be thanks anyways :D!
-
Combo BoxHello The Code Project I need help on a project, i have an Access 2010 Database and i want to fill a combo box with one column named "Telephones" From a Table named "SIM" I've tryed so many ways but i dont know why i can't make it work Examples:
private void llenarElementos()
{cbo\_codsim.Items.Clear(); int filascod = base\_Gps\_InfoDataSet.Tables\["SIM"\].Rows.Count; for (int y = 0; y < filascod; y++) { cbo\_codsim.Items.Add(base\_Gps\_InfoDataSet.Tables\["SIM"\].Rows\[y\]\[1\].ToString()); } }
i'm calling that function on the form load.. Also i've tryed to do it by selecting the bindingsource and the table in VS but data don't appear. If you all need the full code just ask :) PD: VS 2008 SP1 Please Help :/