I don't think this solution will work with 2003 will it? I tried adding the code to my datagrid and it doesn't recognize this code:
Private Sub dgPreOp_PreRender(ByVal sender As Object, ByVal e As System.EventArgs) Handles dgPreOp.PreRender
ScrollT.UseAccessibleHeader = True...
Mark,
Do you have a link to an example? All the ones I have found are either like the link I posted or involve creating a seperate table as jbenson001 suggested.
Thanks,
Jeremy
I have tried the code from many different sites, such as this: http://www.codeproject.com/KB/webforms/DataGridFixedHeader.aspx
Even when I put the datagrid in a div tag, the header still scrolls off the screen. Has anyone gotten this to work? Thanks in advance.
Right now they can just select a day of the week, 1-7, and it will get the data for that specific day. I'm trying to set it up so they can still do that, or select the week in its entirety. How can I put that in my WHERE and GROUP BY to accomplish this?
Thanks again,
Jeremy
I have a stored procedure that I use for a report on SSRS. They enter in a date range, and DOW. I have it working for all specific DOW, but I also want them to be able to chose all and haven't been able to figure this out yet.
My where statement is:
where DATEPART(dw,e.adm_date)LIKE @DOW...
How do you say the equivalent to Not Like in a formula? The formula i want is as follows:
if {Surgproc.Proc_Type} like '*rima*' and {Surgproc.Proc_Type} not like'*lima*' then "Right IMA" else ""
When I put the not in there is says the statement is missing the then statement but without it i...
It appears there is no way to have precise control of over where the page splits which is probably just a first version bug.
Thanks for your help,
Jeremy
I know about this but it isn't a valid option for me. I don't want a new page for each occurence of the group as that would cause it to be like 13 pages. I want multiple occurences to appear on one page, I just don't want it to split in the middle of the group. Does this make sense?
Thanks...
I have a 7 page report with multiple groups. The one section is splitting between 2 pages, with the group info and two records one one page, and the last record and sum information for the group on the next page. Is there anyway to force the group to stay together with using the page break...
I know they all have the same version because I just downloaded onto their pc's. They all have 2000 and I think they all have service pack 4. Any other ideas?
Thanks,
Jeremy
I have a program that is installed on six different users machines, and it works exactly as I want it to for five of them. But, on one users computer, the datagrid isn't functioning properly. The first field in the datagrid is a time field and when the user hits tab it skips over the next...
I want to be able to insert or update my datagrid without leaving the row. If I insert a row completely and go to the next line, it works fine. However, when I fill in 2 fields out of 5, for example, and try to update or insert without leaving the row it doesn't work. Anyone know why...
I'm trying to call a second datagrid, not the one shown above. I'm trying to use the first datagrid to call the second. When I hit the enter key, I want it to leave the first datagrid and select a row in the second. Does that make sense to you?
Does anyone know how this can be done? I have looked at the IsInputKey and PreProcessKey but haven't had any luck with either one of them. I then made a new class for the datagrid as follows:
Public Class MyDataG
Inherits System.Windows.Forms.DataGrid
Protected Overrides Function...
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.