13,936 Topics
![]() | |
public void kraGridView_RowDataBound(object sender, GridViewRowEventArgs e) int totalPercent = 0; if (e.Row.RowType == DataControlRowType.DataRow) { Label lblWeigh = (Label)e.Row.FindControl("lblWeigh"); // totalPercent += Convert.ToInt32(DataBinder.Eval(e.Row.DataItem, "lblWeigh")); int total = int.Parse(lblWeigh.Text); totalPercent += total; } else if (e.Row.RowType == DataControlRowType.Footer) { Label lblTotalPercentage = (Label)e.Row.FindControl("lblTotalPercentage"); // e.Row.Cells[5].Text = totalPercent.ToString(); lblTotalPercentage.Text = totalPercent.ToString(); } … | |
Hello to all am new programmer facing a problem in saving three checkboxs into database for example a b c all of the has a value in the database any one can heple from scratch I'll be greatfull regards, | |
I am using a telerik radScheduler into my major project. and it is working fine on Local system. But on live it is not working fine. I can only view my scheduled activity, drag & drop activity, increase or decrease time span only. But when i try to create or … | |
Hi I have an issue in asp.net using vb code I am using Visual Studio 2012 with MSSQL 2005. I have problem in adding Report viewer, Version=11.0.0.0. I have an error "'ReportViewer' is ambiguous in the namespace ". Please anybody help me to solve this issue maideen | |
i have windows 2008 r2 server , and am trying to convert my videos from any type to mp4 format and everything is fine in local when am trying to do the same live webserver , Am able to upload the file and then when i try to convert the … | |
I am creating a new ASP.NET MVC 4 application (actually my first MVC application) that is a part of my previous ASP.NET web forms application. I have never used ASP.NET inbuilt authentication methods in any of my project. This new MVC 4 app will be published on a sub-domain of … ![]() | |
I have the following repeater item: <asp:Repeater ID="RptLeaveRequests" runat="server" onitemdatabound="RptLeaveRequests_ItemDataBound"> <ItemTemplate> <table id="tableItem" runat="server"> <tr> <td style="width: 100px;"> <asp:Label ID="lblDate" runat="server" Text='<%#Eval("Date", "{0:dd/M/yyyy}") %>'></asp:Label> </td> <td style="width: 100px;"> <asp:Label ID="lblHours" runat="server" Text='<%#Eval("Hours") %>'></asp:Label> </td> <td style="width: 200px;"> <asp:Label ID="lblPeriod" runat="server" Text='<%#Eval("AMorPM") %>'></asp:Label> </td> <td style="width: 200px; font-size:10px;"> <asp:Label ID="lblNote" runat="server" … ![]() | |
hi , actually i use AutoCompleteExtender to complete the words that's the user write, and he give resultat that i want in my case it's the active and not active point in the data base. but i want separate the active point and the not active point, to show it … ![]() | |
hey all i complete with task upload file that is user upload their files and download it now here i want to ask when user upload file then this file forward to manager for approval .. then when manger login and view the uploaded file, and click an "approve or … | |
I am using Microsoft Visual Web developer 2010. I have Google Maps embedded on my webpage and a textbox (txtBoxInput) using the code: <input runat="server" type="text" id="txtBoxInput"/> A button which displays a new map loction: <input type="button" id="btnDisplay" value="Display map" style="height:34px;width:90px;" onclick="showPoint();"/> I also have an aspn.net button (btnTest) using … | |
I've noticed that comments in VB code snippets are ended in the middle of a line if an apostrophe is present(i.e. using a contraction), then continue from the next one over several lines until it reaches another. I'm wondering if that can't be changed to keep it as a comment … | |
Hi All. I am using Microsoft Visual Web Developer 2010. I have embedded google maps into my webpage. I am using 4 textboxes: Street, City, Province and Postal Code. The user will enter these details then it will get put into a string variable like this `string location = street … | |
I have migrated my website from shared hosting to VPS server and have rehosted the site , now the problem is i cannot access the video files which is present in my server for eg : http://mydomain.com/httpdocs/test.mp4 my previous or old location was like http://mydomain.com/test.mp4 So please advice as where … | |
Friends I have a login form. After successsful login, I have to redirect the user to welcome.aspx. While doing this, the URL will be http://www.mangabooks.com/welcome.aspx but I need the URL to be encoded like http://www.mangabooks.com/sdDFREdsfefrvgrwghWr34r How can i do that? Any help will be appriciated... TIA. | |
HI All, im working on a project that uses asp.net to send information to a mssql server. The problem im running into is that when i try to debug the page, I get: 'ClickSave' is not a member of 'ASP.default_aspx'. How Do I fix this?? Heres My html code(default.aspx): <html> … | |
I have a web application that I create that works great on my computer. I have an account with 1and1, so I uploaded the database and the files. I am also using Linq to SQL, so I have a dbml file. But, everytime I run a function that needs the … | |
Hello all I having an issue in logging into a website using webRequest and WebResponse. I thought let me reach out to experts by posting a question. I am trying to login in http://www.mbhatt.in and want to access the page after the login is successfull. I used following code to … | |
screenshot for edit gridview : http://img829.imageshack.us/img829/2304/06v6.png screenshot for update gridview : http://img801.imageshack.us/img801/3417/j4p1.png this is my code inside tag <body> : <form id="form1" runat="server"> <asp:GridView ID="GridView1" runat="server" OnRowCancelingEdit="GridView1_RowCancelingEdit" OnRowUpdating="GridView1_RowUpdating" OnRowEditing="GridView1_RowEditing" OnRowDeleting="GridView1_RowDeleting" CellPadding="4" ForeColor="#333333" GridLines="None" AutoGenerateColumns="False" onselectedindexchanged="GridView1_SelectedIndexChanged"> <RowStyle BackColor="#FFFBD6" ForeColor="#333333" /> <Columns> <asp:CommandField ShowEditButton="True" ShowDeleteButton="True" /> <asp:BoundField DataField="p_user_name_id" Visible="false" HeaderText="p_user_name_id" /> <asp:TemplateField … | |
Hi, I'm looking for a support chat system that I could integrate with my own web application. I've searched for a while and just found these two options: * http://cutesoft.net/Live-Support/Purchase/ * http://www.dotnetlivehelp.com/download.aspx As the first one has a developers license, it seems to me that the product is quite old … | |
hello friends I am new to asp.net. does anyone has any sample code of text box on how to limit inputs into four digits and move to next text box and auto decimal if anyone has a code or knows a good tutorial on how to ,please let me know … | |
I developed a web application using ASP.net. It was used AjaxToolkit 3.5. The program is mainly use <asp:ToolkitScriptManger> and <asp:UpdatePanel>. With Visual Studio 2005, It is working well. (I just mean with source code) Then I deploy it and host in wwwroot. But then it is not working well. There … | |
<asp:GridView ID="grdenqsup" runat="server" Width="94%" OnPageIndexChanging="grdenqsup_PageIndexChanging" PageSize="8" AllowPaging="true" AutoGenerateColumns="false"> <RowStyle BackColor="#EFF3FB" /> <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" /> <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" /> <AlternatingRowStyle BackColor="White" /> <Columns> <asp:BoundField DataField="TEMP_SUPPCODE" HeaderText="SUPPLIER CODE" /> <asp:BoundField DataField="SUPPLIERNAME" HeaderText="SUPPLIER NAME" /> <%--<asp:BoundField DataField="SUPPLIERTITLE" HeaderText="SUPPLIER TITLE" />--%> <asp:BoundField DataField="SUPPLIER_ADDRESS1" HeaderText="SUPPLIER ADDRESS1" /> <%-- <asp:BoundField DataField="SUPPLIER_ADDRESS2" HeaderText="SUPPLIER ADDRESS2" … | |
Hi! I have building an application that requires a user login. The user name and password are stored in a database table. On login, I call a stored procedure that confirms the user name and password and then directs the user to the MyAccounts page. The problem is, I am … | |
This one is general question.. **Is it possible to hde ip address?** Well, there are many softwares available such as iphider, Hide-Platinum, etc. Will they really help in hiding the ip address. **Also, will using a proxy ip helps in hiding the original ip address?** | |
HI Guys, This might be a wrong place for such a query but I really need your help. I have downloaded the VS_ultimate setup file from Microsoft. I ran this setup and it's kinda stuck at a point where it is not able to locate the Microsoft web deploy dbsqlpackage … | |
Public Class Adminpage Dim result As MsgBoxResult Public Sub shw() End Sub Private Sub Adminpage_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load clr() End Sub Public Sub clr() patientno.Text = "" lasttxt.Text = "" Firsttxt.Text = "" Middletxt.Text = "" ComboBox1.Text = "" gencbad.Text = "Select..." MaskedTextBox1.Text = … | |
I am deploying a .NET application with .NET Framework 3.5 client as prerequisites. When the setup.exe runs in a machine with the prerequisites satisfied installed the bootstrapper install them again. **Is this a known issue? and what's the correct way to solve it? ** I've tried adding this lines to … | |
I have developed a page which contains some controls like textboxes, dropdown,etc. I had created the **datatable** using the **sqldataadapter** and that works fine by retriving the table using the select command. I want to place the data in a **gridview** and it also works. Now I want to populate … | |
Please can anyone explain clearly.... what is the difference between session and httpcontext.current.session and application variables? Thankyou in advance... | |
I want to know if this is possible using the Html.ActionLink(). In conroller: I have queried my database and passed that data to the view. In view: I have used that data to fill inputs, labels, etc... However I want to reduce the number of query hits by passing the … | |
Hi! My project is on digital library system and ASP.Net C#. I need ur help in my fine calculation code.I try it to do alot but still that codes r not working yet. Please help me to solve this problem.I really thankful to u. | |
Hello, I am working on a project and I'm having a bit of trouble trying to localize my resources outside my MVC application. I currently have a MVC Application where i've defined my Resources in App_Global_Resources, and I have a C# Project where I've defined my Models with all the … | |
[CODE]<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CheckCode.aspx.cs" Inherits="CheckCode" %> <!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 runat="server"> <title>Verification code to prevent auto signup in ASP.NET 2.0</title> <style type="text/css"> <!-- body { margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; } a:link { color: #0000FF; } a:visited { … | |
Hello, I'm trying to define the route for my application and so far I've set the following route routes.MapRoute( "Default", // Route name "{controller}/{action}/{id}", // URL with parameters new { controller = "Home", action = "Start", id = UrlParameter.Optional } // Parameter defaults ); This allows me to do things … | |
I wrote code in notepad and gave the extension as hello.php but it didn't change to web and so it did not run. Secondly ,I wrote code in Visual Studio asp.net web application <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="phphello._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" … | |
Dear all i have allready Created web application and used skin file for that application now i am planing to change look of my application for that need to change skin file but problem is i am not a good imaginative so need some sides which provides attractive skin file … | |
What is reasion of popularity of SAP SOFTWARES can we compatite with our asp.net projects. | |
I want that when txt file data save in database that time progress display that "Processing nth of n records …" I trying with following code but not success CurrentFileName = myFile.FileName; string CurrentPath = Server.MapPath("~/Uploadfile/"); CurrentPath += CurrentFileName; myFile.SaveAs(CurrentPath); fname = CurrentFileName; DataTable dt = new DataTable(); StreamReader sw … | |
I have an problem in radschedular multiple resource. the multiple resource are not added in my table. is there any way to find those particular values which are selected by user from multiple values. please help me. | |
hi!!! guyz i want to know if asp.net is easy to use?because i want to make a web application, and i want o use asp.net and i want to learn the basic codes of asp.net thanks!!!..plz help^_^ | |
I am trying to work out how to pass a pointer from my C# interface application to the C++ back-end functionality DLL. I tried searching Google but can't work out what I'm doing wrong.. I'm used to using * for pointers and just changing the value in the pointer through … | |
When i implement the following code in my Global.asax.cs in the session timeout procedure, It prompts me an error... HttpContext.Current.Response.Redirect("login.aspx"); What will be the problem? Note: I want to forward the user to login page when the session is timeout.So i used this. Correct me if i am wrong in … | |
Hi, i have these codes: Dim dt3 As New DataTable dt3.Columns.Add("AdminNo", GetType(String)) '/*Add column AdminNo dt3.Columns.Add("PaperNo", GetType(Integer)) Dim curmodule As String = String.Empty For Each dr1 As DataRow In dt1.Rows curmodule = dr1("ModuleCode").ToString For Each dr2 As DataRow In dt2.Rows Dim found As Boolean found = False For i As … | |
I am trying to create a simple login form on giving correct username and password the form is not tranferring to the next page it just remains in the same page.And my code is <script runat="server"> sub Page_Load If txtuname.Text="xxx" AND txtpass.Text="xxx" Then Response.write("Welcome user") Server.Transfer("login2.aspx") Else Response.write("Invalid Username and … | |
Hello There, I have a website where i have a small block to show new arrivals in products. The Products are marked in Database as they are New: Yes / No. I am fetching these products in a datalist on my client side page. The display area is for two … | |
Dear Experts, I am new to asp.net c# but proficient in c++. In asp.net c# i have to open a new page in new tab with pdf file on gridview1 column click event. so give me guidelines to do this. Thanks and regards, Pardeep | |
I am trying to show a loading div on button click, but it is not working at the moment. Javascript : <script type="text/javascript"> $(document).ready(function (e) { $('#BtnSend').click(function () { $('#<%= loading.ClientID %>').toggle("slow"); }); }); </script> Div: <div id="loading" class="Loading" runat="server" visible="false"> <div class="loadingImg"> <img src="../Images/loading.gif" alt="loading" /> </div> </div> button: … | |
Good morning, I'm working on a project where I've to connet to a provider server. This server uses OAuth2 techmology for authentication. You can find the sandbox example here http://sandbox.ihealthlabs.com/contentfiles/files/SandboxAPISample.zip and you can use the credentials sandboxuser@ihealthlabs.com with password 111111 . OK, this example allows you to access and view … | |
how to retrive values from database into a table using vb.net?????? I tried but i don't have either output?????? How to do this??? and my code is: <%@ Page Language="VB" ContentType="text/html" ResponseEncoding="iso-8859-1" %> <!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> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled … | |
HELP !! THis is driving me insane, I already spent 2 hours on this and can't seem to resolve it. Here is the problem: I have a backgroundimage for my listview in vb.net I programmatically (see below) add items to the list. All items have a white or other solid … |
The End.