13,936 Topics
![]() | |
here i'm using crystal reports for passing an integer value and here is the code. [CODE] Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click Dim cryRpt As New ReportDocument cryRpt.Load("C:\Documents and Settings\user\My Documents\Visual Studio 2005\WebSites\gatepass\CrystalReport2.rpt") Dim crParameterFieldDefinitions As ParameterFieldDefinitions Dim crParameterFieldDefinition As ParameterFieldDefinition Dim crParameterValues As … | |
I am relatively new in the SQL/Web Development field. I have a DB (MS SQL Server 2000) and Web Apllication (.NET Framework 1.1). I would like to modify the seach and copy function in the existing web page. Please find attached the Design View as well as Source code for … | |
after i deployed my site through iis i have a problem with the viewing of the website in the webpage. a following error is occuring when i'm trying to browse the site . and when i'm trying to deploy it in the other system......then it is showing the webpage. Site … | |
Hi to all I am using link button--click on that gridview will show some datas from db. I dont want to load the whole page, how to refresh gridview only. thanks in advance | |
Hi. First of all, I´m new to asp.net. I have this .aspx page in my Visual Studio 2008 web project solution, with a media player control and a button which invokes it and starts playing a file: [CODE] <HTML> <HEAD> <script language="javascript" type="text/javascript" for="Player" event="onclick"> return Player_onclick() </script> </HEAD> <BODY> … | |
Hello, I am having trouble converting my "MySQL" statement to a prepared statement. here is the part of the code that i need help with. How Do I make below statement a prepared statement and can actually read the result afterwards. this way everything works perfectly, except that its not … | |
I have a web application that I upload an image to, the image is subsequently saved to the server's temp folder and displayed via a webhandler on the aspx page. the code for the aspx: [code]<img src="PreviewImageQualityHandler.ashx" alt="Picture not loaded" runat="server" id="imagePreview" />[/code] The code for uploading the picture and … | |
I'm building desktok application in .NET that uses web camera device I'm using DirectShowNet Library . i want to capture the image when user clicks the snapshot button available on webcam.and then dispaly the image in picture box.pls help me out iam stuck with this issue. Do you know how … | |
Hi, I want to run the calculator.exe file from my c# webapp.I did this by using the hyperlink control and the location of the exe is the navigate url and is working nice. But it gives the dialog box telling ,'one or more files can harm your computer ...' since … | |
Hi. First of all, I have done a few C# applications, but are quite new to C# asp.net web applications. What I am trying to receive is a simple Media player control on an aspx page. And furthermore a button, that starts the media player with a videostream url. Thats … | |
I have a Vista Home Basic Edition and I need to complete my School projects that need IIS .. I understand there are not much work -arounds for this issue.. 1) I dnt think i have the Vista Installation CD with me.. 2) Can i upgrade it to Vista Professional … | |
Im new to asp.net c#,please help me. I encountered some errors while running my subfolder on the server which is used as my test folder the errors are:<br/><br/> Configuration Error</br> Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific … | |
Dear all, I am really stuck with inserting record into access database using ASP.net and C#, as in university I am only allowed to use access. I am trying to create new room reservation for meetings its not a hotel room, I have two time slots AM and PM and … | |
Hello Iam sending mail from web page like, enquiry form mail using asp and asp.net.while send the mail i don't have any error. but the mail does't reach the destination.can some one give me a solution for this problem. ds | |
How to run a Asp.net page with database(Sql Server2000) on a browser? for eg: When I run a Asp.Net page involving login on Visual Studio 2005, the user is logged into his account but when I run the same page through a browser, user is unable to login. The error … | |
Hi. First of all, I am new to asp.net development. What i have is, a C# aspx page with, lets say an ordinary button. What i need is, any kind of video player that can, upon click on the button, play/stop a windows media server stream from a url. Where … | |
Hi, I am trying to make some "a la captcha" it must be simple, but not for me. my code is: [CODE] using System; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; public partial class _Default : System.Web.UI.Page … | |
I'm having a hard time with implementing SSL on this one particular page that uses asp.net wizard (The entire site does not require SSL, only a couple of pages.) My logic is such that if a page that requires SSL is not secure, redirect it to https version of it. … | |
Hello there fellow users, I have been entrusted with the task of designing and implementing a financial system for a charity foundation where I live. The charity foundation requires its work (addition and retrieval of records, for example) to be done online, using a web app. The app connects to … | |
| |
With regards to another thread, [url]http://www.daniweb.com/forums/thread251069.html[/url] on how to compare the current date to retrieve relevant data (Details there), now I have issue on storing this query result on a VB.net variable. It works in this way. It is an academic work to do a ecommerce website, and I need … | |
Hello everyone. The problem: I am developing a form that i have to validate some fields against the database. For this particular scenario lets say the Part ID field, I do not want to create a dropdownlist with all part id because is too big. maybe i can let people … | |
I have a dataset with a field defined as a system.datetime datatype. In my visual studio 2008 that has crystal reports 12, I have a report that should display this date field. This worked fine in an earlier version of visual studio 2008. However, since I have installed the updates … | |
I created a Web Service in VS 2005, I tested it by opening in the browser it worked well. I deployed it in the IIS 5.1 I'm getting You are not authorized to view this page. HTTP Error 403 - Forbidden !!! Can anyone help me in finding out where … | |
Hello there, I am facing a problem for a website i am developing. I have a form with some set of text boxes and dropdown list. When click on submit it transfers the data in the fields and goes to a different website. Now i also want to save the … | |
[CODE] Dim i As Integer For i = 0 To 6 e.Row.TabIndex = -1 CType(e.Row.FindControl("H" & i), TextBox).Attributes.Add("onfocus", "javascript:SimpleTEOnFocus(this)") ' SQ 10/31/2006 SP5 CType(e.Row.FindControl("H" & i), TextBox).Attributes.Add("onblur", "javascript:SimpleTEOnBlur(this)") ' SQ 10/31/2006 SP5 CType(e.Row.FindControl("H" & i), TextBox).Attributes.Add("onkeyup", "javascript:keyGridPressed('gridTESimple',this.id,event);SimpleTEHrsOnKeyUp(this,event)") 'AM 12/22/09 Modified CType(e.Row.FindControl("H" & i), TextBox).Attributes.Add("onkeypress", "javascript:return NumericOnly(event);") CType(e.Row.FindControl("H" & i), TextBox).Attributes.Add("onchange", … | |
why this code is not working[code]<%@ Page Language="VB" %> <script runat="server"> Private sub Textbox1_KeyPress(KeyAscii As Integer) If KeyAscii = 13 Then Textbox2.backcolor=drawing.color.azure textbox2.focued() End If End sub Sub TextBox1_TextChanged(sender As Object, e As EventArgs) End Sub </script> <html> <head> </head> <body> <form runat="server"> <p> <asp:Label id="Label1" runat="server" text="box1"></asp:Label> <asp:TextBox id="TextBox1" … | |
I want to reset the textarea cursor position after postback i.e cursor should be on last change or edited text in textarea | |
I'm new to vb.net and have been asked to add a page that leads to other pages in an application. Basically a landing page that goes to one of three other pages dependent on what user intends. [B]Here is aspx code[/B] (not all of course but what's needed for redirect … | |
hi ! I am new in c# asp.net,I have 2 user type.When Standard users submit a request ,other user type like admin can see and accept or reject.I created a request and other user see this request but I can not implement accepting or rejecting part.I can not add checkbox … | |
hi, pls help me how to generate crystal reports in asp.net using vb.net database is sql server.. any internet sites.. | |
have this printing page and i need to display image uploaded in the form..........and here is the code regarding the printing page [CODE] Protected Sub print_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles print.Click Dim fs As New FileStream("file.html", FileMode.Create, FileAccess.Write) Dim s As New StreamWriter(fs) Dim st As … | |
How to generate thumbnail image at runtime in ASP.NET. ? | |
i have an image along with a form, to be saved in the sql database. but how should i do it. here is the code that i used to save the form in the database. [CODE] Protected Sub save_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles save.Click Dim ConnStr … | |
Hello again. Default.aspx [CODE] using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class contact : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { State.Enabled = false; ShowCaptchaNums(); } protected void Country_SelectedIndexChanged(object sender, EventArgs e) { if (Country.Text == "United States") { State.Enabled = … | |
[B]Hello daniweb![/B] I figured I would go ahead and introduced myself now. I have been test driving the site to make sure I wanted to stay before I introduced myself -- its not that I forgot. After being a member for a few months I have decided to stay. I … | |
Hello again I have two drop-down lists on my web application. #1. Country list #2. US states list By default #2 is disabled [CODE] protected void Page_Load(object sender, EventArgs e) { State.Enabled = false; } [/CODE] I need to enable it only if user will choose "United States". My trial … | |
Hi I am creating a web application where i am using .net 1.1 with c# and vs 2003 . when i debugged (pressing F5 )the solution it is buliding successfully with out error but showing " ERROR WHILE TRYING TO RUN PROJECT" in an alert box. While i start without … | |
If you drop a picturebox control onto a form and set its SizeMode to zoom you will notice that no matter what you change the padding property to, it won't change the output. The code for drawing the image in zoomed mode doesn't take in account the deflated rectangle it … | |
Hello, Everyone. I have receive the above mention error. I don't why this error is occurring. [CODE]using System; using System.Data; using System.Configuration; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; namespace TurnkeySolutions.App_Code.DAL { [Serializable] public class DBBridge { public DBBridge() { // … | |
I HAVE PHOTO ATTACHED I'm trying to come up with some code that will make the 'Acct #' label and text box ONLY appear when some text is typed in the text box beside of 'Prime Broker', 'Custodian', etc. Can anyone help? Thanks. | |
i used this code to upload the images from the local path. but when i'm trying to upload the images in the webpage it is not showing. can any one can tell what's wrong in the coding. it will be very helpful......................... [CODE] Protected Sub Button2_Click(ByVal sender As Object, ByVal … | |
hi, i got an problem i wants to update the serialnumber in the database, if i was updating the serial number as (for eg: 3 in place of 4), it was updated. if i was updating the serial number as 3 in place of 4.. here serial number 3 is … | |
Hi, I have the fallowing problem: A gridview in panel work fine on some workstation in local area network and at the others the panel appear inactive, the gridview exceed the limit of the panel. The scrollbar appear inactive. What is wrong ? | |
Hi, How can I put my ASP.NET calculator into my dreamweaver page? Thanks!! | |
Hello experts! Please how do I display markup text (in html) with a asp.net 3.0 server control? I have a database full of markup text inputted using a richtext control. but I will like to display these text using other asp.net controls that would render the text correctly with the … | |
hi, i was got an error, iam using a code to auto increment of serial number, but the problem is selecting the serial number from the database it was insremented from first number itself like as 1,2,3 it was incremented from 1 itself,, i wants to increment the data from … | |
If you want to restrict the user to go back or forward from the web browser, you can use the below mentioned javascript. Use this javascript in the script tag. It works on all browsers. For further details: [url]http://dotnetbypulikesi.blogspot.com[/url] | |
Maybe I'm the one not doing anything right but i'm trying to cause a page to display a given information as soon as it load. I'm using labels display the said information. The problem here is, in the Page_Load method, i can't seem to call any of the labels or … | |
I am having a problem with modal popup. I used this code an its running fine but the pop appears in black colour. I cant see the text written inside the pop. Pls help me to solve this..... <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <link href="Style.css" rel="stylesheet" type="text/css" /> <title>Untitled Page</title> … |
The End.