i use fckeditor 2.6.4 in asp net.
i used BL (business language) and combined with DAL.
on updating process my data, on of content frm fckeditor proposed to insert to the field that is data type is text. the content that comes from fckeditor is not inserted to the required field.
could somebody help me?
thanks in advance,
Liston
coding is attached:
<System.ComponentModel.DataObjectMethodAttribute(System.ComponentModel.DataObjectMethodType.Update, True)> _
Public Function udpate_leftMenuArea(ByVal iddata As Integer, ByVal page_name As String, ByVal headline_title As String, _
ByVal sub_headline_title As String, ByVal headline_content As String, _
ByVal update_by As String) As Boolean
Dim headline_datas As pgpagpo_wrk_headline_DL.PGPA_WRK_HEAD_LINEDataTable = Me.get_pgpagpo_wrk_headline_Adapter.Get_headlines_DataByid(iddata)
If headline_datas.Count = 0 Then
headline_datas = Nothing
Return False
Else
Dim headline_data As pgpagpo_wrk_headline_DL.PGPA_WRK_HEAD_LINERow = headline_datas(0)
If Not IsDBNull(page_name) And Trim(page_name) <> "" Then
headline_data.page_name = page_name
Else
headline_data.Ispage_nameNull()
End If
If Not IsDBNull(headline_title) And Trim(headline_title) <> "" Then
headline_data.headLine_title = headline_title
Else
headline_data.IsheadLine_titleNull()
End If
If Not IsDBNull(sub_headline_title) And Trim(sub_headline_title) <> "" Then
headline_data.sub_headLine_title = sub_headline_title
Else
headline_data.Issub_headLine_titleNull()
End If
If Not IsDBNull(headline_content) And Trim(headline_content) <> "" Then
headline_data.headLine_content = headline_content Else
headline_data.IsheadLine_contentNull()
End If
If Not IsDBNull(update_by) And Trim(update_by) <> "" Then
headline_data.update_by = update_by
Else
headline_data.Isupdate_byNull()
End If
headline_data.update_date = Now()
Dim rowsAffect As Integer = get_pgpagpo_wrk_headline_Adapter.Update(headline_data)
Return rowsAffect = 1
End If
End Function
i used BL (business language) and combined with DAL.
on updating process my data, on of content frm fckeditor proposed to insert to the field that is data type is text. the content that comes from fckeditor is not inserted to the required field.
could somebody help me?
thanks in advance,
Liston
coding is attached:
<System.ComponentModel.DataObjectMethodAttribute(System.ComponentModel.DataObjectMethodType.Update, True)> _
Public Function udpate_leftMenuArea(ByVal iddata As Integer, ByVal page_name As String, ByVal headline_title As String, _
ByVal sub_headline_title As String, ByVal headline_content As String, _
ByVal update_by As String) As Boolean
Dim headline_datas As pgpagpo_wrk_headline_DL.PGPA_WRK_HEAD_LINEDataTable = Me.get_pgpagpo_wrk_headline_Adapter.Get_headlines_DataByid(iddata)
If headline_datas.Count = 0 Then
headline_datas = Nothing
Return False
Else
Dim headline_data As pgpagpo_wrk_headline_DL.PGPA_WRK_HEAD_LINERow = headline_datas(0)
If Not IsDBNull(page_name) And Trim(page_name) <> "" Then
headline_data.page_name = page_name
Else
headline_data.Ispage_nameNull()
End If
If Not IsDBNull(headline_title) And Trim(headline_title) <> "" Then
headline_data.headLine_title = headline_title
Else
headline_data.IsheadLine_titleNull()
End If
If Not IsDBNull(sub_headline_title) And Trim(sub_headline_title) <> "" Then
headline_data.sub_headLine_title = sub_headline_title
Else
headline_data.Issub_headLine_titleNull()
End If
If Not IsDBNull(headline_content) And Trim(headline_content) <> "" Then
headline_data.headLine_content = headline_content Else
headline_data.IsheadLine_contentNull()
End If
If Not IsDBNull(update_by) And Trim(update_by) <> "" Then
headline_data.update_by = update_by
Else
headline_data.Isupdate_byNull()
End If
headline_data.update_date = Now()
Dim rowsAffect As Integer = get_pgpagpo_wrk_headline_Adapter.Update(headline_data)
Return rowsAffect = 1
End If
End Function