I have a quick question concerning SQL. In the page load event, I am tryinging to enable an option for a person who originally created the article to edit it. I am trying to pull the data from the varible which is populated with right data...but am unsure of the command. With the code shown the problem is clear...
If Not Request.QueryString("id") Is Nothing Then
Dim i As Integer = Convert.ToInt32(Request.QueryString("id"))
Dim a As New ArticlesDataSet.ArticlesDataTable
Dim _ArticlesBBL As New ArticlesBLL
Dim b = _ArticlesBBL.GetDataByArticleID(i)
If User.Identity.Name <> b.ArticleCreatedByColumn.ToString Then
txtTitle.Text = b.ArticleTitleColumn.ToString
mceBody.Text = b.ArticleBodyColumn.ToString
mceSummary.Text = b.ArticleSummaryColumn.ToString
txtExpDate.Text = b.ArticleExpirationDateColumn.ToString
If Not Page.User.Identity.IsAuthenticated Then
If someone could lead me in the right direction I would be Greatful...
View Complete Post