13,936 Topics

Member Avatar for
Member Avatar for krishnamurtrhy

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 < …

Member Avatar for dnanetwork
0
140
Member Avatar for heena sharma

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 …

Member Avatar for rajarajan2017
0
144
Member Avatar for just-tam

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 …

0
53
Member Avatar for humhi

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 …

0
45
Member Avatar for laghaterohan

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 …

Member Avatar for dnanetwork
0
159
Member Avatar for RickyG

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 == …

Member Avatar for pritaeas
0
156
Member Avatar for emsd123

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 …

0
109
Member Avatar for Ammarqqq

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 …

0
39
Member Avatar for krunalkakadia

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

0
99
Member Avatar for visweswaran28

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 …

Member Avatar for visweswaran28
0
158
Member Avatar for hif

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 …

0
72
Member Avatar for MARKAND911

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 …

Member Avatar for MeSampath
0
41
Member Avatar for ayeshakhan

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 …

Member Avatar for MeSampath
0
230
Member Avatar for ragnarok511

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 …

Member Avatar for ragnarok511
0
147
Member Avatar for anishps

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") …

0
31
Member Avatar for manibest

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 …

Member Avatar for reach_yousuf
0
110
Member Avatar for vmreddy

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....

0
86
Member Avatar for Ammarqqq

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 …

0
45
Member Avatar for Hosty

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 …

Member Avatar for lofark
0
152
Member Avatar for shad

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 …

Member Avatar for izzatikhalid
0
202
Member Avatar for alsnchns

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 …

Member Avatar for goldenevil
0
202
Member Avatar for smun04

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 …

0
79
Member Avatar for dimaash

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 ( …

0
49
Member Avatar for bubberz

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, …

Member Avatar for bubberz
0
124
Member Avatar for jamshed ahmed

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 …

Member Avatar for nick.crane
0
98
Member Avatar for zerey02

.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 …

Member Avatar for finito
0
106
Member Avatar for born star

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..

Member Avatar for localinternet
0
67
Member Avatar for :Francis:

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 …

0
196
Member Avatar for wrathyimp

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 …

0
88
Member Avatar for visweswaran28

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"))

Member Avatar for jeffcogswell
0
56
Member Avatar for Dhanesh.M

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 …

Member Avatar for jeffcogswell
0
84
Member Avatar for pooja yadav
Member Avatar for AngelicOne

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..

0
62
Member Avatar for nmges

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 …

Member Avatar for nmges
0
114
Member Avatar for AngelicOne

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 …

Member Avatar for AngelicOne
0
110
Member Avatar for kingofnothing

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: …

0
75
Member Avatar for akil007

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

0
62
Member Avatar for fayenot

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 …

Member Avatar for sandeep.pande
0
194
Member Avatar for simrann20
-2
39
Member Avatar for esmail_merchant

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 …

0
57
Member Avatar for SENTHILRAJAG

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

Member Avatar for hirenpatel53
0
106
Member Avatar for jeffreyjs

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 …

Member Avatar for jeffreyjs
0
242
Member Avatar for hirenpatel53

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 …

0
49
Member Avatar for jcf

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

Member Avatar for shanwaz
0
309
Member Avatar for pritesh2010

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 …

Member Avatar for pritesh2010
0
1K
Member Avatar for webdev5

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]> …

0
65
Member Avatar for malashukla

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

Member Avatar for Lusiphur
0
70
Member Avatar for kayfar

can anyone tell me how to generate a chart using asp.net C# from database MS Access..which we do something like in Excel..

Member Avatar for jbisono
0
54
Member Avatar for deven_a76

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 …

Member Avatar for ramji2381
0
143
Member Avatar for simi pillai

'/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 …

-2
63

The End.