How to read or preview pdf on datagridview using buttoncolumn in c# winform?

  • Thread starter Thread starter Adisone
  • Start date Start date
A

Adisone

Guest
Hi , Master/ Pro

I am a new dev, today I try to learn about datagridview control and using c#, please suggest about event on buttoncolumn of datagridview , I need to preview pdf from databases.

**** I save pdf on [AGENTCONTRACT]

1359602.png


USE [MLS]
GO
/****** Object: Table [dbo].[AGENCYPROFILE] Script Date: 15-Nov-18 4:14:21 PM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[AGENCYPROFILE](
[AGENTCODE] [nchar](5) NULL,
[AGENTNAME] [nchar](10) NULL,
[AGENTPHONE] [int] NULL,
[AGENTMOBILE] [int] NULL,
[AGENTMAIL] [nvarchar](50) NULL,
[AGENTPHOTO] [image] NULL,
[AGENTQUOTA] [decimal](38, 0) NULL,
[REGISTEREDDATE] [datetime] NULL,
[AGENTCONTRACT] [varbinary](max) NULL,
[ADDRESS] [nvarchar](200) NULL,
[APPROVALBYID] [int] NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]


best regards,

kevin

Continue reading...
 
Back
Top