13,936 Topics

Member Avatar for
Member Avatar for blackbr

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 …

0
60
Member Avatar for Eager_Beever

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 …

Member Avatar for Eager_Beever
0
170
Member Avatar for mem81

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 …

Member Avatar for mem81
0
113
Member Avatar for AniWeb

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 …

Member Avatar for greeny_1984
0
343
Member Avatar for mubin_attar

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> …

Member Avatar for greeny_1984
0
51
Member Avatar for julseypart

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 …

Member Avatar for greeny_1984
0
115
Member Avatar for ViRiPuFF

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 …

Member Avatar for greeny_1984
0
92
Member Avatar for Eager_Beever

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, ------ …

Member Avatar for almostbob
0
106
Member Avatar for emilio

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 ?

Member Avatar for greeny_1984
0
113
Member Avatar for adhi.adithyan

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 …

Member Avatar for greeny_1984
0
102
Member Avatar for ranjinibiliya

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. …

0
42
Member Avatar for ahihihi...

[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]

0
53
Member Avatar for sonakrish

Hi alll... Am planning to design my web page with flash. Can any one guide me. Whats the first step to start?????

Member Avatar for Monalisaparker
0
146
Member Avatar for blackbr

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 …

Member Avatar for blackbr
0
69
Member Avatar for somesh_nag

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 …

Member Avatar for ravinder007
0
1K
Member Avatar for matale

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 …

Member Avatar for matale
0
326
Member Avatar for ranjinibiliya
Member Avatar for ranjinibiliya
0
123
Member Avatar for mahdiahmadirad

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 …

Member Avatar for almostbob
0
109
Member Avatar for green_cool7943

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 ?

Member Avatar for aqee_se
0
165
Member Avatar for arunmozhi

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 …

Member Avatar for arunmozhi
0
324
Member Avatar for Eager_Beever

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 …

Member Avatar for serkan sendur
0
883
Member Avatar for HodgesBadge

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 …

0
59
Member Avatar for emilio

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 = …

Member Avatar for emilio
0
239
Member Avatar for Tess James

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..

0
63
Member Avatar for serkan sendur

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]

Member Avatar for sknake
0
113
Member Avatar for cVz

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 …

Member Avatar for sknake
0
168
Member Avatar for millsy007

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 …

0
53
Member Avatar for Halbo

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 …

0
73
Member Avatar for Halbo

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 …

0
74
Member Avatar for cipher

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 …

Member Avatar for yogesh.chhabra
0
336
Member Avatar for arunmozhi

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 …

0
61
Member Avatar for ranjinibiliya
Member Avatar for serkan sendur
0
174
Member Avatar for arunmozhi

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..

Member Avatar for serkan sendur
0
170
Member Avatar for gamaz123

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) …

Member Avatar for serkan sendur
0
70
Member Avatar for arunmozhi
Member Avatar for serkan sendur
0
62
Member Avatar for mangesh5588

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 …

Member Avatar for ravinder007
0
135
Member Avatar for EDanaII

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 …

Member Avatar for EDanaII
0
875
Member Avatar for Derice

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 …

Member Avatar for ema005
0
337
Member Avatar for csharplearner

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 …

Member Avatar for csharplearner
0
155
Member Avatar for chriscross86

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, …

Member Avatar for srikanthkadem
0
193
Member Avatar for preethi_ga

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 …

Member Avatar for srikanthkadem
0
759
Member Avatar for cVz

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

Member Avatar for srikanthkadem
0
89
Member Avatar for vishwana

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 …

0
53
Member Avatar for tanu.rajgor
Member Avatar for NipelHOD
0
55
Member Avatar for serkan sendur

[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]

0
73
Member Avatar for serkan sendur

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]

0
66
Member Avatar for serkan sendur

[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 …

0
76
Member Avatar for serkan sendur

it is pretty easy with one line of code : add System.Diagnostics namespace then [CODE]Process.Start("C:\\foo.exe");[/CODE]

0
68
Member Avatar for Kusno

[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" …

0
71
Member Avatar for madhusvuce

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 …

Member Avatar for verruckt24
0
80

The End.