13,153 Topics
![]() | |
Make the necessary changes to the web-service project in the web.config file to make it accessible to the HTTP GET & POST calls. This is a simple Java program illustrating how you can consume the .NET web-service in Java program. import java.io.*; import java.net.*; public class WebService { public static … | |
Today the [URL="http://www.mono-project.com"]Mono Project[/URL] released the much-anticipated Mono 2.0 for Linux. After two-and-a-half years in development, Mono 2.0 is finally here and ready to run your .NET 2.0 applications, Windows Forms, ASP.NET content on Mac OS X, BSD and Linux. Mono is multi-language capable--choose your own path from C#, VB, … | |
Making what now seems like the next logical step for operating system evolution, VMware today told the world about [url=http://www.vmware.com/technology/virtual-datacenter-os/]Virtual Datacenter OS[/url], which it positions as a way to "pool all types of hardware resources--servers, storage and network--into an aggregated on-premise cloud." The solution gives enterprise administrators flexibility and options … | |
Virtualization tools company Xenocode today is set to begin shipping an update to Postbuild 2008 for .NET, which enables developers to deploy .NET applications to systems that do not have the .NET framework installed or have a mismatched version. The update adds support for .NET 3.0 and 3.5, Visual Studio … | |
Virtualization of operating systems is all the rage these days; the benefits to software developers and testers are clear. What if you could virtualize applications? According to [URL=http://www.xenocode.com/]Xenocode[/URL], you can. The company today released [URL=http://www.xenocode.com/Products/Studio/]Virtual Application Studio[/URL], a US$40-per-seat environment that turns an application into a self-contained executable, able to … | |
As a programmer who until [B]very[/B] quite recently chose C#.NET as his main language, WPF was thrust upon me like an anvil in your favorite 90s cartoon. There was no avoiding it... And for that, I'm glad -- mostly. The Windows Presentation Foundation is a UI subsystem of the Microsoft … | |
As with most early-to-mid twenty-somethings out there, I grew up on a healthy portion of video games. When I was about 6 or 7, my family invested in our first Nintendo, which changed our lives forever. Fortunately for us, it didn't shift our lives in the direction of endless bags … | |
ASP.net 2.0 introduced themes. Theme consists of several files: CSS styles, skin file and images. You create theme by adding App_Themes folder in your project in solution explorer panel. Right click on project - Add ASP.net folder - Theme Now that we created theme we can add files into it. … | |
Windows Workflow Foundation, Microsoft's framework for managing workflow, is reportedly ahead of schedule and could well be available for Windows Vista next year, rather than not ready until Longhorn Server is released in 2007 as previously believed. WWF will also be made available for Windows XP Service Pack 2 and … | |
McAfee, Inc., a leader in intrusion prevention, announced that its security services group, Foundstone Professional Services, will release a whitepaper on Microsoft ASP.NET Forms Authentication and "cookie replay" attacks. The whitepaper will be located at [url]http://www.foundstone.com/index.htm?subnav=resources/navigation.htm&subcontent=/resources/whitepapers.htm[/url]. In response, Microsoft authored an MSDN article: [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;900111[/url]. What is a "cookie replay" attack? … | |
Most ASP.NET Developers have no previous web development experience. Is that a true or false statement? I suspect it's true, but found no statistics to back it up. However, judging from posts in several technical forum sites, one certainly gets that impression. "Halt App Until JavaScript Confirm Dialog Clicked". "JavaScript … | |
Sometimes you might need to have checkboxes for each row in a GridView control (like Inbox in Gmail). This code snippet helps to select/unselect all checkboxes in the GridView control by clicking the header checkbox. The selectUnselectCheckboxes() javascript function handles this fuctionality. This function is called in the CheckBox in … | |
Uploading a file to a specific folder inside the virtual directory. | |
aspnet_regsql is a tool user for installing membership, role and personalization tables to Sql Server. 1. Porting all tables to Sql Server 2. Porting only membership tables to Sql Server 3. Removing all membership and role tables 4. Removing Personalization tables. I am be posting a detailed blog on Membership … | |
Web site Administration Tool is accessible only from the hosting server. Many times programmers won't have direct access to the the hosting server. So knowledge of ASP.Net Membership classes is an added advantage in creating an administrative module for the site. In this code snippet we will take up: 1. … | |
Easy way to showing messageboxes in asp.net using c# | |
I am trying to accomplish a Master Detail Display here. The master item is ProductName and Child items are the details of the Product. Example: Dell Desktop V305 - Model: Black - 23877487y24y - Mother Board - Intel .... - RAM - 3 GB DDR HP Printer - Ink Jet … | |
Hello, I have simple ASP.net web form. With a simple click on a button i need to call a the Multithread process in order to execute my querry in SQL Server DB. I know that my querry willl take up to 45 min to be executed. While the process is … | |
Hi Friends, I need your urgent help.. I have a .txt file which contains some details columnwise, i have to import this .txt file in MS-Access datbase using ASP .Net. Actually I am creating web application. After that data will have imported in access database, I'll display it in a … | |
[CODE] [language =c#] System.Net.Mail.MailMessage myMail = new System.Net.Mail.MailMessage(); myMail.To.Add("someemailid.com"); myMail.From = new MailAddress("someemailid@someemailid.com", "someemailid ", System.Text.Encoding.UTF8); myMail.Subject = "user Information"; myMail.SubjectEncoding = System.Text.Encoding.UTF8; SmtpClient client = new SmtpClient(); client.Host = "localhost"; client.Port = 25; client.Send(myMail); [/CODE] The above code i have used in asp.net page Its showing client.Send(myMail) failed ////////////////// … | |
hi friends,i wrote download code as response.clear() response.addheader(..) response.contenttype() response.writefile(..) response.end() it is working in IE .but when i use firefox it is not asking the location to save .it is by default saving on desktop.how to make it to ask for location to save thank you friends | |
Hi, i have a user table in backend with many columns n from that i need to user the email id and password for login. I have read the data in my code using a data reader, but am not getting how to match the entered username and password by … | |
Hi all, Here i tell you about my application and the problem i faced in that application. In my aspx page, i have tabcontainer with 3 tabpanel. One of the panel is having 2 repeater control for displaying no of zones and zone details respectively. The 2nd repeater which is … | |
Hello everyone! I am currently working on a project, part of which involves allowing users to upload media files. Now the problem lies here. A user's media directory is created when they add their first file. What I want to do is dynamically add a web.config file to the folder … | |
Hi, Inside my formView, in the InsertItemTemplate, I have the following code: [CODE]<tr> <td align="right"> <b>Field</b> </td> <td> <asp:TextBox ID="MyTextBox" Text='<%# Bind("Field") %>' runat="Server" /> <asp:Button ID="myButton" Text="Find Matching Results" runat="server" OnClick=" myButton_Click" /> </td> </tr>[/CODE] In myButton_Click, all I do is bind a CheckBoxList with the results from the … | |
I want to give keywords related to my project in web config file so that searching my website in google should become easy. Please specify the code | |
Hi everyone, May i know that how to validate user whether login or havn't login from the default.aspx. Using Session? If Session("Username") = "" Then Response.Redirect("Login.aspx") End If or is there anyother way?? Thanks | |
Hello, I have a couple question. I have experience with a couple programming langagues but I am new to ASP.net. I am trying to create a web Application in C#. My first questions has to do with layouts. I am trying to make it so that all requests go through … | |
What I want to do is get a users current login username, and pass it to an SQL query which will search a table and return all entries belonging to that person. Ive managed to pass the username onto a label when that person logs in. [code] Protected Sub Page_Load(ByVal … | |
Hi friends, I am learning ASP.NET. I have designed a login form with username and password.The code i have given in Button click event is: SqlConnection con; SqlDataReader dr; int t; con = new SqlConnection("Persist Security Info=False;Uid=sa;Password=q1w2e3/;Initial Catalog=YOGADATA;Data Source=PC-1"); con.Open(); SqlCommand com = new SqlCommand("select * from Login", con); t … | |
[ICODE] private void btnplay_Click(object sender, EventArgs e) { objConn.Open(); string str1 = "select s from Table1"; OleDbCommand objComm = new OleDbCommand(str1, objConn); OleDbDataReader dr = objComm.ExecuteReader(); dr.Read(); Byte[] bindata = (byte[])dr.GetValue(0); FileStream fs1 = new FileStream("C:\\dummy\\Buffer.mp3", FileMode.Create, FileAccess.ReadWrite); BinaryWriter bw = new BinaryWriter(fs1); int filelength = bindata.Length; bw.Write(bindata); fs1.Write(bindata, 0,filelength); … | |
I am kinda mixed up right now..... CAN IIS and APACHE work in the same machine? from my [URL="http://www.daniweb.com/forums/thread203902.html"]thread [/URL](marked as solved) XAMPP + VISUAL STUDIO + MS SQL SERVER [while mysql is running] can exist in one machine. I have projects both in APACHE and ASP +IIS [not in … | |
i want to values sending with checkbox in asp.net using C# to another page | |
I need the functionality of move up and down the nodes in tree view in c#.net site.If any one knows please tell me . | |
hello friends.. im doing testing application by using C#..here the candidate entered into the test part, the system should not allow to view other file/folders in the PC by using key board shortcuts like ALT+TAB.. after exiting from test screen we can use evrything.. give some suggestions for this issue … | |
hello all, i m making an online aptitude test website in ASP.NET using C#. ur help will be highly appreciated. * 1st is that how can we display the time(we want to disply the time in digits while the student is taking test so that he can keep track of … | |
Hi All, I just don't know whether how correct my quetion is. But the problem i am encounterign while deveoping a website in ASP.NEt is that, when I run my website in IE it shows me the correct design as it has been set in the Forms, but when I … | |
Hello all; I have a couple of DropDownList fields and a submit button. When the button is clicked, I'd like the 'ddlPartNumber.SelectedValue' to populate a field on a DetailsView. The DetailsView1 is in Insert mode and the field I would like to populate is 'PartNumber' which is a Text field. … | |
Hello, Please help me. So far nobody was able to help. I am trying to assign a dynamically created LinkButton to a string value. I have a function and there is definitely something wrong with it and I need someone to tell me if it can be done or not. … | |
Hi, I have a project in asp.net which includes mssql database. when i tried to back it up simply by copying the folder, I then tried to open the project through visual studio, but it did not open. So how can i back up my project ? also my operting … | |
Hi, In my page, I have a GridView and a FormView. Every time a selected item in the GridView is edited in the FormView, both the GridView and the FormView are updated. In the FormView, I have a couple of textBoxes and a checkBoxList. I want to bind the checkBoxList … | |
Had visual web developer 2008 installed and was instructed to download and install SP1 all kinds of problems and now can't install at all. machine is running Vista Home Premium. I am baffled and have used these products for several years now. Here is a list of the errors and … | |
Dear All, For handling session time out i have used the asax for writing log files. I got the IIS event viewer - Application warning saying that unhandled exception occured. The warning message is below. Please help me to fix this issue. Event occurrence: 1 Event detail code: 0 Application … | |
Hi, I'm using a dataTable to process some data onto a webpage. The Page_Load calls the sub that access the database and sets up a dataTable. Another sub is then called which processes the dataTable and outputs to the webpage. That all works fine. I want to add a drop … | |
hi, how to add the values of two text boxes when the tab index changes ie i have entered value in 10 in textbox1 and entered value 15 in textbox2 when i press on tab then the cursor changed to text box3 and the sum 25 is printed in text … | |
I'm fairly new to C#. I’ve recently embarked on a web project using asp.net Visual Web Developer. I'm having some issues with the commands for running calculations on a number of web forms. Some of the web form consist 10 or more numerical fields. Each form has a Total field. … | |
Hey Guys, I have a Vista Home Premium SP 1. I installed Visual Studio 2005 n it was working fine until today. When i tried to open VS 2005 it gave the following dialog box: "One or more components missing. Please reinstall the application" First of all i repaired the … | |
Hi All, I'm working on [B]online security register[/B].So I want to caputre image using webcam to the application and store the image path in database. How can I implement this using c#.net? | |
I have created a custom error page for 404.13, which is what occurs when a user attempts to upload a file larger than a size set in the config files under maxAllowedContentLength. I want my .aspx file to say something like: Maximum allowed file size=________KB Trouble is, I can't figure … | |
My web application developed on O.S. ====Windows XP Professional IIS ------- IIS 5.1 Dot.net framwork 2.0 AjaxControlToolkit----ASPAJAXExtSetup.msi Database – Access2003 But when I access that application and do some of task on web page like add,modify or delete, below given error occured. Please do the needful if you have any … |
The End.