13,153 Topics
| |
[CODE]Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click Dim conn As New SqlConnection Dim cmd As SqlCommand Dim dp As New SqlDataAdapter Dim ds As New DataSet Dim i As Integer Dim str As String = "UPDATE aspnet_Membership SET aspnet_Membership.Email='" & Email.Text & "' WHERE UserId='" … | |
Hai i need a coding for Login and its validation in asp.net using vb.net.. Am currently using SQL Server Express Edition 2005 software as my backend... | |
[CODE]<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" Title="Untitled Page" %> <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <a href ="default.aspx">Back </a> … | |
I am using ASPNETDB.mdf database (default database) in my application . to create a user i am using CreateUerWizard .i want to costomize and want to add new field-"Contact No" in it . how can i store contact no in database? i m working in vb.net with visual stdio 2008 … | |
Hi see this for update progess bar. Script [code] <script type="text/javascript"> Sys.WebForms.PageRequestManager.getInstance().add_endRequest(endRequest); Sys.WebForms.PageRequestManager.getInstance().add_beginRequest(initRequest); function initRequest(sender, args) { var pop = $find("test"); pop.show(); } function endRequest(sender, args) { var pop = $find("test"); pop.hide(); } </<script> <ajaxtoolkit:ModalPopupExtender ID="mdlPopup" BehaviorID="test" runat="server" TargetControlID="UpdateProgress1" PopupControlID="UpdateProgress1" BackgroundCssClass="popUpStyle1" DropShadow="true" /> <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="up1"> <ProgressTemplate> <asp:Panel ID="pnlPopup" … | |
I have to conduct a IT project for my next semester(4th year).I already have done a web based project in my 2ND year(using Asp.net C#). But it is not much complex. I heard 4th year project is more complex then 2ND year. therefor i want to advice to find a … | |
Hi can anyone pls tell me how to add notes in source code in Visual Studio 2010? I only want the notes to be viewed in source code view, not design view! I tried //notes here 'notes here but they all ended up showing in the design view, HELP PLS! | |
Hello has anybody come across a similar control to this one. [URL="http://img138.imageshack.us/img138/875/23102010172021.png"]http://img138.imageshack.us/img138/875/23102010172021.png[/URL] if so then please give me a link. thank a lot edit : found this one [url]http://www.filebuzz.com/fileinfo/38822/Angulum.html[/url] any better suggs are welcome though :D | |
Hi there! What i want to do is something similar to this: [URL="http://sig.cm-olb.pt/develop.aspx?Layer=Cemit%C3%A9rio&Field=n_sepultur"]http://sig.cm-olb.pt/develop.aspx?Layer=Cemit%C3%A9rio&Field=n_sepultur[/URL] (Zoom, Drag, info, etc) Whats the best way to do it? Is there any component to help me? Thanks | |
Hi Everyone I have two aspx pages that updates two values in a database. I have an update button called Button1. Button1 in the first page redirects to the second aspx page. On the second page i want to select a value and then redirect to the first page. How … | |
I created an application in .net that emails a person using mapi and outlook 2000. It works fine on pc that has outlook 2000 sp1, but doesn't work on pc that has outlook 2000 no sp. Outlook 2000 puts the recipaddress in quotes. Does anyone know how I stop Outlook … | |
i have taken one mster page in my project. in that one image is there, that image is not displayed in other pages which are related to that master page. i have tried to change image extension also but it didnt work. | |
hi, please help me to apply style to fileupload control in asp.net. can i change style? thanks jack | |
[code] string s = TextBox1.Text; string[] s1 = s.Split(new char[] { "&" }); Console.WriteLine(s1[0]); Console.WriteLine(s1[1]); [/code] above code giving me error as 'Cannot implicitly convert type 'string' to 'char' ' pls give me solition. | |
Hello, Can anyone please help me with the Image Reflection. I want to put use some or group of images/icons in WPF App. I want their reflection as well. I am using Border opasitymask for each image but I think that is not the right way to code. I want … | |
plz help in creating tabs at run time in asp.net c# | |
[CODE]Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load 'Dim userName As String = Request.QueryString("Name") 'MsgBox(userName) Session("id") = Session("id") Dim userName As String = User.Identity.Name Dim usr As MembershipUser = Membership.GetUser(userName) 'Email.Text = usr.Email Email.Text = usr.Email ConfirmEmail.Text = usr.Email MsgBox("jhjkh") ' ConfirmEmail.Text = usr.Email End Sub … | |
I have an ASP.NET application that runs one way when I run it within Visual Studio 2010 (the way it should), but when I publish it onto the web server and run it there, it runs differently. I have reset IIS (iisreset), shutdown and restarted the web site, deleted the … | |
I am creating a asp.net master page with a menu (asp:Menu) that is populated from a web.sitemap. My client wants the format of the page to meet his already existing html pages. I'm trying to manipulate the borders surrounding the menu items. So far, all I've found is the ability … | |
Where should I keep connection object to database like ISession or SQLConnection? What's the best solution and why ? Is it Application, Session or Items ? | |
[CODE]using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Data.SqlClient; public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { string connectionString; connectionString =("Data Source=INTRANETSERVER1;User ID=sa;Initial Catalog=HrData"); SqlConnection myConnection = new SqlConnection(connectionString); SqlDataAdapter … | |
hi all I m making one web aplication in that i want to Programmeticaly set DPI parameters and scan the document with no save facility to user. pls help. | |
Dear All, I am opening the excel file to create the object of that excel file using 'Microsoft.Office.Interop.Excel'. It is working fine with file system and local iis server on windows xp operating system. But when running the same code on windows 2003 operating sytem on local iis pagerequest time … | |
hi.... i've created one ssrs report it works good im my system.. i.e http://localhost/reportserver$sqlexpress but how should i execute in different system... if i enter the system name then it is showing page cannot be displayed.. i.e http://sys1/reportserver$sqlexspress (page cannot be found) please help me.. | |
Hello friends, I wrote a simple class for string validation and now I want to share with you. The class contains: - Constructor(s) public Validator() public Validator(string text) - Properties private string strText = string.Empty; - Method(s) public bool isNullOrEmpty() public bool isNullOrEmpty(string str) public bool isLengthMax(int maxLength) public bool … | |
Hi, I have a listbox that is bound to a textblock as target and also has an xml file as source. My problem now is the correct syntax for inserting another listbox in between the listbox and the xml file. My code is shown below... <Window x:Class="newTestApp.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Window1" … | |
I have web project and window project.Web project reference from window project and I want to debug from web project to source code in window project. Where do I setup to look for debug source code in window project. I copied all source code from another computer. but on another … | |
Hi everyone, [I]The error:[/I] It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. [I]what I'm doing:[/I] I need to enable forms authentication for only one of my pages. … | |
hi.... as u all know about ssrs reports... now i'm using the crystal reports and i want to go through ssrs reports can anyone answer the following question. 1)what is the need of ssrs... 2)and why we should use ssrs.., 3)what are the advantages 4)what are the disadvantages 5)how it … |
The End.