Obtain a particular XML format file from WriteXML method
Hello all, in my ASP.NET 3.5 webpage I need to convert a Datatable in a XML file and save it on the C:\ root of the users.My datatable has an output like this (from my SELECT clause in the...
View ArticleGlobal value for whole web site (all pages)
Hello!I am working on web site for managing spare parts in 3 warehouses inside a company. User can choose between wharehouses (WH) only on Default.aspx page (after he is logged in). Ok. Lets say user...
View ArticleError- Conversion failed when converting the varchar value 'BOOK' to data...
Hi,I have to use the cascading logic to populate values in dropdown2 based upon values in dropdown1.Howwever, I am unable to achieve this and getting an error- Conversion failed when converting the...
View ArticleWhat's the best way to collect a date in a form
Hello all,Newbie question. What's the correct way to collect the input of a date from a web form? At the moment, I use a TextBox (ID="date'). Is that correct? This TextBox adds it's data to a "date"...
View Articleis my code wrong to display image and save image to foloder and sqlserver
HiI still focus to save image to sqlserver. This is my code, I want to ask you. Is it my code is wrong?My image only can be saved to sql server in button save but, in button finish cannot save in sql...
View ArticleProgrammatically login to a website that uses IIS authentication
Hi all am trying to login to a website programmatically.I have already worked on this but is was a php page and i used the below code (found some where on Stack Overflow) to login to it and it worked...
View ArticleConnectionString
Hi I Have HttpModule With Use ConnectionString In Program As HardCode And In Settings.Designer.cs [global::System.Configuration.ApplicationScopedSettingAttribute()]...
View ArticleApplications and application pools
I have a static variable that I want to share across two service calls. In production this seems to be working but in development this is not workingI am totally stumped.Site UAT1 has application BG...
View Articlecombination of string
Hi I have 12 letter example A,H,K,L etc.I want 8 combination of word these 12 letter.Thanks
View ArticleMessage Box in web form
Dear All,I want to show Windows Message Box "Are you sure you want to Do this" etc message box with Yes or Cancel button. if data exist in datatable after filling on button click.
View ArticleWeb form for my project (ASP.NET) partial refresh
Hello Everyone,My name is Jonathan, for my study I'm currently doing a three-months work placement and on of my two project is to create a WebFor which allow to User to be interfaced to the home...
View Articleasp.net iis server hosting
i am getting this problem why?Failed to login to session state SQL server for user 'IIS APPPOOL\mywebsite
View ArticleStop post back on some validation
Hi,I need to stop Postback when some custom validation happens.Also some custom validation happens for repeater control. Below is the code I have written:<asp:Button ID="btnSubmit" runat="server"...
View Articlejavascript function to ADD
Hi,I have used a javascript for addition of two nos. Both nos. being given in textboxes txt1 and txt2.The added no. also should popup in txt3.The function named add();The only thing I don't understand...
View Articlewebpage not showing properly in Internet explorer
hi, im doing a website in which it is showing properly in chrome,firefoxand maxthom browsers but its not showing properly in internet explorerhere is my code<%@ Page Language="C#"...
View Articleschema issues with asp.net page
hi,i am getting schema issue in my application. how to resolve it?if i give abcschemaName.Tablename it is working..but previously it is working fine with database object directly Tablename fine. not...
View ArticleHow to save the Mail Merge Item after clicking on Electronic Mail in MS Word?
Hi All,Can any one let me know "How to save the Mail Merge Item as an EML or MSG File once after clicking on Electronic Mail item in MS Word"?Regards,G.V.N.Sandeep
View ArticleError- System.FormatException: Input string was not in a correct format.
HI,I am getting this runtime error - System.FormatException: Input string was not in a correct format. on this line of code -DataTable dtsubfunction...
View ArticleRedirect or switch from https to http
Hello,I'm trying to authenticate users through https (SSL), but after the user get authenticated I want to revert back to http (non-SSL) to redirect users to some .aspx page. I'm able to redirect users...
View ArticleEmbed web pages? from website to another ? (SSL)?
I have developed a website for our clients utilizing SSL that allows users to make payments with their credit cards and so forth... Some of our clients already have existing websites (unknown...
View Article