how to export datagridview to pdf in c# windows application

  Рет қаралды 24,122

RashiCode

RashiCode

Күн бұрын

Hello friend's this is Rashid Hussain come with another video on how to Generating QR Code in Windows Form Application
if You like Please
like,comment and share
Please don't forget to subscribe for more videos....:)
subscribe us: / rashicode
Fb Page: / rashicode
for source code
visit: rashicode.com/...
#School_Management_System_In_C#
#Student_registration_form_in_asp.net
----------------------------------------------------------
Music Provided by
Music Provided by
NCS: Music Without Limitations
NCS Spotify: spoti.fi/NCS
Free Download / Stream: ncs.io/mortals
Alan Walker - Fade [NCS Release]
Link to video: • Video
Facebook / alanwalkermu. .
SoundCloud / alanwalker
Instagram / alanwalkerm. .
----------------------------------------------------------
how to design studen registration form in asp.net
• How to Design a Studen...
how to add master and child page in asp.net web forms
• How to Create Master a...
How to make a navigational dropdown menu bar in asp net web forms
• How to make a navigati...
Designing an Image Slider in Windows form Application C#
• Designing an Image Sli...
How to create admission form in crystal reports in visual studio 2017
• How to create admissio...
How to Install Crystal Reports For Visual Studio 2017
• How to Install Crystal...
How to design unique menu in C# win form app.
• How To Design Unique M...
How to Design a Modern Login Form in c# win from app
• C# Designing Login F...
how to create functions in Database
• How Create Function in...
Designing a Modern Flat Desktop Application for Fast Food Restaurant in Visual C# net
• Designing a Modern Fla...
school management system part[ 1]
• [ Part 1] School manag...
school management system part [2]
• [ Part 2] School manag...
How to create an exe file in c#
• how to create exe file...
How to install postgresql and how to connect postgresql with visual studio 2017
• How to install Postgre...
[part 1] Hr management system
• [Part 2] HR Management...
[part 2] Hr management system
• [Part 2] HR Management...
[part 3] Hr management system
• [Part 3] HR Management...
[part 5] Hr management system
• Part[ 5] HR Management...
[part 6] Hr management system
• Part [6] HR Management...
------------------------------
video tags
how to,datagridview in c# windows application,export datagridview to excel,how to print datagridview in c#,export data to pdf in c#,print datagridview in c# windows application,datagridview c#,windows application,windows forms application,export to pdf,datagridview,export datagridview to csv c# windows application,how to export datagridview to excel in c#,c#,how print datagridview in c#,export datagridview,how to export datagridview to excel file in c#,c# export to pdf,

