jbenson001 thank you for your response.Your suggestions makes a lot of sense to me.but my question to you is how can I display the grand total from your result set only if you are on the last page.What do i need to change from my code for to acomplish this.As always I really appreciate your help.
thank you jbenson001 the reason is I want to diplay the total at the bottom of each page and display the Grandtoatal which is the sum i get from each page at the end of the footer in the last page.I am not sure if i could do this using my sql statement. thank you
hi folks,
I might not be clear with my question what I want to do is sum the values of first paging and add that to second page.......until i get to the last page which is the end of paging.thank you for your help
hi folks,
How can I display the total value on the last page in the footer section with page that has paging is set to true..
below is my code..thank you
Protected Sub gvitems_RowDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles...
I am using the below code to create a csv file and It works fine but the apps that i am working on right now has three different girdviews and I would like to create one csv files for the three of them togher.My question is can i this code to create that....and if it is possible can someone give...
Just figured it out...the was I put the my binddata method between If Not IsPostBack once I take it out of there every thing works as it supposed to. thanks
thank you ca8msm for your response...as I have mentioned above I have three gridview on one page and I just want to use paging for one of them. the id of gridview is gvitems and here is my code for paging...thank you for the help.
Protected Sub gvitems_PageIndexChanging(ByVal sender As...
Hi all,
I am working on this project where our customer would like to see the letting information for the contracts, who are the bidders for the project and the items they bid in order to win the bid.I used three gridview and three different queries to display this information.so far so good...
Wow jbenson001 you are so awsome..yes, that was the probleme I put GetColors() between in Not Page.IsPostBack and I took it out of there now it works like a charm.I wish I was just like you..hope one day i will get there..
Thank you agin
It is a little bit furstrating..I thought I had it to work now I am getting the below error msg. on line 99
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
Line 97: If prevID <> currID Then
Line 98...
thank you again and I found out that cell(0) in my database in not an integer field. some of the field value looks like this 5309-00009 and the error message was conversion from string "5309-0009" to type integer is not valid.
Thank you jbenson001 ....I am working with your provided code and I am getting this error msg. ON Line 95. thanks
Input string was not in a correct format.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more...
Thank your reply. jbenson001 I like your idea of in the row databound event, once the project number changes, change the color. How can I acomplish this? once again thank you for your help.
I have a column name project and sometimes the same project number is being used more than once and if this is the case then I want to change the color of rows to blue every time i have same project number. thanks for the help
Hi all,
I am trying to compare rows and if there is a match between rows then I want to highlight it with a different color. I am working on the below code and so far it just convert the entire row to blue..any help would be appreciated.
eg. if row1=row2 then use blue color
else
use...
jbenson001 thank you for your time..I checked my entire code and the only place I set them to false in during the page load event. thank you again
here is my entire code
Imports System.Data
Imports System.Data.OracleClient
Imports System.Configuration.ConfigurationManager
Imports...
jbenson001 as you suggested i setp through and the visible value for the textbox and lable changed to true in the code but when I run the page I am not still seeing the text box and label...
yes, it did not work for me...
here is what i have on page load
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not IsPostBack Then
FedProjYear()
OperatorSelector()
lblMax.Visible = False...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.