Managed to trash my website, trying to restore....'First_Site.WebForm2' is...
I tried to copy a working website to a new file so I could create a new website based on the original. Visual Studio decided it would tell me the project copied but just contine to work on the old...
View ArticleGet each files from a directory on the web server
I have got a webform where a user attaches a few documents and then hits the subit button.These documents and the other form fields are to be emailed to a specified email id.The approach I am...
View ArticleDraw lines between markers on Google Map?
I have markers on a google map from points provided by a database of Latitude & Longitude but i want draw the line between markers, how? <html xmlns="http://www.w3.org/1999/xhtml"><head...
View Articlehow to solve this erro : "A column named 'Rowno' already belongs to this...
hi i am merging value in datatable inside foreach. foreach works using id iteration. id = 1,2,3,4foreach (ListItem list in chek.Items) {qlConnection pubconncheck = new...
View Article"Parser error" in my "Global.asax" file
I am getting a "Parser error" in my "Global.asax"file:<%@ Application Codebehind="Global.asax.vb" Inherits="Astronomy.Global_asax" Language="vb" %>Both "Global.asax" and "Global.asax.vb" exist...
View ArticleSession expire and redirect to another page
Hi All, I have one problem in my web site, I need to redirect my application when there is no action for three minutes. I used session timed out period in the web config file. But When I am working...
View ArticleHow to Re size Image and save in folder and Image Name and ID in Database ?
My code for Image Insertion is string savepath; string filename = Path.GetFileName(FileUpload1.PostedFile.FileName); savepath = "~/Images/" + filename;...
View Articleerror : in visual studio 2010 asp.net : script block (appendchild is...
Error : appendchild: object is undefined or null when run any project website show tis error in visual studio 2010 :The error : go to the script block and show message box : Microsoft Javascript error...
View ArticleError msg: The SQL error number is 5110 and the SqlException message is: The...
Server Error in '/CS' Application.I am reviewing Web Part Franework from the SAMS Book, ASP.NET 2.0 Unleashed. On a VS2008/.NetFrameowrk 3.5 workstaion, I have successfully run the...
View ArticleCopying files C# directory
I have a web applicatin in C# that copy fies from one directory to another. I figured out all the logistics but I need to be more dynamic with my variables.Check the CRCV folder for files and folders,...
View Articlesave as dialog box in web form
How can we create a "save as" dialog box in a web application when client downloads a file from a server.
View ArticleMultiple instances of webusercontrol on the same page.
I have a web user control which has the following code in it:<script type="text/javascript"> var c= null;$(function () { c= new AquaGauge('canvas1'); c.props.startValue = 0; c.props.stopValue =...
View ArticleIn a Multiline Textbox is there a way to have a carriage return to the...
<asp:TextBox ID="TextBox1" TextMode="MultiLine" Rows="25" Width="800" Height="100" AutoPostBack="true" runat="server" BackColor="#CCFFCC"></asp:TextBox>In a Multiline Textbox is there a way...
View ArticleLocalizing NextPreviousPagerField (PreviousPageText, LastPageText ,...
As seen below, I am setting the properties PreviousPageText, LastPageText , NextPageText, FirstPageText of NextPreviousPagerField on PreRender of the of the data pager control. However, after...
View Articlehow to continue row number increasingly while filling data to datatable.?
hi,i have the few records in database like follows:Record 1. Rowno name1 christ2 william3 Albert.Record 2.Rowno Name1 Martin2 Allen3...
View Articlemultiple instance of windows service from web application on button click
hi, I have an asp.net web application where one operation is report generation. It will take a long time to generate the report. So the logic is like when the user clicks on report generation button,...
View ArticleHow to prevent button click from refreshing whole page?
I am using a web service for currency conversion, within my web form I have a textbox to enter ammount, a From Currency Dropdownlist and a ToCurrency dropdownlist. I am showing the result in a html...
View Articlejavascript is not getting loaded dynamically
I am retrieving javscript function from database and registering it using ClientScriptManager.RegisterClientScriptBlock();During the page load, javascript fn is registered and function is called...
View ArticleReg: Mouse click avoid in deployed crystal report
To avoid mouse right click event in deployed crystal report.
View Articlewhy this functionn function drawFlightPlan(flightPlanCoordinates)...
<script type="text/javascript"> var map; var data; var flightPlanArray = []; function initialize() { var markers = JSON.parse('<%=ConvertDataTabletoString() %>'); alert(markers.length); var...
View Article