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?
How can i use Outlook to implement an internal messaging system in a small intranet, which resembles a mailing system. including security features like usernames and passwords. Or is there another way of doing this?
a combobox that allows users to choose from several values. the user may write values in the combobox(as in a textbox). the new values writtem should be saved in the list property so that the next time the program is used, the new value is not lost. and all this without using a database. Can...
i have some form names stored in an access database. I retrieve them in a recordset named rstFormName. but i annot use this recordset to open the forms. how can this be done?
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.