473,748 Members | 2,670 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

problem in footer template in datagrid(asp.ne t)

8 New Member
Hi,
>I am working on ASP.net,using language .
>I am using datagrid control and i filled it through datasource.
>I have a column name Price and i want to sum price in Footer Template.
>Can anybody tell me How to use of Template column in datagrid and sum in it.

Please reply me soon.......

With regards
Yuvraj Porwal
Web developer
Jaipur(India)[/b]
Mar 24 '07 #1
6 2281
youvrajasnsm
8 New Member
Hi,
>I am working on ASP.net,using language .
>I am using datagrid control and i filled it through datasource.
>I have a column name Price and i want to sum price in Footer Template.
>Can anybody tell me How to use of Template column in datagrid and sum in it.

Please reply me soon.......

With regards
Yuvraj Porwal
Web developer
Jaipur(India)[/b]
Mar 24 '07 #2
Ripendra007
27 New Member
Hi u have to find sum when ever u queryieng the database and fing the sum so u will have a sum of price also with in ur dataset and then bind that sum column of datasource with the footer template column........A ll the Best...Bye
Mar 24 '07 #3
MMcCarthy
14,534 Recognized Expert Moderator MVP
This question is being moved to the .NET forum.

ADMIN
Mar 24 '07 #4
kenobewan
4,871 Recognized Expert Specialist
Here is an article that may help:
An Extensive Examination of the DataGrid Web Control: Part 13
Mar 25 '07 #5
youvrajasnsm
8 New Member
Hi u have to find sum when ever u queryieng the database and fing the sum so u will have a sum of price also with in ur dataset and then bind that sum column of datasource with the footer template column........A ll the Best...Bye
Thanks for replying.....
Sir i am fresher so Can u send me code for about this....
Mar 27 '07 #6
kenobewan
4,871 Recognized Expert Specialist
Please don't ask someone to send you code. Attempt the suggestion and report back how you got on. I have merged your two threads as you merely reposted the same question. Thanks.
Mar 27 '07 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1329
by: Banda RamaNarsi Reddy | last post by:
Hi, We have a Datagrid and we are using third party tool treeview control(ASP.NET(C#)). it's like we have to add treeview control in the datagrid dynamically, such that each cell will have a tree structure then we have to populate the data from the database according to the id. Regards, RN Reddy.
0
1187
by: Jos Walrave | last post by:
I want to create an ASP.NET web application using C#. Purpose of the web application is access to a MS SQL Server database. Some of our customers are using large databases, so the application should be able to handle large datasets in a proper and user-friendly way. I want to use a DataGrid. I also want to use the option Custom Paging. I already succeeded with using a stored procedure (adjusted downloaded code from the internet) to use...
2
2478
by: Steve Chatham | last post by:
I use the following code: Private Sub RbtnExport_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RbtnExport.SelectedIndexChanged Dim sFile As String = Session("User") & "-Customer List-" & Today() sFile = sFile.Replace("/", "") RbtnExport.Visible = False Select Case RbtnExport.SelectedItem.Value Case "Excel" Response.ContentType = "application/x-msexcel"
2
2130
by: gdc | last post by:
Hi, I want to create a custamizable e-mail template which will contain place holders to fill the data from teh database and i want to use these templates to send mails. How do i create these templates?. How do i use the templaes to send mails in asp.net? thanks gdc
0
1139
by: Dan | last post by:
Unfortunately the property in Wrap="false" for a datagrid adds nowarp="false" to the TR not the TD. So to stop text wrapping in a Datagrid in asp.net do the following Add: <style> TD { WHITE-SPACE: nowrap } </style>
4
8063
by: DBLWizard | last post by:
Howdy All, I am trying to get the data from a row of a data grid in asp.net This is a data grid with five columns (two of the hidden) as follows: <asp:datagrid id="grdMatching" runat="server" Width="100%" Visible="False" Height="160px" AutoGenerateColumns="False" AllowSorting="True" onselectedindexchanged="GetRow">
1
1603
by: Smugsboy | last post by:
Hi, I have a problem with a web service proxy written in .NET and used from VS6's C++ as COM object. This proxy works great when used from a .NET application. It does not seem to work when used as COM object for C++ application. What happens is this: I've created a class with the following attribute that inherites from this proxy class. This class is regisered using regasm.exe and installed using
3
1472
by: Hospital S.Sebastiao | last post by:
Hi, i'm in desperate need of help to fix a problem that i have, the problem is the following: I have an ASP.NET aplication that to open an word template document, this aplication is in C#(using .NET 1.1 and VS2003), i have register the office interop DLL in the GAC an have also install the office program in the machine, this is in a virtual machine that i use to make the development, on the host machine i have the same interop DLL's and ...
1
1348
by: farid25 | last post by:
update data in datagrid asp vb.net -------------------------------------------------------------------------------- Hi, all i got data base contain 3 tables t_students student_id student_name
0
8995
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8832
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9332
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8252
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6078
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4608
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4879
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3316
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2217
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.