13,936 Topics
![]() | |
I'm developing my asp.net app in VS2008. I'm testing using IIS7 / IE 7 on my Vista laptop. When I port the app to the production server (Windows2003 / IIS6) my pages render differently using the same IE7 browser. How can I best get past this problem? Any help will … | |
I have an ASP.net 2.0 website with SQL Server as database and C# 2005 as the language. On my webpage I have a calender from which I choose a date and display only the date part in a textbox (readonly) in the format dd/mm/yyyy. But internally SQL Server uses m/d/y … | |
Hello, I have a form where I have to say two dropdown lists. Firts dropdown list is populated based on query from a table in access database. I have another dropdown list .I woud like in that second dropdown to show only values that are relevant to the selection in … | |
Hello All, How I can edit rows of gridview using Command Field ‘Edit,Update,Cancel’ of the gridview? I bind the gridview with the Session variable, which contain and returns the DataTable, the coding is as follows:- [code] protected void Page_Load(object sender, EventArgs e) { GridView1.DataSource = (DataTable)Session["MyShoppingCart"]; GridView1.DataBind(); }[/code] One more … | |
Hi, I gotta make small application which have some radio buttons. On the radio button I want event, which means after clicking a particular radio button datagrid will the data from a paricular xml file for particular element. I have blw mntd xml file [code=xml]<products> <prdocut> <productid="p001"></prdocutid> <prodname>toys</prodname> </prdocut> <prdocut> … | |
hi all. ok i have been able to create an error message - if the user tries to delete a row which has not been selected first; but it still deletes from the gridview... [CODE]void DeleteRowButton_Click(Object sender, EventArgs e) { LinkButton btn = sender as LinkButton; GridViewRow row = btn.NamingContainer … | |
Hi I have a site with 2 pages. The first page consists of a set of input fields where the data input by the users will end up in a db when the user clicks the submitt button, creating a new record. As well as this on click the users … | |
I am developing ASP.net 2.0 website with SQL Server as database and C# 2005 as the programming language. In one of my tables, I have a filed named RTime of char datatype to store times. The values of this particular field are like 09:00 AM, 09:15 AM, 09:30 AM, ------ … | |
hi i use a gridview control with a template column which contains textbox as itemtemplate. i'm trying to change the textbox's border color in runtime like this: [CODE=asp]((TextBox)MyGrid.Rows[i].FindControl("txtEnter")).BorderColor = Color.Red;[/CODE] but it doest change anything. what am i duing wrong ? | |
hello experts, I have created filter grid in asp.net & C#. My form design has contains 3 dropdown controls and Filter grid(User control). Its working fine(filter), but one problem arise. the form controls are clear when i filter a grid(post back). I tried to reterive values using view state, hidden … | |
Hi, i will explain my requirement to u. Actually i have generated a login window in server(In .aspx format). Then my exe file of our software is in server. For security purpose v are doing like. When the user logs in to the server eg. they are accessing my pc. … | |
[URL="http://www.youtube.com/watch?v=ruw4jHJ53FY&feature=related"]I just found this presentation for transporting [B]([/B]or what happens[B])[/B] e-mail over the internet[/URL] | |
Hi alll... Am planning to design my web page with flash. Can any one guide me. Whats the first step to start????? | |
Yesterday, my VS2008 IDE began allowing only 1 document/tab to be present at a time in the Text Editor (vb). I've been using this solution for 5 months with no problem up to now. I've looked at various tools/options, but can't see anything that does, or should, help. At the … | |
Hi, I want to display a java script confirmation box before browser session is timeout with message as "Your session is going to timeout in 2 mins. Do you want to extend session?", if user is clicked on "Ok" button within the session timeout period, session should be extend. If … | |
I created a dataset in the Dataset Designer by draging a database table into it, then I added a new select SQL query to the DataTable. Check the pics I think it helps explain it better. [URL="http://i43.tinypic.com/2qs7707.jpg""]http://i43.tinypic.com/2qs7707.jpg"[/URL] Now the problem comes when I try to use an ObjectDataSource, it sees … | |
Hi, i want a code to open an exe file in asp. please explain me in detail. | |
Hi,Friends! I am thinking about an online advertisement project based on click payment(ppc: pay per click). you know about these systems. when you open an account in such system in your account space there is a code generated and you copy it and paste it to your website HTML code.ads … | |
I have been trying to make a client server chat application with voice chat ...i'm using visual studio 2008 ...can any1 tel me the components or libraries used to implement voip in .net ? | |
Error: The server rejected one or more recipient addresses. The server response was: 503 This mail server requires authentication when attempting to send to a non-local e-mail address. Please check your mail client settings or contact your administrator to verify that the domain or address is defined for this server … | |
I am creating a website using ASP.net with C# 2005 as the language. In my ASP.net page, I have displayed a GridView. I have dynamically populated the GridView during runtime using Dataset and SQLDataAdapter. Since the GridView displays ALL columns at a fixed width, it does not look pretty to … | |
I've set up a new server with Windows 2003 Standard to replace an older one. I exported the two sites we were running through IIS from the old server to the new one. Both sites can be accessed successfully, but one of the sites seems to lock up after a … | |
hi I'm trying to execute a stored procedure which returns a datatable my code is: [CODE=asp.net]try { string conStr = WebConfigurationManager.ConnectionStrings[0].ConnectionString; SqlDataAdapter adapter; DataTable ans = new DataTable(); SqlConnection connection = new SqlConnection(conStr); SqlCommand command = new SqlCommand(); command.CommandType = CommandType.StoredProcedure; command.CommandText = "usp_GetUserDetails"; command.Parameters.Add("@UserName", SqlDbType.VarChar); command.Parameters.Add("@Password", SqlDbType.VarChar); command.Parameters["@UserName"].Value = … | |
How to clear all the items in the drop down list? [code] DropDownList1.Items.RemoveAt(j); DropDownList1.Items.Clear();[/code] These are not working for me. (am using VC#.net) any help would be appreciated thanks.. | |
if you add a directive like below, you can access the usercontrol class' public members and the class it self by typing its name, otherwise the compiler generates an error indicating that referenced member is not found. [CODE]<% @ Reference Control ="~/WebUserControl.ascx" %>[/CODE] | |
Hi There I get the following error when clicking on btn This code works perfectly on some machines but does not work on others [code=C#] protected void btnSave_Click(object sender, EventArgs e) { if (btnSave.Text.ToUpper() == "CREATE") this.InsertInvoice(); else if (btnSave.Text.ToUpper() == "SAVE CHANGES") this.UpdateInvoice(); } private void InsertInvoice() { String … | |
I have a javascript calendar, It is working fine, I have set all the styles, but have now realised that it displays in american date format ie Month Day Year I want it to display in European Format ie Day Month Year I was hoping there would be a way … | |
Good day! I am trying to learn more about the FileNet .NET API for Content Manager 4.0. The API has been totally reworked since version 3.5 and all the help files seem to be geared towards Java rather than .NET. I have been able to figure out how to check … | |
Good day! I am trying to learn more about the FileNet .NET API for Content Manager 4.0. The API has been totally reworked since version 3.5 and all the help files seem to be geared towards Java rather than .NET. I have been able to figure out how to check … | |
Iam trying to call a C# DotNet 2003 webservice from Visual C++ 6 app (used win32 console, mfc, atl_mfc dll) using Soap toolkit 3. The webservice takes a String input parameter and returns a String. The input parameter I pass through C++ is always recieved as NULL in C# webservice … | |
hi. i need to send nearly 700 email at a time using asp.net., the email address will be in dataset, using for loop i had taken the email address one by one., but i dont know whether it will send the email without timeout thread or something else. For testing … | |
I need a code to open a exe file in asp. please help me as soon as posssible. | |
in asp.net how to show the girdview with header, when the datasource=null, i have used gridview.EmptyDataText="Some Text" but i need to show the grid with the header any one plz help me.. | |
Hi, I am trying to update a datetime field in a table using asp.net web form. However I am getting the following error message: @poduedate is not a parameter for procedure prr_out_projsearch_update1. The parameter I am adding to a stored procedure in the asp.net page is the following: [code]cmd_r.Parameters.Add("@poduedate", Data.SqlDbType.DateTime) … | |
hi.. friends., how to get the gridview datakeynames in the page load event. in asp.net.. | |
HI, I am creating a CMS site in asp.net with flash animation. I want to write editable text (fields) on a white sheet that opens in an animated form. The text has to be in asp.net as there is a small query form, and some text (that can be edited … | |
I'm not sure if this is the right place to post this, but as there is no .NET forum (only a VB.NET and ASP.NET forums) and I'm using C#, so here I go. :) I have a datagridview with a single combobox per row. I want to populate that combobox … | |
I am using the login control in ASP.NET. When I run the program an error msg "Incorrect syntax near the keyword 'User' " appeared in the debugging mode. I have no idea what is the problem. Anyone know what is wrong with my code? [CODE] Protected Sub Login1_Authenticate(ByVal sender As … | |
Hello all, I know this is not a question related to some asp.net error but posting it in here because of the hope that people who are working in asp.net might be able to answer my problem. I attended a technical phone interview few weeks back and today got a … | |
hi, there... im having problem with this codings. these codings are meant for login purpose. i dont knw where ive gone wrong. are these the only codes, or are there any other codes that ive not included... please help [code=asp.net]<%@ Page Language="VB" %> <script language="VB" runat="server"> Sub btnLogin_OnClick(Src As Object, … | |
Hei, Im using ASP.NET as Front end and SQL Server as Backend. the codings are.. [code=asp.net]imports system imports system.data imports system.data.sqlclient [/code] After inherits...... some connectin codingd are there [code=asp.net]dim con as SqlConnection dim adp as SqlDataAdapter dim com as SqlCommand dim data as Dataset[/code] after the connection codings in … | |
How can i set a text box's text to this format '[COLOR="Green"]0,000,000.00[/COLOR]' rather than '[COLOR="Red"]0000000.00[/COLOR]' ???' Thanks | |
Hi, Can anyone pls tell me how to read an xml file and display in the interface. My XML file will be in this format [code=xml]<main> <sub attr="123"> <a>xyz</a> <b attr="123">xyz</b> <c>xyz</c> <d attr="fghjh"> <e>xyz</e> </d> </sub> <sub attr="123"> <a>xyz</a> <b attr="123">xyz</b> <c>xyz</c> <d attr="fghjh"> <e>xyz</e> </d> </sub> </main>[/code] I … | |
hi, can we use silverlight application in ASP.NET 2008? how? plz tell me in brief... | |
[CODE]using System.Configuration; string s = ConfigurationSettings.AppSettings["con"];[/CODE] the code above gets the value from the app.config file where the following markup exists [CODE]<?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="con" value="foo"/> </appSettings> </configuration>[/CODE] | |
you can access repeater's row data using the code below in the ItemDataBound event handler [CODE]protected void rpt_ItemDataBound(object sender, RepeaterItemEventArgs e) { object value = DataBinder.Eval(e.Item.DataItem, "columnName"); }[/CODE] | |
[CODE]System.Timers.Timer time; protected void Page_Load( object sender, EventArgs e) { time = new System.Timers.Timer (); time.Enabled = true ; time.Interval = 2000; time.Elapsed += new System.Timers. ElapsedEventHandler(time_Elapsed); } private void send() { MailMessage mm = new MailMessage (); mm.IsBodyHtml = true ; mm.Body = "foo" ; mm.To.Add(new MailAddress ( foo@foo.com … | |
it is pretty easy with one line of code : add System.Diagnostics namespace then [CODE]Process.Start("C:\\foo.exe");[/CODE] | |
[CODE]<ajaxToolkit:ToolkitScriptManager runat="Server" EnableScriptGlobalization="true" EnableScriptLocalization="true" ID="ScriptManager1" /> <div class="demoarea"> <div class="demoheading"> Calendar Demonstration</div> <br /> <b>Default calendar: </b> <br /> <asp:TextBox ID="Date2" runat="server" autocomplete="off"></asp:TextBox><br /> <div style="font-size: 90%"> <em>(Set the focus to the textbox to show the calendar)</em></div> <asp:UpdatePanel id="UpdatePanel1" runat="server"> <contenttemplate> <ajaxToolkit:CalendarExtender id="defaultCalendarExtender" runat="server" TargetControlID="Date1" Format="yyyy-MM-dd"></ajaxToolkit:CalendarExtender> <asp:TextBox id="Date1" runat="server" AutoPostBack="True" … | |
I’m using Mysql (version : 5.0.24) which is accessed by web application developed by ASP.NET 2.0 .The version of the .net connector i’m using is 5.0.7.0 .Now the problem is the DB service is crashing unexpectedly i.e. the DB service is stopped & to be started manually. This to happening … |
The End.