• python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Facebook Twitter Instagram
Devs Fixed
  • python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Devs Fixed
Home ยป Resolved: GridView OnRowData Bound, Img_Data from SQL Base64string without templatefild

Resolved: GridView OnRowData Bound, Img_Data from SQL Base64string without templatefild

0
By Isaac Tonny on 17/06/2022 Issue
Share
Facebook Twitter LinkedIn

Question:

On my page i have a Gridview fildet over SQl Auto witout Template Filds. All setting are code behind. ondatabound
Now i have a Base64 String in the sql table and gridview dont schow image. i see the base64string in the result.
How i can convert the string to image in code behind section witout TemplateFilds in aspx. Templatefild is not able Gridview is dinamicel over multible combination of databases. Just the firs 2 columns are staic.
ASPX
C#

Answer:

manipulate your SQL so the output is like below, How to display Base64 images in HTML

If you have better answer, please add a comment about this, thank you!

.net asp.net c# gridview
Share. Facebook Twitter LinkedIn

Related Posts

Resolved: Unable to run Docker .NET 6 console image

02/04/2023

Resolved: Input Focus between two React Components

02/04/2023

Resolved: linq2db throws exception when filtering by nested collection

02/04/2023

Leave A Reply

© 2023 DEVSFIX.COM

Type above and press Enter to search. Press Esc to cancel.