3
Answers

Access database

kawaljit  singh

kawaljit singh

15y
2.8k
1

Hi everybody,
I am having problem with this query

I am using Access database and asp.net c# 2.0 to reterieve things using this query

select count(*) as itemTotal from schoolitemmap where (schoolid =1 and OrderDate = 8/3/2009) and itemId = 1
this query does not return nything.

(this date used in query is in m/d/y format as a string)

and m using date() function as default value for OrderDate field in database which is also in format (m/d/y)

Plase help .......
Thanks

Answers (3)
0
Jayraj Chhaya

Jayraj Chhaya

313 6k 93.5k 1y

When copying text along with images from a Word file to a Kendo editor, the issue might be related to how the editor handles image data. To ensure that both text and images are copied correctly, you may need to handle the image data separately during the copy operation. One approach is to extract the image data from the Word file and insert it into the Kendo editor as an image element.

// Extract image data from Word file
byte[] imageData = GetImageDataFromWordFile("path/to/word/file.docx");

// Insert image into Kendo editor
string imageHtml = $"<img src='data:image/png;base64,{Convert.ToBase64String(imageData)}'>";
kendoEditor.InsertHtml(imageHtml);

By extracting the image data and inserting it as an image element with the appropriate base64 encoding, you can ensure that both text and images are copied correctly into the Kendo editor.