Пікірлер: 51
@sarujanrajaratnam7097
@sarujanrajaratnam7097 2 жыл бұрын
its works perfectly I really appreciate your work Thank you Man keep post like this video
@NgocDucDo
@NgocDucDo 7 ай бұрын
Thank you very much for your videos.
@nandopookey9195
@nandopookey9195 9 ай бұрын
Thank you so much sir
@RashiCode
@RashiCode 9 ай бұрын
🖤🖤
@ET_HA
@ET_HA Жыл бұрын
error while exporting dataobject reference not set to an instance of an object
@RashiCode
@RashiCode Жыл бұрын
Verify that the data object contains the required data and that it is not null
@vungochai7455
@vungochai7455 2 жыл бұрын
thank you for sharing
@RashiCode
@RashiCode 2 жыл бұрын
❤❤
@GODBABYBEATS
@GODBABYBEATS Жыл бұрын
Cant open this pdf :(
@mohamedbouaouine4384
@mohamedbouaouine4384 3 жыл бұрын
tank You prof
@RashiCode
@RashiCode 3 жыл бұрын
❤❤
@rizwanabid2
@rizwanabid2 2 жыл бұрын
thanks for the help
@RashiCode
@RashiCode 2 жыл бұрын
❤❤
@ezequielcantu4592
@ezequielcantu4592 2 жыл бұрын
The parameter of PageSize is not working, do u need a different extension or library to use it on Visual(?)
@susmantobealivebruh4238
@susmantobealivebruh4238 2 жыл бұрын
Import the following it works for me! using iTextSharp.text; using iTextSharp.text.pdf; using Project_AD_Course_Work_1.Services; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms;
@GuardaOsservaValuta
@GuardaOsservaValuta Жыл бұрын
How to make that it ignores one or more columns? and how to make text smaller or pdf bigger that more stuff could be added?
@PatatAss-oc6zi
@PatatAss-oc6zi Жыл бұрын
error while exporting data unable to cast object of type 'system.windows.forms.dataGridviewrow' to type' system.windows.form.dataGridview'. pls help idk where's the problem on my gridview
@user-eo7dx5bp3f
@user-eo7dx5bp3f Жыл бұрын
Possible graph take pdf is possible bro
@alsafasoft2754
@alsafasoft2754 2 жыл бұрын
This code does not support Arabic language How do I show the Arabic language?
@erosa003
@erosa003 2 жыл бұрын
I visited your page and I don't find this code.. The link on desc. doesn't work. Help!!
@RashiCode
@RashiCode 2 жыл бұрын
please check again it will work hope fully
@veritas8961
@veritas8961 Жыл бұрын
Thanks for this video tutorial. The material was helpful. But there was one problem: in the saved PDF file, only the name of the first column of the table is displayed, the rest of the cells are empty. Don't know what could be the problem? UPD: Found what's wrong. Russian letters cannot be displayed in cells.
@RashiCode
@RashiCode Жыл бұрын
contact me at rashidhussain.kiu@gmail.com
@Inal9901
@Inal9901 Жыл бұрын
Hello. same problem, how did you solve it? Tell me please
@yessir6411
@yessir6411 3 жыл бұрын
I have a winform with multiple tabs, do you know how I can switch between them and print all of them into pdf?
@RashiCode
@RashiCode 3 жыл бұрын
create data set that contain values of all tabs it work
@lighton9451
@lighton9451 Ай бұрын
very long !!
@deshantharupathi
@deshantharupathi 2 жыл бұрын
All codes are done. No errors. PDF created. But pdf not open. 🤔
@RashiCode
@RashiCode 2 жыл бұрын
contact me at csharpaccademy@gmail.com
@RashiCode
@RashiCode 2 жыл бұрын
rashicode.com/export-datagridview-data-to-pdf-file/ download source code
@yorbindimolina3253
@yorbindimolina3253 5 ай бұрын
No funciona
@tihomirraicevic4761
@tihomirraicevic4761 Жыл бұрын
Does anyone know why it creates a pdf file but that can't be opened?
@hihellohi2
@hihellohi2 Жыл бұрын
Try to check if Line 79 in the video 12:56 is included.
@Unknown-bm5ui
@Unknown-bm5ui 3 жыл бұрын
Can't open this file Problem with format
@RashiCode
@RashiCode 3 жыл бұрын
visit rashicode i uploaded in details
@dotnetrfidhub2135
@dotnetrfidhub2135 3 жыл бұрын
PdfWriter.GetInstance(document, stream); just add this line
@kadirgultekin7984
@kadirgultekin7984 2 жыл бұрын
@@dotnetrfidhub2135 already this line writed in the code but it stil not working why?
@damiancortez1942
@damiancortez1942 2 жыл бұрын
@@RashiCode link down :(
@fatiniss1434
@fatiniss1434 3 жыл бұрын
Save pdf 0 octe
@Fype_YouTube
@Fype_YouTube Жыл бұрын
@RashiCode Help
@RashiCode
@RashiCode Жыл бұрын
open datagridview properties and set AllowUserToAddRows = false;
@Fype_YouTube
@Fype_YouTube Жыл бұрын
pTable.AddCell(dcell.Value.ToString()); System.NullReferenceException: 'Object reference is not set to an instance of an object.' System.Windows.Forms.DataGridViewCell.Value.get returned null.
@RashiCode
@RashiCode Жыл бұрын
Basically what was happening is that the DataGridView object has a property called AllowUserTOAddRows and this auto adds a hidden row.. To fix this simply added dataGridView1.AllowUserToAddRows = false; to the beginning of my onclick event and this solves the issue. OR AllowUserToAddRows = false; from datagridview properties
@Fype_YouTube
@Fype_YouTube Жыл бұрын
@@RashiCode thanks I have one last question, when it is a pdf, how should I adjust those dimensions so that there is no distortion?
@abrarali4903
@abrarali4903 Жыл бұрын
@@RashiCode even after doing this still error is showing
@yorbindimolina3253
@yorbindimolina3253 5 ай бұрын
lo solventaron??
@MrWick-el4wk
@MrWick-el4wk 2 жыл бұрын
How to make that it ignores one or more columns? and how to make text smaller or pdf bigger that more stuff could be added?
@RashiCode
@RashiCode 2 жыл бұрын
i will check if i found any solution i will share with you
@MrWick-el4wk
@MrWick-el4wk 2 жыл бұрын
@@RashiCode epic
Export DataGridView To Excel In c# Windows Application Step By Step
12:17
How to Export Datagridview to PDF in C# Windows Application
21:36
Csharp Space
Рет қаралды 40 М.
Throwing Swords From My Blue Cybertruck
00:32
Mini Katana
Рет қаралды 11 МЛН
SCHOOLBOY. Мама флексит 🫣👩🏻
00:41
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 6 МЛН
АЗАРТНИК 4 |СЕЗОН 1 Серия
40:47
Inter Production
Рет қаралды 1,3 МЛН
Sigma Girl Pizza #funny #memes #comedy
00:14
CRAZY GREAPA
Рет қаралды 3 МЛН
C# - How to Export DataGridView Data to Ms Excel File in Visual C#
7:57
Export C# DataTable into Pdf using  iTextSharp
9:25
CodAffection
Рет қаралды 68 М.
How to print datagridview data in crystal report in c#
12:40
RashiCode
Рет қаралды 16 М.
Cursor Is Beating VS Code (...by forking it)
18:00
Theo - t3․gg
Рет қаралды 93 М.
BEST Way to SEND DATA between Multiple Forms | C# Windows Form
6:25
The Amazing Codeverse
Рет қаралды 170 М.
OpenAI Strawberry aka 01 Is OUT - All You Need To Know!
13:15
Throwing Swords From My Blue Cybertruck
00:32
Mini Katana
Рет қаралды 11 МЛН