13,153 Topics

Member Avatar for
Member Avatar for pranava

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 …

0
43
Member Avatar for khess

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, …

Member Avatar for scru
0
198
Member Avatar for EddieC

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 …

0
174
Member Avatar for EddieC

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 …

Member Avatar for EddieC
0
187
Member Avatar for EddieC

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 …

Member Avatar for audinue
0
641
Member Avatar for scru

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 …

0
171
Member Avatar for PirateTUX

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 …

0
59
Member Avatar for ManicCW

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. …

0
78
Member Avatar for Catweazle

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 …

0
170
Member Avatar for tgreer

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? …

0
187
Member Avatar for tgreer

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 …

-1
138
Member Avatar for Ramesh S

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 …

0
319
Member Avatar for Shalvin
0
136
Member Avatar for Shalvin

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 …

0
148
Member Avatar for Shalvin

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. …

0
103
Member Avatar for serkan sendur
Member Avatar for sydneyram

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 …

0
280
Member Avatar for paulnamroud

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 …

Member Avatar for paulnamroud
0
129
Member Avatar for mubin_attar

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 …

Member Avatar for kvprajapati
0
46
Member Avatar for coollife

[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 ////////////////// …

Member Avatar for coollife
0
108
Member Avatar for k.vijayakumar

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

0
83
Member Avatar for Haimanti

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 …

Member Avatar for Haimanti
0
79
Member Avatar for sksJegadeesh

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 …

0
36
Member Avatar for sid78669

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 …

0
49
Member Avatar for Ana D.

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 …

Member Avatar for GeekByChoiCe
0
81
Member Avatar for coollife

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

Member Avatar for Ramesh S
0
55
Member Avatar for calvinkwoo3000

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

Member Avatar for Ramesh S
0
90
Member Avatar for hramos

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 …

Member Avatar for ryuslash
-1
85
Member Avatar for ricksvoid

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 …

Member Avatar for ricksvoid
0
148
Member Avatar for sudharani

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 …

Member Avatar for hramos
0
92
Member Avatar for coollife

[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); …

Member Avatar for sknake
0
62
Member Avatar for php_noob

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 …

Member Avatar for Ramesh S
0
126
Member Avatar for santhoshvarma.a
Member Avatar for peter_budo
0
1K
Member Avatar for meghagoel

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 .

Member Avatar for Ramesh S
0
70
Member Avatar for karthik4444

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 …

Member Avatar for serkan sendur
0
42
Member Avatar for ariez88

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 …

Member Avatar for yoteach
0
101
Member Avatar for Piya27

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 …

Member Avatar for sknake
0
63
Member Avatar for car123

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. …

0
47
Member Avatar for lm111

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. …

Member Avatar for anuj_sharma
0
121
Member Avatar for icarium

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 …

Member Avatar for anuj_sharma
0
256
Member Avatar for Ana D.

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 …

0
54
Member Avatar for RonRad

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 …

0
53
Member Avatar for vasanth.kanna

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 …

0
68
Member Avatar for hericles

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 …

0
98
Member Avatar for mohankumar554

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 …

0
68
Member Avatar for phillon

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. …

Member Avatar for peter_budo
0
83
Member Avatar for anuj_sharma

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 …

Member Avatar for anuj_sharma
0
100
Member Avatar for bshyama24@gmail

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?

Member Avatar for kvprajapati
0
69
Member Avatar for EatenByAGrue

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 …

Member Avatar for sknake
0
150
Member Avatar for AbhishekGoenka

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 …

Member Avatar for sknake
0
373

The End.