Rawan Mansour

0

votes
2

answer
34

views

Pass a dynamic object type to method

I have a method that return data from API ,the returned data will be differ upon the return object type.How can I do that? public static dynamic getObjectDataRequest(string ControllerName,string ActionName,dynamic returnObj,object Params) { string URL = getAPIURL(); string RequestURL = URL + "/" +...
Rawan Mansour
1

votes
1

answer
51

views

Convert HTML to PDF using iTextSharp does not support Arabic language

I am using iTextSharp to convert HTML Contents into PDF File ,but I have a problem when the HTML Content in Arabic it's be like this: and that's my code: Public Shared Function ExportToPDF(lang As String) As String Try Dim stringWrite As New System.IO.StringWriter Dim htmlWrite As New HtmlTextWriter...
Rawan Mansour
2

votes
0

answer
116

views

Set Selected Items multi-select drop-down in VB.Net

I am trying to set the selected Items that came from the Cookie that separated of "," to the multi select bootstrap drop-down list . that's my Code and I have this Error. Dim lst As List(Of UserSurvey) Dim SelectedProperties = CookiesManager.GetSubCookieValue("TokenSelections", "TokenProperties").T...
Rawan Mansour
1

votes
2

answer
37

views

Wrap the id of list item and save it in table td

I have a list of items inside table cells, in each cell I have a list item. What I want? When I save the table I want to save the id of each list item into the cell that the list item inside it. Like this: contents and I want to save this: itemID Any way to do that?
Rawan Mansour
3

votes
1

answer
2.1k

views

send an email using SMTP without password in C#

I have a web application using ASP.net and C#,in one step it will need from the user to send an email to someone with an attachments. my problem is when the user will send the email i don't want to put their password every time the user send. i want to send an email without the password of the send...
Rawan Mansour