- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 2
- Interests
- travelling...long drives
53 Posted Topics
Hi All I have droplistlist populated from database.When i add records everthing is ok with the dropdownlist: but when i edit records it shows duplicate values like High Medium Low Medium how can i romove duplicate values? | |
Hi all I m using asp.net 4.0. In my data list i have used asp image tag like below [CODE] <asp:Image ID="imgSmallPics" runat ="server" ImageUrl ='~/AdsPictures/<%#Eval("pictureName")%>' [/CODE] where AdsPictures is folder where images resides and pictureName is name of image return by query. Image is not shown, when i copy … | |
Hi Its in fact easy to handle special characters like "%" in query, with just a bit of research one can found solution for this. Today when i checked events for my server i found that one error message and that was because a user searched for " l'atelier " … | |
Hi all I have declared a Session variable in web handler i-e .ashx file like below [CODE] int SaleID; HttpContext.Current.Session["tempSaleID"] = SaleID; [/CODE] Now i want to remove this Session variable in class file i-e .cs In normal cases Session variable are removed using [CODE] Session.Remove("SaleID"); [/CODE] but in this … | |
Hi all In my application developed in asp.net 4.0 i am using url routing technique. There is a text box in which user enters title of an ad and this title will be the URL to next page. My problem is when user enters special characters like & or % … | |
Hi I have a datalist in which i am checking that if product have image then display its image other wise display no image through if condition but its not working. [CODE]<img src='<%# !String.IsNullOrEmpty(Eval("Companylogo").ToString()) ? "../adspictures/no-logo.jpg": "../adspictures/" + Eval("Companylogo") %>'/>[/CODE] It always displays no-logo. Tell me what am i doing … | |
Hi In my application i have used master page. I created a web form that DID NOT USE master page. Is it possible that from this form i can access master page controls. If yes then how can i access it? | |
Hi all I am using asp.net 4.0 for my application that connects to sql server 2008 via ADO.Net Entity Framework. When there is bit increase in traffic the site goes down. I notice below error in event management [QUOTE]Execution of the command requires an open and available connection. The connection's … | |
Re: You can also add these tags in code behind like below if you are using .net 3.5 or later [CODE]Page.MetaDescription="description";[/CODE] | |
Hi all In my application developed in asp.net 4.0 i am using url routing module. Below is the code i used in Global.asax [CODE] void Application_Start(object sender, EventArgs e) { RegisterRoutes(RouteTable.Routes); } private void RegisterRoutes(RouteCollection routes) { routes.MapPageRoute("testpage", "{storename}", "~/Store.aspx"); } [/CODE] I debug my app and put break point … | |
Hi all I am using URL routing in my application developed in .net 4.0. The urls are without extension i-e .aspx and is working fine on my local machine(win 7) but not working on the server(win 2003). It gaves page not found error. When i add .aspx extension to it, … | |
Hi all I used master page in my application and there is a button and text box on it which redirects user to another page. There is also another button and text box for user to login in to his control panel. When i fill up the login form and … | |
Hi all In my file upload control i uploaded a large image, let say of 3 MB, how can i reduce its file size to kbs. I am also re sizing that image and maintaining its quality, that's ok, but how can i reduce its file size. | |
Hi all I have a div whose width and height are set to 120px and 90px respectively. Now i m showing re sized images in this div. I have an image whose width is 80px and height is 107px, now if i set image width and height to the same … | |
Hi all In my web application i have validation controls. On selected index change of drop down list i set Enabled property to false of certain validations but they are still enabled. Drop down list is inside update panel. Strange part is the that it works fine on my local … | |
Hi people I am calling JavaScript function on partial post-back. Its working fine when i run my site locally but it did not work after i implement it on live program. I used following line of code to call function: ScriptManager.RegisterStartupScript(Me, GetType(Uri), "", "privateseller();", True) Here is JavaScript function where … | |
Hi i was installing sql 2000 on win 7 but it gave a message something like "sql have compatibility issues with this version of windows". I want to use sql 2000 with vs2005. Is it possible to run sql server 2000 on win 7? If yes how can i run … | |
Re: Use RegularExpressionValidator; which is used to determine whether the value of an input control matches the pattern defined by regular expression. Validation exrpession for textbox that only accepts integer value is ^(?=.*[1-9].*$)\d{0,7}(?:\.\d{0,9})?$ Set ErrorMessage property to Enter digits Only or what ever you want. | |
Re: Following links might help you [URL="http://www.dynamicdrive.com/dynamicindex4/imagetooltip.htm"]http://www.dynamicdrive.com/dynamicindex4/imagetooltip.htm[/URL] [URL="http://www.dynamicdrive.com/dynamicindex4/thumbnail2.htm"]http://www.dynamicdrive.com/dynamicindex4/thumbnail2.htm[/URL] | |
Hi people I have radio button list populated from database. By default first value is selected. How can i call JavaScript function if user selects another value in radio button list. | |
Hi all I populated gridview using custom paging and wraped it in update panel. Issue is when i go to a page, select an item and press browser back button it take me back to first page not to page that i last visited. | |
Hey all i have installed vs 2005 on windows 7, it worked fine for few days but suddenly while creating new website project i got error "creation project<projectname>...project creation failed". Also when i try to run existing projects another strange error i encountered was "Unable to connect to vs local … | |
Re: Below links might help you [URL="http://p2p.wrox.com/classic-asp-basics/10566-response-redirect-new-window.html"]http://p2p.wrox.com/classic-asp-basics/10566-response-redirect-new-window.html[/URL] [URL="http://weblogs.asp.net/infinitiesloop/archive/2007/09/25/response-redirect-into-a-new-window-with-extension-methods.aspx"]http://weblogs.asp.net/infinitiesloop/archive/2007/09/25/response-redirect-into-a-new-window-with-extension-methods.aspx[/URL] | |
Hi all i have a radio button list with two values 1.public 2.private. I want certain rows of my table to be visible, when radio button value is changed to public whose visibility is set to false. I can easily accomplish it through SelectedIndexChanged event but that will cause page … | |
Hi all I have rewritten urls in my application using RewritePath in Global.asax. Locally it works fine, but after i upload my application it shows me "page not found" message. Any body so kind to tell me what actually problem is? | |
Hi all In search engine optimatization im stuck at the point that how should i rewrite urls for my application. i have searh through net but i dont understand how should i get start and how shuould i do this. Any help will b greatly apprecatied... | |
Hey all I have a form with update panel, Drp Down and Text boxes and requered Field Validators.There is also a button that do post backs. Validation group of Field Validators and button are same. When page loads and i submit data validators appear. After i select data or change … | |
Re: hey there i solve this problem by specifying DeliveryMethod of PickupDirectoryFromIis [CODE]# System.Net.Mail.SmtpClient myMailClient = new System.Net.Mail.SmtpClient(AppSettings("SMTPHost")); myMailClient.DeliveryMethod = SmtpDeliveryMethod.PickupDirectoryFromIis; myMailClient.Send(From,To, Subject,Body);[/CODE] | |
Re: [QUOTE=Ammar Gaffar;209769]Hi Adam, I will give the method , regardless about your project take the method then apply it with any project There two common methods is used for passing data between forms The first one is by creating a properties in the form that you want to pass the … | |
Re: hi there just post exact exception being thrown... | |
Re: Hi below link might help you [URL="http://msdn.microsoft.com/en-us/library/aa581779.aspx"]http://msdn.microsoft.com/en-us/library/aa581779.aspx[/URL] | |
hi i have hundreds of records in my gridview and im showing 10 records per page.... i have upto 5 columns and i want to sort records records how will i do it? | |
Re: Enter "No records found" in datagridviews property EmptyDataText if storeprocedure didnt return anything and gridview is binding properly. otherwise post your code to help you more | |
Re: Use Try Catch block and post exact exception that is being thrown. | |
Re: You will find useful information on how to register domain name and where plus how to get start on below link: [URL="http://www.getawebsite.friezedesign.co.uk/index.htm"]http://www.getawebsite.friezedesign.co.uk/index.htm[/URL] | |
Hi How can i count number of times user viewed a specific page in my application. Also i want to use Session or something else because if a user refreshes that page it should be icremented once. Any ideas how can i do it | |
Hi I have a datagirdview with a checkbox placed in header.How can i check or uncheck all checkboxes by clicking on checkbox that is in header. | |
Hello guys I have datagridview with each record containing a checkbox. I need to loop through the grid rows and get checkboxes that is being checked and also row numbers. There is also a delete button outside gridview.The above process should got executed on delete button click. Please provide some … | |
My page contains datalist that renders small thumbnails of 90 x 70. When i click on thumbnail a large copy of thumbnail in an image control above the datalist is displayed.The problem is page goes to top of its scroll position.I have to scorll down to get to thumbnail.How can … | |
Hi experts On my page i have displayed several ADs.When user click on specific AD details of that AD are displayed.How can i count number of times an AD being viewed and show count. | |
Hi How can i resize an image before uploading and saving to database to the size im showing in my application.How will i accomplish this. | |
Hi I have an image converted to binay and saved in SQL database. Below is my line of code where application is throwing above exception that im using for showing image [CODE] Dim mem As New IO.MemoryStream(CType(io.File.ReadAllBytes(imgfilepath), Byte()))[/CODE] Does anybody knows how can i fix this? Thanks and regards, f | |
Hi I have dropdownlist populated from database.My requirement is to count the number of records for each dropdownlist item like: Toyota(15) Honda(10) BMW(20) I have used[CODE] ddlMake.Items.Add(datatable.Rows.Count)[/CODE] but it shows records in below format Toyota Honda BMW (15) (10) (20) | |
Re: wow thanks xpartmgr as i was in need of progress bar so badly... | |
Hey all i have gridview with two buttons up and down inside gridview. by clicking on moveup button row should move up and down when user clicks on move down button. How can i achieve this.Please provide some sample code | |
Hey all i m trying to send progaramatically an email to user. i receive message "Email sent successfully".but email is not deliveing... i have two problems 1.Email sent to yahoo id is in queue from yesterday as i checked it in Inetpub>mailroot>queue. 2.Email sent to hotmail id is neither in … | |
Hi all i have checkboxlist populated from a table in database.now how can i store only checked items to database. | |
Hi all Convert(decimal(10,1),(taxid*10)/100) as tax value in taxid is 1. And also im getting .0 result but it should return .1 Plz help me..........why im getting wrong answer. |
The End.