I have an update function in my data layer which is defined as:
public int UpdateRBTable(parameters ...) This calls a SQL Server Stored Procedure to perform an update function on the database.
The process does its job for updating the table. However, the stored procedure has a return value (which indicates how many rows were updated), but this return value is not returned to the application. The application always shows that a zero was returned from the stored procedure.
Can my WebMethod return an XmlDocument as return type?
When I try to consume the web service I'm still not getting XML. It appears as though a reference to the method is being returned rather than say a string containing XML.
<WebMethod()> _ Public Function CustomerSearch(ByVal lastName As String, ByVal firstName As String, ByVal companyName As String, ByVal city As String, ByVal state As String, ByVal email As String) As XmlDocument ' Create XML doc Dim doc As XmlDocument = New XmlDocument() ' some more code Return doc End Function
How to get asp.net return drop down list to return value as int
I want to pass the value to a stored procedure as an integer. But the default appears to be as a string which is not what the store procedure is expecting.
Is there a good way to return the list values as ints?
I suspect I can you set the value on the change selection event, is there another way?
I guess the best way to put this is I want to use ASP.NET's login controls, but I dont want to use sqlexpress, I want to use SQL Developer 2008 R2. How do I go about setting this up.
I am volunteering to build a web application for my town's library. When I finish it I want the librarian to be able to run it from the desktop, but I know I have to enter MS web developer and then press run in order to start the server, and just then the web app can run.
How do I run the web app. without entering the program?
I have around 2 years of experience in asp.net 2.0. My C# is a little weak compare to asp.net. Which are the best books for me to learn c#4.0 in a detailed manner.
I have a noob question about asp.net programming. I see books that say asp.net programming using C# or VB ect. I want to program asp.net using vb, so my question is in order to make a asp.net application would I make that in VB or would I make that in Virtual Web Developer?
I am volunteering to build a web application for my town's library. When I finish it I want the librarian to be able to run it from the desktop, but I know I have to enter MS web developer and then press run in order to start the server, and just then the web app can run.
How do I run the web app. without entering the program?
while running website in visual web developer it displays page cannot be loadedbut at the same time in new project asp.net web appication runs wellwell it is a client server model how to make website running in this mode
Is it possible to track bugs in a visual web developer website? I want to be able to step through the code so I can see exactly what it is doing but am not quite sure how to do this.
Webforms to Winforms i have this doubt, can i go into c# windows developer after having experience in asp.net? and how is the pay in C# development, and what about the scope? are companies using C# in development?
i am creating a website using visual web developer express edition 2008, i want to create an rss feed where by i will be able to get rss feed news to be updated in my own site. how can i set this up? Or could anyone show me where i can get tutorials for this.
I have a ASP project that I have done before and it was working fine with SQL Serve Express 2005. After formatting my PC, I installed first VS 2008 Pro and then SQL Server Developer 2008 and I'm testing on my laptop but I can't connect to database. After reading a couple of articles I knew that I can't use mdf file because I'm using SQL Developer so it needs another procedure to follow such as changing the parameters in Web.Config
I tried a lot of soultion like start SQL browser Service to be on but still didn't work, also I tried to change the instance name in VS in options but also didn't work with me.
Not sure if this is the best place for this. I am using VWD 2010 express. I want to connect to a MySQL database on my web server at 0000free, a free web hosting site. I'm not exactly sure where to start. I have looked at MySQL for .NET can't make much sense of it. I have been looking for information all over the place maybe someone here can help me.
Can I create app.config or web.config file that applies only to my developer machine, as opposed to using the default configuration files that are checked into source control?
As of recently there is a express edition of the IIS 7. It is bundled with this crazy new tool Web Matrix [URL]. A real IIS instead of the development server in Visual Studio would have many advantages. Does anybody know, if this IIS edition can be separately downloaded? Can it be installed on Windows XP (Professional) ? If yes, are there conflicts with the old IIS 5.1 on XP? Can it be integrated in Visual Studio (2008, 2010)?
I used MySql for the database and download both the ODBC and .NET connetors (drivers) for it. Everything worked. Then, about 2 years ago, the server had to be replaced and the intranet was not put back on like it was originally. I had it as the default website. The contract computer guys made itNot the default. Everything works on the site as it did except for the ASP.NET Configuration page, the one that you click on from within Visual Web Developer by going to Website>ASP.NETConfiguration.
web.config is <add name="connectionString" connectionString="Database=mydb;Data Source=localhost;User Id=xxxxx;Password=pppppp"/> Line 23: using System.Web.Security;Line 24: Line 25: using MySql.Data.MySqlClient;Line 26: using MySql.Data.Types;Line 27:
I installed ajax control toolkit in visual web developer 2010 express, When I drag Ajax control on design area, its unable work .Otherwords I unable drag the Ajax controls I need walkthrough for ajax enable webiste
Chaps, I've run into this problem which is widely known and documented but I can't get it resolved. I created a new file system website in VWD. I clicked the ASP.NET Configuration icon in the solution explorer. It launches the WAT tool. I select the Security tab and I get this error:There is a problem with your selected data store. This can be caused by an invalid server name or credentials, or by insufficient permission. It can also be caused by the role manager feature not being enabled. Click the button below to be redirected to a page where you can choose a new data store.
Is there anything one needs to do to the website (originally built with WebMatrix) to work it under Visual Web Developer Express 2010 now that VS 2010 SP1 is out? I made a full copy of my website and tried to run it under VWD-E. Keep getting "Empty Stack" error. Have no idea of what that is, but it references code in the _AppStart.cshtml page involving the WebSecurity class and ebMail helper.