Click here to Skip to main content
15,885,067 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: What manual do i need. Pin
Richard Deeming16-Mar-17 6:49
mveRichard Deeming16-Mar-17 6:49 
GeneralRe: What manual do i need. Pin
xiecsuk17-Mar-17 0:07
xiecsuk17-Mar-17 0:07 
Questionacquire data from a website Pin
Member 1306012114-Mar-17 23:17
Member 1306012114-Mar-17 23:17 
QuestionRe: acquire data from a website Pin
ZurdoDev15-Mar-17 1:16
professionalZurdoDev15-Mar-17 1:16 
QuestionOpen template word doc and replace values Pin
byka14-Mar-17 5:34
byka14-Mar-17 5:34 
SuggestionRe: Open template word doc and replace values Pin
CHill6014-Mar-17 5:43
mveCHill6014-Mar-17 5:43 
AnswerRe: Open template word doc and replace values Pin
Richard Deeming14-Mar-17 6:54
mveRichard Deeming14-Mar-17 6:54 
GeneralRe: Open template word doc and replace values Pin
byka14-Mar-17 8:09
byka14-Mar-17 8:09 
Below is my code. I can't figure out how to find specific text and replace it
VB
Dim byteArray As Byte()
Dim myDataTable As DataTable = objDB.GetTemplates(plan.YearCode, "Templates", plan.State)

           If Not myDataTable Is Nothing AndAlso myDataTable.Rows.Count > 0 Then
               byteArray = DirectCast(myDataTable.Rows(0).Item("Template"), Byte())
           Else
               Throw New Exception("Unable to retrieve the specified template")
           End If


           Using mem As MemoryStream = New MemoryStream
               mem.Write(byteArray, 0, CInt(byteArray.Length))
               Using doc As WordprocessingDocument = WordprocessingDocument.Open(mem, True)

               ??? How do I find specific word and replace it

              Helper.DownloadStream("Schedule" &" .docx", mem, Helper.WORD_CONTENT_TYPE)
               End Using
           End Using

GeneralRe: Open template word doc and replace values Pin
Richard Deeming14-Mar-17 11:06
mveRichard Deeming14-Mar-17 11:06 
QuestionDotnet Core Reference Issue Pin
S_A_S9-Mar-17 0:11
S_A_S9-Mar-17 0:11 
AnswerRe: Dotnet Core Reference Issue Pin
Afzaal Ahmad Zeeshan14-Mar-17 11:53
professionalAfzaal Ahmad Zeeshan14-Mar-17 11:53 
QuestionApi post call works on postman but in mobile app or ajax call it doesn't Pin
mrkeivan8-Mar-17 18:36
mrkeivan8-Mar-17 18:36 
AnswerRe: Api post call works on postman but in mobile app or ajax call it doesn't Pin
F-ES Sitecore8-Mar-17 23:08
professionalF-ES Sitecore8-Mar-17 23:08 
GeneralRe: Api post call works on postman but in mobile app or ajax call it doesn't Pin
mrkeivan9-Mar-17 0:05
mrkeivan9-Mar-17 0:05 
GeneralRe: Api post call works on postman but in mobile app or ajax call it doesn't Pin
F-ES Sitecore9-Mar-17 0:18
professionalF-ES Sitecore9-Mar-17 0:18 
GeneralRe: Api post call works on postman but in mobile app or ajax call it doesn't Pin
mrkeivan9-Mar-17 17:56
mrkeivan9-Mar-17 17:56 
GeneralRe: Api post call works on postman but in mobile app or ajax call it doesn't Pin
F-ES Sitecore9-Mar-17 22:51
professionalF-ES Sitecore9-Mar-17 22:51 
GeneralRe: Api post call works on postman but in mobile app or ajax call it doesn't Pin
mrkeivan9-Mar-17 23:35
mrkeivan9-Mar-17 23:35 
GeneralRe: Api post call works on postman but in mobile app or ajax call it doesn't Pin
mrkeivan9-Mar-17 18:54
mrkeivan9-Mar-17 18:54 
SuggestionRe: Api post call works on postman but in mobile app or ajax call it doesn't Pin
Richard Deeming9-Mar-17 1:18
mveRichard Deeming9-Mar-17 1:18 
GeneralRe: Api post call works on postman but in mobile app or ajax call it doesn't Pin
mrkeivan9-Mar-17 17:57
mrkeivan9-Mar-17 17:57 
QuestionASP.NET C# -STRING PROCESSING Pin
batman568-Mar-17 18:04
batman568-Mar-17 18:04 
SuggestionRe: ASP.NET C# -STRING PROCESSING Pin
Richard MacCutchan8-Mar-17 21:17
mveRichard MacCutchan8-Mar-17 21:17 
AnswerRe: ASP.NET C# -STRING PROCESSING Pin
Richard Deeming9-Mar-17 1:15
mveRichard Deeming9-Mar-17 1:15 
QuestionError Inserting data - into the database. Pin
samflex6-Mar-17 3:28
samflex6-Mar-17 3:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.