13,936 Topics
![]() | |
Please help me... How to dynamically create image array and display images which is in folder. I tried this one but not displaying image. its simply printing text message that [B]System.Web.UI.WebControls.Image[/B] protected void Page_Load(object sender, EventArgs e) { Image[] image = new Image[25]; for (int i = 0; i < … | |
how to design a database for an enquiry form with following attributes: 1.name 2.address 3.telephone no 4.email 5.educational qualification 6.college 7.language: java vb.net vc#.net asp.net C++ php assembly embedded C vC++ (a student can opt for more then 1 language) 8.expectation on programming week: 24 16 12 8 6 4 … ![]() | |
Hi, My problem is that whenever I debug and load my Login.aspx page, my master page (including its images etc.) doesn't show up, it just looks like a blank template. I have tried changing the "authorization" code in the web.config file to allow users to access the appropriate files, but … | |
please help how to get the after login page of particular url.[code]private void button2_Click(object sender, EventArgs e) { string strId = "abc"; string strName = "xyz"; ASCIIEncoding encoding = new ASCIIEncoding(); string postData = "login=" + strId; postData += ("&password=" + strName + "&commit=Log+in"); byte[] data = encoding.GetBytes(postData); // Prepare … | |
Hello, I want suggestion as to how to do the following: 1) In my current scenario,when a particular user fills a form which contains one field as manager and saves the details that manager receives an email stating that u have a request. This email also contais an URL which … | |
Hi there Expert Designers, I am building a Web form for a medical institution, can you give me an advise in how to make this form look cool??[code]<%@ Master Language="C#" CodeFile="MasterPage.master.cs" Inherits="MasterPage" EnableViewState="false" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script type="text/javascript"> function OnClick1() { if (divCalendar.style.display == … | |
Hello, everyone. I have generated a treeview loading from database, learned from a book. But I have no idea how can I save the view state of my treeview, I have tried the following code to do, through it, I can only keep expanding the first layer of treeview, but … | |
Hi, I am trying to deploy the web site onlocalhost. I have published it successfully using Visual studio 2008 publish website feature. When i try to run [url]http://localhost/Monitoring[/url] I am getting the follwoing Security exception at the following URL. [url]http://localhost/Monitoring/Account/Login.aspx?ReturnUrl=%2fMonitoring%2fdefault.aspx[/url] Looking forward for the help. Thank you, Ammar Security Exception … | |
hi guys, i have my gridview printing problem. i have column say print in gridview.i have link button in gridview in each row.when i click on link button i want to print that row's record. anu idea or code please help me.thanks in advance. kk | |
Hi, I am using updatepanel in aspx with master page content, required validation control. IN that updatepanel I have one datagrid through that I am trying to insert a row. When I click that linkbutton then is shows error like "sys.webforms.pagerequestmanagerparsererrorexception. Error code: 405" . I tried with another project … | |
hello. i need to know how i can write an onactivate function for the hyperlink that is clicked. each hyperlink identifies a different directory and i assigned each of them with an id equal to their directory. the onactivate function (actv)is meant to receive this id in a string and … | |
hi... I want to access file form any pc in network ..and i m doing it also..but the when i do same task through IIS server I am getting error .. "Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005." so can … | |
i want to connect plsql server with asp.net using C# and want to show data of server in grid view. 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.OracleClient; public partial class _Default : System.Web.UI.Page { protected void Page_Load(object … | |
![]() | Hi everyone. I am writing a form that is builds an XML file. The form is multiple pages. Whenever I try to go to to the page after the next page, it tells me that it cannot access the XML file because it is in use by another process. It … ![]() |
Hi all, I have an asp wizard with many steps and with a sidebar template . sidebar template is like this <SideBarTemplate > <aspataList ID="SideBarList" runat="server"> <ItemTemplate > <asp:ImageButton AlternateText ="Test" ID="SideBarButton" runat="server" ImageUrl='<%#GetStepImage( (string)Eval("Title") )%>' /> <asp:Label ID="lblStepName" runat="server" Text='<%#GetStepTitle( (string)Eval("Title") )%>'></asp:Label> </ItemTemplate> <SelectedItemTemplate> <asp:ImageButton ID="SideBarButton" runat="server" ImageUrl='<%#GetSelectedStepImage((string)Eval("Ti tle") … | |
Hi all I am developing a page where user can insert update delete his information. I am doing as follows when user clicks the "Delete" button, a MsgBox pops and asks to confirm the delete process. if (user clicks "yes" in msgbox) system deletes the information. else system does not … | |
Hello Everyone , I am working on [B]vs 2008 RDLC report[/B], i need to use [B][COLOR="Red"]two table which are from a single store-procedure[/COLOR][/B], when i am added a table adapter it is reflecting the first table, so how can i use the second table in the report.... | |
Hi, I have successfully managed to include them enus on my site. I have included the follwing code in the page load event of Site Master.cs-But there is one problem. Whenever, I Try to perfrom any action in the pages corresponding to the sub menus. new admin is being called … | |
Hello All, Last night I was infected with malware. Following this infection, a faux antivirus appeared; I was prevented from using the ctrl+alt+del function; I was unable to open any applications; I did not have browser based internet access (although temporarily my AIM client still worked); and my AVG was … | |
Hi everyone, i am in my third and final year of uni and i was thinking of basing my final year project on online voting/survey, i am not too familiar with the subject i really need ideas on how i can go about designing and building the system. Any help … | |
I am trying to do simple insert, update, delete, select statements within VB .NET to access a MS Access database. I have tried all kinds of solutions offered on the web and while the code seems to work, no rows are inserted. Also, I have tried, unsuccessfully, to use the … | |
I have a problem getting the report to do a page break on a multi column report. This is a staff photo report with four columns and should do a page break (not column) on change on the office location - so far I get it to do a column … | |
Hi everyone, I have a certain page let's call it main.aspx which hosts multiple usercontrols. One of these usercontrols (Say UC1.ascx) contains another usercontrol (say UC2.ascx). Now the UC2 is a self contained control which does everything by itself. The only thing it needs is some peice of data ( … | |
I'm trying to call a linked server, SS2000 that has NText field and instert that data into an nvarchar(120) field on SS2008. If I execute the SPROC from SS Management Studio, it works fine. If I try to call the SPROC from my web application, I don't get any errors, … | |
hellow all i have problem that i have deployed setup for windows application.before instling this application i have to install the .net frame work is there any way in vs 2005 to create such setup when i install my application on any system it shoueld install .net frame too. thx … | |
.I'm trying to upload an ASP.NET project with SQL Server database connection on a LINUX server. is this even possible? because some of my friends told me that i can use a certain application to be able to build ASP.NET on a LINUX base server. .can anyone please direct me … | |
hello ...........i have question that where to use tostring() function...... like when we write.......... [CODE]Textbox1.Text=dr["ename"].ToString();[/CODE] here dr is the object of data reader and ename is the column name my question is why ToString() was used here.. | |
I have been making some changes to an application that uses an ASP.NET Membership services database for authentication. I can access the database locally using windows authentication, and using my SA user. However, after moving the application to the prod. server, I can't access the DB at all. I wrote … | |
I have a pages table with following columns: DB Table: sno name title url parentPage 1 Reports Reports [url]http://1[/url] 0 2 Reports Local [url]http://2[/url] 1 3 Reports Intl [url]http://3[/url] 1 Now I need to to display the label as Report - Local: So report will be linked to the parentpage … | |
Hi, I want to redirect from global.aspx to another page. How can I achieve this. I tried with following steps, but no effects on this. 1) Response.Redirect("~/login.aspx") 2) Me.Context.Response.Write("window.parent.location.href='login.aspx';") 3) Context.Response.Redirect((DirectCast(Context.Handler,System.Web.UI.Control)).ResolveUrl("~/logout.aspx")) | |
Hi, Is there any way to NOT let the session expire from the client end. The situation is as follows. We have a aspx page that calls a web service( the login validations are performed by the webservice and a session is establised with the server). Now if the client … | |
how to create css file in asp.net . plz help me... | |
How could I do this? I have a radiobuttonlist with a yes and a no.. Then if click yes, the three textbox that are disabled will be enable.. | |
How do you open a window on the same page? (response.redirect will go to the other page.) Thanks. [CODE] Protected Sub DropDownList1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles DropDownList1.SelectedIndexChanged Select Case DropDownList1.Text Case "First Meeting Room" Response.Redirect("http://localhost:52952/RoomSetting/FirstMeetingRoom.aspx", False) Case "Second Meeting Room" Response.Redirect("http://localhost:52952/RoomSetting/MainMenu.aspx", False) End Select End Sub … | |
I have made my three textbox disable in code behind [CODE]if(!ispostback) { textbox1.enabled = false; textbox2.enabled = false; textbox3.enabled = false; }[/CODE] then I have three checkboxes that corresponds with the three textboxes, chkbox1 for txtbox1, chkbox2 for txtbox2 and so on. How to do enable it using javascript? i've … | |
hi every body when i add createuser control show me Configuration Error in line 140 of machine.config code [CODE]Line 138: <membership> Line 139: <providers> [COLOR="Red"][COLOR="Red"][COLOR="Red"]Line 140: <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="LocalSqlServer" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true" applicationName="/" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="1" passwordAttemptWindow="10" passwordStrengthRegularExpression=""/> [/COLOR][/COLOR][/COLOR]Line 141: </providers> Line 142: … | |
Here is code like <asp:repeater Id="Id1" runat="server" onItemCommand="Id1_ItemCommand"> <ItemTemplate> <asp:button Id="button" commandname="botton" /> </ItemTemplate> </asp:repeater> in code protected void Id1_ItemCommand(object sender, RepeaterCommandEventArgs e) { if(e.commandName == "button") { my logic } } This is not worked | |
I have a table for projects, it has two fields for [B]project_start[/B] and[B] project_end[/B] both have datetime data type. what should i do so that when the user insert dates on both field it will automatically subtract and place the answer on the [B]duration[/B] field... please help.. oh before i … | |
please suggest some innovative topics for asp.net projects | |
In my application I want outlook Inbox open for check mail or send mail. I use this code System.Diagnostics.Process.Start("OUTLOOK.EXE"); AND System.Diagnostics.Process proc = new System.Diagnostics.Process(); proc.StartInfo.FileName = "OUTLOOK.exe"; proc.Start(); proc.WaitForExit(); BUT using this I can able to open outlook only through my .net browser,But after deployment Same button click Nothing … | |
How to Hide the Query String Values from user in asp.net while the page is redirect to another page. any one know that please reply for this | |
I am currently trying to store location data into a database and when i display it on a website, the location data is hyperlinked and when i click on it, it will act as a search query to display the location on Google Maps in a iframe. Does anyone know … | |
i have following item_command Event of reapeter [CODE] Public Sub Repeater2_ItemCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.RepeaterCommandEventArgs) Handles Repeater2.ItemCommand If e.CommandName = "Select" Then Dim btn As Button = e.Item.FindControl("Bottin3") TextBox1.Text = "you have clicked Up button" ElseIf e.CommandName = "Up" Then Dim lnk As LinkButton = e.Item.FindControl("LinkButton2") TextBox1.Text … | |
Hi, I am creating a program that is connected to a database (Jet. OLEDB). I would like to know how can you search a record in the program. Thanks | |
hello experts. as per the my last problem was [URL="http://www.daniweb.com/forums/thread296536.html"]this[/URL] now i'm moing further in this repeater i want button for delete and Update. i had try but didn't work i want the button based on user authentication. for e.g. if user is Emplyee so he/she can edit when they … | |
Any help would be appreciated. I could supply the link to the page if you PM me. <style type="text/css"> .topmenu ul { margin:0px; border-bottom-width:0px; position:absolute; top:71px; list-style-type:none; } li { float:left; list-style-type:none; padding:0 0 1.75em 1em; background-color:#4D6712; border:solid 1px #3c510a; border-bottom-width:0px; white-space:nowrap; list-style-type:none; float:left; margin:0; padding:0; } </style> <!--[if IE]> … | |
hello to all when i compile my application it gives a error that is Ticks must be between DateTime.MinValue.Ticks and DateTime.MaxValue.Ticks. Parameter name: ticks/ and i dont this error occurs on which page. anyone knows bout this error plz help. thanks | |
can anyone tell me how to generate a chart using asp.net C# from database MS Access..which we do something like in Excel.. | |
Hello friends, We have create one report in crystal report that prints the user terms and condition. In the report, for 2 section, we have added sub-reports that displays the mutliple records for the selected terms and condition. Every thing is working on the screen i.e. records are getting displayed … | |
'/PrecompiledWeb4' Application. Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not load the assembly 'App_Web_eexgwoy1'. Make sure that it is compiled before accessing … |
The End.