13,936 Topics
![]() | |
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 … | |
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. … | |
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 … | |
This is error messages. Server Error in '/trialwebsite' Application. Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that … | |
Hello, I have been working with ASP.NET for quite sometime now. I wanted to know if we have DataBinding functionality in JSP too? | |
Hi, I have a table maintenance page, and it has several details rows (and its respective maintenance page for that detail). Then I want to edit the detail using the modalpopupextender. I don't want to duplicate codes using the same that I have already. So I'm wondering, if its possible … | |
Hi everyone, Please, I need source code for calculating molecular weight(molecular weight calculator) in asp.net using C#. My application is to allow users to enter molecular formular into a textbox say textbox1 expecting the corresponding molecular weight in another textbox called textbox2. All of these should be stored in the … | |
Hi friends, I would like to achieve a task which can be better understood by pics The url is :[url]www.samachar.com[/url] In the below pic u can see the link to the different news sites. Used rss I guess , but the thing is when we click the link the content … | |
I am having a form where in user enters their details and at the end i am displaying an image and verification code ( which is 6 digit number and i am generating this by using rand function ) The only thing for which i need solution is i want … | |
hi to all, I want to give user facility to download files from my website. so, user first view it. I saved file path in data table, but I don't know how to change href value dynamically..? or any other solution exist? | |
Anyone please help me i want to add a splash screen on asp application. I want the splash which can appear for few seconds(E.g when u just log in here in this site) | |
Hi All, I want consume a web service in my application that is in a different network or different system. If the name of the web service is unknown to me then what is the procedure to find out? | |
Hi I am using xml and xslt for generate MS word doc. In xml there is a attribute <Comment></Comment> This comment attribute contains Rich text(HTML formatting) and this attribute is populated dynamically. I generate doc by using following function [code=c#]public static byte[] CreateWord(XmlReader xmlData, XmlReader xsltReader) { // Initialize needed … | |
I am retrieving the byte contents from the database I am creating a new file using [CODE] Byte[] bindata = (byte[])dr.GetValue(0); FileStream fs1 = new FileStream("C:buffer.txt", FileMode.Create, FileAccess.ReadWrite); BinaryWriter bw = new BinaryWriter(fs1); [/CODE] Please tell me what to do next to store the binddata byte[] into buffer.txt | |
Hello everyone, Could someone please give me a good explanation about what I can do with it? I can't really find it on Google.. Thanks in advance, Davey | |
I have a web based application and i want the objects (i.e. textboxs, labels) to be locked into position. If i resize the window it rearranges everything amd starts looking sloppy. Any help? | |
How do i update a database from dataset. [code]SqlDataAdapter.Update()[/code] is not working | |
hello everyone, this is my first post. i'm working on something that seems quite simple but i don't have the know-how. i want to populate a gridview in a web application with a field selected from a drop down list. basically, once you select an item is selected from a … | |
[COLOR="Red"][I][/I][/COLOR] hiiiiiiiiiii ds is kiran as a software tester i`m changing my platform to dot net i need ur help how to get a job in Malaysia and pls support me plsss | |
Hi, I have some problem with using variables, I am making a form in C#?asp.net . Now in my web application form I am having two controls on web page (dropdown, button); depending on the selection in the dropdown I have changed some value in a integer variable. [B]PROBLEM:[/B] the … | |
hi, how to save an image into database. ie how to insert an image into database and how to get the image back. i am using the asp.net(C#.net) and mssql server 2000 . so can u tell me the solution. | |
Select One. I just spent about 3 hours deploying an ASP.NET application and it made me wonder what others think. |
The End.