13,153 Topics
![]() | |
So my group and i have been working on a ASP.net website for a tech prep showcase. We currently have connected the MS Sql Database that comes with Visual Web Developer. We are currently having a problem gathering data from the SQL Database and seeing if it is equivalent to … | |
I would like to thank the moderator for helping me with the code while reading row by row data using datatable and sqldata adapter. I am worried about the speed and performance of my code since I am making round trips to the server,every time I am increment the index … | |
It all started like this I created a sub directory in my hosting account, for blog engine 1.5. I then copied all the file from the source to the target sub directory folder which is under my root application. when I lauched this is the error I was getting [B]To … | |
[code] foreach (string id in str1) { string logoImage = ""; string BundleID = id; BundleSearchResultStruct BundleSearchResult = nbsi.GetProductDetails(guid, "marketingPartnerPassword", Convert.ToInt32(BundleID)); string y = builder1.Append(BundleSearchResult).Append(",").ToString(); y = y.TrimEnd(','); Session["BundleSearchResult"] = y; //some code relevent only to this block } while (reader1.Read()) { //do something foreach (string id in str1) { … | |
Hi i want implement a windows services scheduled task. I already created windows service. In a service i have implemented a timer.The timer is initialized at class interval. The timers interval is set in the start method of service and also it is enabled in the start method of the … | |
hi, im new here. i ve a project to automate a process. for which i ve to navigate to a asp.net web page automatically and then to click a link on that navigated page. im in need of asp.net code to do this. i ve tried like this [code] <html> … | |
Hey All, How to get current user login values ? There is any Session variable or somethings like that ? | |
Hi, Is there a way to set a default query string if query string is null? Something like: [CODE] if (Request.QueryString["ID"] == null) { //set default here } [/CODE] Many Thanks Grant | |
Dear Friends, im receiving a XML file which contain a HTML code in the value of a node.. i have fetched the html code, but now i have to show that on my ASP .NET page. please tell me how can i do that... is it possible to assign that … | |
Hi! I'm trying to use ABCpdf.NET to render an HTML page as a PDF. I'm using the AddImageUrl function which works fine on my local machine, but when I run it on the host server I get the following error:Unable to render HTML. Page load timed out. Unable to load … | |
hi how to give hyper link to inside of the gridview columns......... here my code is given below but it was not working properly..... please give me the correct code......... [CODE] Private Sub fillgrid() Dim Hyper_Column adp1 = New SqlDataAdapter(" select vendorcode , vendorname as 'Vendor_Name' from vendor_master", con) adp1.Fill(ds, … | |
[CODE] <asp:TemplateField HeaderText="Grabbelpas"> <ItemTemplate> <asp:CheckBox id="lblGrabbelpas" Enabled="false" runat="server" Checked='<%# DataBinder.Eval(Container, "DataItem.Grabbelpas") %>' ></asp:CheckBox> </ItemTemplate> <EditItemTemplate> <asp:CheckBox id="txtEditGrabbelpas" runat="server" Checked='<%# DataBinder.Eval(Container, "DataItem.Grabbelpas") %>' /> </EditItemTemplate> </asp:TemplateField>[/CODE] [CODE]CheckBox txtGrabbelpas = (CheckBox)(myDetailsView.FindControl("txtEditGrabbelpas")); strSQL = "UPDATE leden SET LidID = "Grabbelpas = '" + txtGrabbelpas.Checked + "' " + " WHERE LidID = '" … | |
Hi, I am facing a strange problem here, I am using a webservice to send emails through my website. Strangly when I run the application through VS2008 web development server only one email is sent which is normal, but when I publish the website on IIS then two copies of … | |
hi,can any one tell me in stepwise how to setup my asp website on LAN. thnks in advance | |
Hi, In my application, The user compares few products and clicks on the save button. 1. The comparison should get saved in the db with unique Id. 2. It should generate an URL and present it to the user which shows the saved comparison . I have finished the first … | |
cud any one tell me how to search particular data from database using data grid..... i had three text boxes for firstname,lastname and age.. and a search button... when i enter anything in any of the first two text boxes i.e either firstname or lastname or both, and enter search … | |
I need some help here. I have a page which I am using the ToolkitScriptManager for the use of some AJAX Calendar Control Extenders, and that works fine. Where I am running into a problem is using the UpdatePanel. I am not getting a partial or any postback on a … | |
Hi, I've currently got a gridView which selects data from my table, it also has the URL of an image in one of the columns. I want an imageField which can then display the image from the URL thats provided in the image column. My datagrid: [img]http://i41.tinypic.com/25ivst2.jpg[/img] My code for … | |
An application I developed has its session variables reset within 5 minutes. My session variables were timing out when I was connected to a asp state server so I switch session state mode to SQL with the hope that it would fix my problem. Now I'm getting a different error. … | |
is it possible to get values from a asp.net to a php script? | |
I've been working on something with alot of iteration (foreach) and now that everything is working I'd like to optimize it by changing it to link. Currently I am trying to translate this foreach code to LINQ [CODE] int count = 0; foreach( string file in Directory.GetFiles( path )) { … | |
Hi everyone, I've got a shopping cart with a total amount label, this works perfect with the products, if a product quantity is changed the label also changes. I have a shipping type drop down list determined by which region the user is, I would like the total amount label … | |
Hi to all.. i have some doubts in my mind that what should i remember when i uploaded a asp.net website to live server and also if i use database then what precautions should i take so that my website will not hamper with these issuess.. | |
Hey all, In sharepoint , where "personal/administrator" folder exists ? [url]http://xxxxx/personal/administrator/default.aspx[/url] I searched out whole Microsoft Shared folder, but didn't found either "personal /administrator" folder or default.aspx (other than control folder, which is predefined ASP controls ) Regards, gptArun | |
Hello there, I am developing sharepoint web site with ASP.NET . Stucked in home page design [didn't found home page]. I found default.master.aspx file but it changes all pages design. You have any idea ? googled out but didn't find nearby result. :( regards | |
Dear friends, I have a tab container with many tab panels in it. In each tab panel, I have a GridView which has an Edit button in each row. When Edit button is pressed, it turns into an Update button, and all fields become editable. When the Update button is … | |
Hi guys and gals I am new to the forums and was referred here by some friends. I am creating a site for a Xerox partner, and I am trying to pull content (a certain div) through, from the Xerox site, to mine, without pulling through the entire site. I … | |
I've been trying to pass the url from previous page that i was at. But lets say from a different web to my web. i've tried [CODE]Page.Request.UrlReferrer.ToString[/CODE] but it seems like it only works within the same web project only. any ideas? | |
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head id="Head1" runat="server" > <script type = "text/javascript" src = ""> function click() { new Ajax.Request('Handler.ashx', { method: 'get', onSucess: function transport() { var response = transport.responseText(); var Obj = response.evalJSON(true); for (i … | |
Hi I have trouble understanding, when I have to override and why I have to override. I'm using a WebUserControl I tried to use [CODE]Protected Sub Overrides OnPreRender(ByVal writer As System.Web.UI.HtmlTextWriter)[/CODE] but then I get the error [QUOTE]sub 'OnPreRender' cannot be declared 'Overrides' because it does not override a sub … | |
Hi, I have set the content of a listbox through databinding. [CODE] myListBox.DataSource = myDataSource myListBox.DataTextField = "column01" myListBox.DataValueField = "column02" myListBox.DataBind() [/CODE] I have then set the selected index of the listbox using a loop [CODE] Dim myValue As Integer = [I]someValue[/I] Dim myListItem As ListItem = New ListItem … | |
Hi all, I've uploaded my asp.net site to my ISP. It works fine locally on VWDE 2005, in that I can create users, assign them to roles, and control role access to website folders etc. Obviously this is all with SQL 2005 Express on my PC. When I upload it … | |
I’m stumped! I have an application I developed which has its session variables reset at odd times with no perceivable reason. I have a dedicated server; I have the .net session state service running. I have the following code in my web.config file [code=VB] <sessionState mode="StateServer" stateConnectionString="tcpip=127.0.0.1:42424" cookieless="false" timeout="45"/> [/code] … | |
When to use WCF and when to use Web Service? Would it be possible to call a WCF service from Javascript ?? | |
![]() | Hi to all, I have installed VS2008 pro in Xp sp2 pro. I have a problem with positioning of the controls while in the Design mode during a webpage development. Whenever I Add a "BUTTON" or any control in the form and want to drag it anywhere within the form … |
Hi, I had a problem when display the total amt from sql to textbox ------------------------------ create table get(Currentdate varchar(200),Expenses varchar(200),Amount decimal(38,2))-this a table ------------------------------ asp.net codings -------------------------- mycomm.CommandText = "SELECT sum(Amount) from get" dr = mycomm.ExecuteReader While dr.Read() TextBox6.Text = dr.GetDecimal(2) End While dr.Close() -------------------------------------------------------------- Error: Index was outside the … | |
Hi, I am using RegularExpressionValidator to validate EmailID where ValidateExpresion is:: \w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)* Actually i want to validate EmailID that can also contain spaces. example:: < [email]raman@gmail.com[/email] >,<raman@gmail.com>,< [email]raman@gmail.com[/email]> I want to validate all of the above Email IDs as Valid. Please help me Thanks in advance | |
I am usind ajax modal popup extender control.I used following code. </cc1:ModalPopupExtender> <asp:Panel ID="pnlConfirm" runat="server" Width="328px" Visible="False" CssClass="modalBackground" > <asp:Label ID="lblConfirm" runat="server" Text="No employee is marked as absent,do you want to continue?" Width="409px"></asp:Label><br /> <br /> <asp:Button ID="btnYes" runat="server" Text="Yes" CausesValidation="false" UseSubmitBehavior="false" CssClass="button" Width="34px" /> <asp:Button ID="btnNo" runat="server" Text="No" CssClass="button" … | |
[B]Please help me with this problem i need a tab control on a web page , pls guide me how to design it and if possible with a short example , thanks in advance to everyone [/B] | |
[QUOTE=reach_yousuf;727359]Master Page [CODE] <%@ Master Language="VB" AutoEventWireup="false" Codebehind="MainMaster.master.vb" Inherits="Focus.MainMaster" %> <%@ Register Src="WebUserControl1.ascx" TagName="WebUserControl1" TagPrefix="uc1" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <body> <form id="form1" runat="server"> <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <uc1:WebUserControl1 ID="WebUserControl1_1" runat="server"></uc1:WebUserControl1> <div> <asp:UpdatePanel ID="UpdatePanel1" runat="server"> <ContentTemplate> <asp:Button ID="btnMasterPageButton" runat="server" Text="MasterPageButton" /> <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server"> … | |
I have come across a requirement to dynamically show or hide asp.net web controls , html server controls. I want to do this through a configuration XML. So each page /aspx will have a configuration xml. Would it be possible to create a control (may be a custom control , … | |
I am getting this error when i am accessing my pages from virual directory. The virtual path '~/Masterpage.master' maps to another application, which is not allowed. Could anyone resolve this problem. | |
Hi! Does anyone knows how to add a radiobutton to a dynamic gridview that will be mutually exclusive? "In the GridView, the radio buttons cannot be grouped and therefore are not mutually exclusive. That is, an end user is able to select multiple radio buttons simultaneously from the GridView." One … | |
Hi, I really need your help. And I really will appreciate it also. By using ASP.NET I need to show in a Label or in a gridview control the output parameter of an “Stored Procedure” ERROR: Parameter 'RESULTADO' not found in the collection. PLEASE Help ‘**************************************************************************************** DELIMITER $$ DROP PROCEDURE … | |
Hello there... can somebody guide me on this… I have a panel (say, panel1) inside another panel (say, outer-panel)….The panel1 is visible only when a checkbox is checked in the outer-panel. I have many text boxes in the panel1. I have to put a validation on all the boxes. I … | |
Well I'm currently creating an application that will subscribe to youtube channels that you are interested in. I run a check to first see if you are already subscribed to the channel, but I sometimes receive an alert box saying you are already subscribed. I couldn't leave this bot on … | |
Hi All, I have data repeater , I want depending on value of one of its contained label , highlight the row , how can I do that Unffortunatelly in asp.net 1.1 there's no e.item.css = "" what shall I do | |
Hi there, I have an application with a large number of pages, often with forms, and on the master page I have a search box. When a user fills out a form, then presses enter, rather than submit the form, it submits the search. Is there any way I can … | |
Is it possible to add a user in a specific domain through coding in asp.net.My code behind is vb.Please give me syntax. As of now, i ll give u a reference coding Sub AddUser(ByVal folderPath, ByVal userName) 'creating a account in the active directory so that the particular account can … | |
i am completly new to this programming language,but i know the features of the .net that wht is c#,asp.net and sql server.and presently working with s/w company where i need to work on ajax plzzzzzzzzzzzzzz suggets me how will i do |
The End.