No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
9 Posted Topics
Re: hi You should use "asp:FileUpload" control in asp.net 2.0 or ordinary input control with type file in asp.net 1.x insted of filedialog control Regards razool | |
Re: Please convert the hours to integer ie Replace string hours = Console.ReadLine(); to int hours=Convert.ToInt32(Console.ReadLine()); change the datatye numberofhours,weeklypay to int i hope you understood Regards razool [QUOTE=charlie81;566608][CODE]using System.Collections.Generic; using System.Text; using System; namespace assignment11 { public class Program { public static void Main(string[] args) { //get input System.Console.Write("number of … | |
Re: For your kind information on SelectedIndexChanged events fires only when index of item changes. it wont fires if there is only one item in drop down. Permant Solution if you realy want to achive that, please add a dummy item like ["---Select a value--"] in the dropdownbox. Temp Solution On … | |
Re: Hi please write the following code alone Button1.Attributes.Add("onclick", "window.close();"); Remove rest of the things Regards razool | |
Re: Hi , What you are going to do is absolute wright. before that pls check the global.asax.cs file whether the class has inherits with System.Web.HttpApplication class. more over check the class has been orgainzed with any name space. if it so then your asax page should implies like this [icode]<%@ … | |
Re: You have declared the variable int regHours,ovtHours in GetInfo. the scope of the variable is upto the function getinfo. but you used the same variable in the function Calculator. Inorder to use the variable please declare as a private variable in the class common to both function Regards razool | |
Re: Hi Can you please provide me source i will guide to solve it | |
Re: Please Organize the web.config and global.asax in the same folder Regards razool [QUOTE=BluePaper;566384]I'm using Visual Studio and I'm learning ASP.net, to learn I'm following the VWD Videos available on the Microsoft website. I watched one of the videos and the guy used a Global.asax file, I followed exactly as I … | |
Re: Please do the following In Aspx page write the following [code=html]<script language="javascript"> function MyAlert(var msgStr) { alert(msgStr); } </script>[/code] In aspx.cs page [icode]Button.attributes.Add("onClick","MyAlert('myMessage');");[/icode] [QUOTE=waterfall;559209]how to use javascript alert in [U]C# web forms[/U]? im using this: [CODE]Button.attributes.Add("onClick","javascript:alert('data saved successfully')");[/CODE] but its not working. i searched for it on internet but im … |
The End.