Click here to Skip to main content
15,896,063 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHow to bind a hyperlink in Gridview to the variable in cs file of the same application in ASP.NET2.0? Pin
salon6-Mar-08 3:00
salon6-Mar-08 3:00 
AnswerRe: How to bind a hyperlink in Gridview to the variable in cs file of the same application in ASP.NET2.0? Pin
Laddie6-Mar-08 3:08
Laddie6-Mar-08 3:08 
GeneralRe: How to bind a hyperlink in Gridview to the variable in cs file of the same application in ASP.NET2.0? Pin
salon6-Mar-08 3:24
salon6-Mar-08 3:24 
GeneralRe: How to bind a hyperlink in Gridview to the variable in cs file of the same application in ASP.NET2.0? Pin
Laddie6-Mar-08 4:11
Laddie6-Mar-08 4:11 
GeneralRe: How to bind a hyperlink in Gridview to the variable in cs file of the same application in ASP.NET2.0? Pin
salon6-Mar-08 18:19
salon6-Mar-08 18:19 
GeneralIncorrect syntax near {, must declare the scalar variable @AddedDate, @ArticleID Pin
laziale6-Mar-08 2:30
laziale6-Mar-08 2:30 
GeneralRe: Incorrect syntax near {, must declare the scalar variable @AddedDate, @ArticleID Pin
Paddy Boyd6-Mar-08 2:32
Paddy Boyd6-Mar-08 2:32 
GeneralRe: Incorrect syntax near {, must declare the scalar variable @AddedDate, @ArticleID Pin
laziale6-Mar-08 2:43
laziale6-Mar-08 2:43 
When I did that, I solve that problem but now I have a new error:
for CommentsEnabled and OnlyForMembers, it says Invalid Column Name.
in the table they are declared like [Comments Enabled] and [Only For Members]. Is there any difference, cause I declare them like [Comments Enabled] and [Only For Members] in the stored procedure as well, and it gives me the same mistake.


CREATE PROCEDURE dbo.tbl_Artikl_InsertArticle
(
@AddedDate datetime,
@AddedBy nvarchar(256),
@CategoryID int,
@Title nvarchar(256),
@Abstract nvarchar(4000),
@Body ntext,
@Country nvarchar(256),
@City nvarchar(256),
@ReleaseDate datetime,
@ExpiryDate datetime,
@Approved bit,
@Listed bit,
@CommentsEnabled bit,
@OnlyForMembers bit,
@ArticleID int OUTPUT
)
AS
SET NOCOUNT ON

INSERT INTO tblArtikl
(AddedDate, AddedBy, CategoryID, Title, Abstract, Body, Country, City, ReleaseDate,
ExpiryDate, Approved, Listed, CommentsEnabled, OnlyForMembers)
VALUES (@AddedDate, @AddedBy, @CategoryID, @Title, @Abstract, @Body, @Country,
@City, @ReleaseDate, @ExpiryDate, @Approved, @Listed, @CommentsEnabled, @OnlyForMembers)
SET @ArticleID = scope_identity()
GeneralRe: Incorrect syntax near {, must declare the scalar variable @AddedDate, @ArticleID Pin
Paddy Boyd6-Mar-08 2:45
Paddy Boyd6-Mar-08 2:45 
GeneralRe: Incorrect syntax near {, must declare the scalar variable @AddedDate, @ArticleID Pin
laziale6-Mar-08 2:53
laziale6-Mar-08 2:53 
GeneralCall Web Service from ASP Pin
NeerajOzha6-Mar-08 1:49
NeerajOzha6-Mar-08 1:49 
GeneralWrong forum Pin
pmarfleet6-Mar-08 1:50
pmarfleet6-Mar-08 1:50 
QuestionHow to access a control with in update panel from .cs file Pin
Niya6-Mar-08 1:13
Niya6-Mar-08 1:13 
AnswerRe: How to access a control with in update panel from .cs file Pin
eyeseetee6-Mar-08 1:16
eyeseetee6-Mar-08 1:16 
AnswerRe: How to access a control with in update panel from .cs file Pin
Laddie6-Mar-08 3:11
Laddie6-Mar-08 3:11 
GeneralRetrieve the Grid row index Pin
SreejithAchutan6-Mar-08 0:20
SreejithAchutan6-Mar-08 0:20 
GeneralRe: Retrieve the Grid row index Pin
Laddie6-Mar-08 0:27
Laddie6-Mar-08 0:27 
GeneralRe: Retrieve the Grid row index Pin
SreejithAchutan6-Mar-08 1:03
SreejithAchutan6-Mar-08 1:03 
GeneralRe: Retrieve the Grid row index Pin
eyeseetee6-Mar-08 1:15
eyeseetee6-Mar-08 1:15 
GeneralRe: Retrieve the Grid row index Pin
SreejithAchutan6-Mar-08 1:26
SreejithAchutan6-Mar-08 1:26 
GeneralRe: Retrieve the Grid row index Pin
SreejithAchutan6-Mar-08 2:14
SreejithAchutan6-Mar-08 2:14 
GeneralRe: Retrieve the Grid row index Pin
eyeseetee6-Mar-08 2:41
eyeseetee6-Mar-08 2:41 
GeneralConvert AJAX Calender Control's datetime to ASP.NET2.0 DateTime Pin
salon5-Mar-08 23:53
salon5-Mar-08 23:53 
GeneralRe: Convert AJAX Calender Control's datetime to ASP.NET2.0 DateTime Pin
Laddie5-Mar-08 23:57
Laddie5-Mar-08 23:57 
GeneralRe: Convert AJAX Calender Control's datetime to ASP.NET2.0 DateTime Pin
salon6-Mar-08 0:02
salon6-Mar-08 0:02 

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.