12,085 Topics
|
|
<%@ Page Title="" Language="C#" MasterPageFile="~/Member/Member.Master" AutoEventWireup="true" CodeBehind="Budget.aspx.cs" Inherits="MSJ_Bank_Financial.Member.Budget" %> <%@ Register Assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="System.Web.UI.DataVisualization.Charting" TagPrefix="asp" %> <%@ MasterType VirtualPath="~/Member/Member.master" %> <asp:Content ID="Content1" ContentPlaceHolderID="CPHInformation" runat="server"> <div id="Chart" style="width: 600px"> <asp:Chart ID="pcBudget" runat="server" BackColor="Transparent" Height="600px" Width="600px"> <Titles> <asp:Title BackColor="Transparent" Text="Daily Budget" Alignment="MiddleCenter" Font="Estrangelo Edessa, 30pt"/> </Titles> <Series> <asp:Series Name="Series1" ChartType="Pie" … |
|
My friends I was working on the concept like a user can upload his image as a user avatar, and that should be shown in all his pages. I have two pages namely get.aspx and show.aspx get.aspx contains image file uploading and saving the records in database. show.aspx is to … |
|
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Data.SqlClient.SqlException: Could not find stored procedure 'dbo.aspnet_CheckSchemaVersion'. Source Error: An unhandled exception was generated during the execution … |
|
hi, how can i get the system admin password and user id into my asp using vb.net program.i need the code for it... can u give me the idea.... |
|
I playing around with this new software Visual Studio Express 2010 using C# and I have the source code files but what I am wanting to do is on this Greeting Card Maker. I would like to have some check boxes so the user can Select a Prefined Message to … |
|
protected Boolean loginMember() { SqlConnection conLogin = new SqlConnection(ConfigurationManager.ConnectionStrings["connMSJ"].ConnectionString); SqlCommand cmdLogin; conLogin.Open(); cmdLogin = new SqlCommand("SELECT Username, Password FROM Member WHERE (UserName=@ID AND Password=@Pass)", conLogin); cmdLogin.Parameters.AddWithValue("@ID", txtID.Text); cmdLogin.Parameters.AddWithValue("@Pass", txtPassword.Text); SqlDataReader myReader = cmdLogin.ExecuteReader(); if (myReader.Read()) return true; else return false; } When i execute the login button will fire this … |
|
protected void RegistrationMember(object sender, WizardNavigationEventArgs e) { TextBox txtID = (TextBox)cuwRegistration.FindControl("UserName"); TextBox txtPass = (TextBox)cuwRegistration.FindControl("Password"); TextBox txtEmail = (TextBox)cuwRegistration.FindControl("Email"); TextBox txtQuestion = (TextBox)cuwRegistration.FindControl("Question"); TextBox txtAnswer = (TextBox)cuwRegistration.FindControl("Answer"); SqlConnection conRegister = new SqlConnection(ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString); SqlCommand cmdRegister; conRegister.Open(); cmdRegister = new SqlCommand("INSERT INTO [Member](UserName, Password, Email, Question, Answer) VALUES (@ID, @Pass, @Email, @Ques, … |
|
# Server Error in '/' Application. # # The resource cannot be found. # # Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that … |
|
protected void SetDestinationURL(object sender, EventArgs e) { if (loginMember()) Response.Redirect("~/Member/Home.aspx"); else if (loginManager()) Response.Redirect("~/Manager/Home.aspx"); else Response.Write("<script language=javascript>alert('Unauthorized User Access')</script>"); } protected Boolean loginMember() { TextBox txtID = lgLogin.FindControl("UserName") as TextBox; TextBox txtPass = lgLogin.FindControl("Password") as TextBox; SqlConnection conLogin = new SqlConnection(ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString); SqlCommand cmdLogin; cmdLogin = new SqlCommand("SELECT UserName, Password FROM … |
|
Hi all so i have this lauching the javascript to the page: Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "Alert", "confirm('Are you Sure You Want to Delete User??')", true); But now i remebered that i need an answer on the codebehinf(C#). So this way i can do the rest of the code, but im stuck with … |
|
Hi All, I'm trying to read/pass a value from a dropdownlist on a ASP.NET page to a PHP page so I can excute the required SQL command in the background. Can anyone assist with this? Background: - jQuery autocomplete search box getting results from PHP page that connects to a … |
|
Hello Folks, I have an ASP.Net 2.0 web application which was successfully debugged, published, uploaded and tested on IIS server. But the problem is, I can access this application on my localhost only but when I am trying to access this from some other machine which is also in the … |
|
sample asp.net with c# sql database connection |
|
Dear All! I have an ASP.net page , and my page is supportted in two language , english and arabic . when user click on arabic , i want to make my all text right align. Regards |
|
Hi I have problem in Report viewer. I am using the expression to filter the value. I explain my scenario. I want sum the amount for particular category. I have student database. I need the sum the paid amount for exam fee only. =SUM(Fields!Amount.Value, "DataSet1") . It sums all amount. … |
|
Hi, I want to disable resize of popup window. I am using following code but this is not working in any browser. [B]My Code::[/B] [I]window.open(url,'POPUP', "width=360,height=400,toolbar=no,directories=no,menubar=no,status=no,resizable=no,scrollbars=no");[/I] And when i m using <BODY Onload='noresize'>. This code working in only in IE not in mozilla. Please help me Thanks in advance Pankaj |
|
public void kraGridView_RowDataBound(object sender, GridViewRowEventArgs e) int totalPercent = 0; if (e.Row.RowType == DataControlRowType.DataRow) { Label lblWeigh = (Label)e.Row.FindControl("lblWeigh"); // totalPercent += Convert.ToInt32(DataBinder.Eval(e.Row.DataItem, "lblWeigh")); int total = int.Parse(lblWeigh.Text); totalPercent += total; } else if (e.Row.RowType == DataControlRowType.Footer) { Label lblTotalPercentage = (Label)e.Row.FindControl("lblTotalPercentage"); // e.Row.Cells[5].Text = totalPercent.ToString(); lblTotalPercentage.Text = totalPercent.ToString(); } … |
|
I am using a telerik radScheduler into my major project. and it is working fine on Local system. But on live it is not working fine. I can only view my scheduled activity, drag & drop activity, increase or decrease time span only. But when i try to create or … |
|
Hi I have an issue in asp.net using vb code I am using Visual Studio 2012 with MSSQL 2005. I have problem in adding Report viewer, Version=11.0.0.0. I have an error "'ReportViewer' is ambiguous in the namespace ". Please anybody help me to solve this issue maideen |
|
i have windows 2008 r2 server , and am trying to convert my videos from any type to mp4 format and everything is fine in local when am trying to do the same live webserver , Am able to upload the file and then when i try to convert the … |
|
I am creating a new ASP.NET MVC 4 application (actually my first MVC application) that is a part of my previous ASP.NET web forms application. I have never used ASP.NET inbuilt authentication methods in any of my project. This new MVC 4 app will be published on a sub-domain of … |
|
I have the following repeater item: <asp:Repeater ID="RptLeaveRequests" runat="server" onitemdatabound="RptLeaveRequests_ItemDataBound"> <ItemTemplate> <table id="tableItem" runat="server"> <tr> <td style="width: 100px;"> <asp:Label ID="lblDate" runat="server" Text='<%#Eval("Date", "{0:dd/M/yyyy}") %>'></asp:Label> </td> <td style="width: 100px;"> <asp:Label ID="lblHours" runat="server" Text='<%#Eval("Hours") %>'></asp:Label> </td> <td style="width: 200px;"> <asp:Label ID="lblPeriod" runat="server" Text='<%#Eval("AMorPM") %>'></asp:Label> </td> <td style="width: 200px; font-size:10px;"> <asp:Label ID="lblNote" runat="server" … |
|
hi , actually i use AutoCompleteExtender to complete the words that's the user write, and he give resultat that i want in my case it's the active and not active point in the data base. but i want separate the active point and the not active point, to show it … |
|
hey all i complete with task upload file that is user upload their files and download it now here i want to ask when user upload file then this file forward to manager for approval .. then when manger login and view the uploaded file, and click an "approve or … |
|
I am using Microsoft Visual Web developer 2010. I have Google Maps embedded on my webpage and a textbox (txtBoxInput) using the code: <input runat="server" type="text" id="txtBoxInput"/> A button which displays a new map loction: <input type="button" id="btnDisplay" value="Display map" style="height:34px;width:90px;" onclick="showPoint();"/> I also have an aspn.net button (btnTest) using … |
|
I've noticed that comments in VB code snippets are ended in the middle of a line if an apostrophe is present(i.e. using a contraction), then continue from the next one over several lines until it reaches another. I'm wondering if that can't be changed to keep it as a comment … |
|
Hi All. I am using Microsoft Visual Web Developer 2010. I have embedded google maps into my webpage. I am using 4 textboxes: Street, City, Province and Postal Code. The user will enter these details then it will get put into a string variable like this `string location = street … |
|
I have migrated my website from shared hosting to VPS server and have rehosted the site , now the problem is i cannot access the video files which is present in my server for eg : http://mydomain.com/httpdocs/test.mp4 my previous or old location was like http://mydomain.com/test.mp4 So please advice as where … |
|
Friends I have a login form. After successsful login, I have to redirect the user to welcome.aspx. While doing this, the URL will be http://www.mangabooks.com/welcome.aspx but I need the URL to be encoded like http://www.mangabooks.com/sdDFREdsfefrvgrwghWr34r How can i do that? Any help will be appriciated... TIA. |
|
HI All, im working on a project that uses asp.net to send information to a mssql server. The problem im running into is that when i try to debug the page, I get: 'ClickSave' is not a member of 'ASP.default_aspx'. How Do I fix this?? Heres My html code(default.aspx): <html> … |
The End.