I`m trying to upload files in the following directory "c:\\inetpub\\wwwroot\\projectname\uploads", but I`m getting the error "Access Denied". What permissions should i modify to get this working?
Instead of using <%# DataBinder.Eval(Container.DataItem, "fieldname")%> in html, How can i bind data in C# itself, that is, without using the above line in html.
my stored procedure is:-
CREATE PROCEDURE testTables
@tableName sysname,
@name_New varchar(50)
AS
EXEC ('INSERT INTO ' + @tablename + '(name) VALUES (' + @name_New +')')
But, when i execute it as follows:-
testTables 'TESTING','myName'
I get the following error:-
server: Msg 128...
I want to pass a a table name as parameter in a stored procedure to allow it to chioose its table, but it doesnt work. i`ve tried the following:-
CREATE PROCEDURE testTables
@tableName varchar (50),
@name_New varchar(50)
AS
INSERT INTO [@tableName]
VALUES
(@name_New)
testTables...
I have a web service in C# that takes 4 parameters and saves them in a database. How can i invoke this web service in an ASP page and pass the 4 parameters? Note that i dont expect any response from the web service.
I am tryiny to render an xml doc to HTML. the xml is like this:
<?xml version="1.0"?>
<links>
<link name="XML Pitstop" url="http://www.XMLPitstop.com" description="A great place for XML Demos."/>
</links>
I have to display the "name" and "description" attributes as html, that works fine...
How can i merge 2 NTFS partitions, one of which is my primary partition.
In windows 98, we could use the boot disk to manipulate partitions. is there a way to do this in XP?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.