After using Impersonate and specifying an account in the webconfig, is it possible in the actual code to retrive the user information BEFORE the impersonation?
Example
User is Bob
ConfigFile says to impersonate after authentication to the
DatabaseUser.
now i want to get Bob back out in the...
Nope, that won't work. OnSortCommand is protected. Also, the OnSorCommand event handler is located on the .aspx page.
Sub Page_Load(sender as Object, e as EventArgs)
rptID = Cint(RTrim(Request.QueryString("id")))
NewView = New DataViewer(SortField, rptID,ItemReportDG)
If Not IsPostBack...
I am trying to specify the OnSortCommand
<ASP:DataGrid runat="server" id="ItemReportDG" OnSortCommand="ItemReportDG_Sort"></ASP:DataGrid>
I know this will run
Sub ItemReportDG_Sort(sender As Object, e As DataGridSortCommandEventArgs)
...
...
End Sub
Here is the trick that I can't seem to...
I was actually attempting to do this in VB code .. but I found out how to do it.
MyDataGrid.HeaderStyle.BackColor = Color.FromArgb(204, 204, 255)
MyDataGrid.BackColor = Color.White
MyDataGrid.BorderColor = Color.Black
MyDataGrid.CellPadding = 3...
I am trying, but getting no where.
I have a DataGrid object, that will be passed back to the .aspx page. But I want to set all the formating in code.
Can someone show me an example on how to apply a headerstyle, footer style, ect ect ...
Also, how would I ad a boundedColumns to the data...
Hi everyone
I made a project, and created a namespace
Namespace DataTools
Public Class DataViewer
...
...
...
...
One of my functions returns a data grid
Public Function getGrid()
...
...
Return MyDataGrid
End Function
On my aspx file
I have
Dim Dtview...
I am trying to build a dynamic report.
I have several Stored procedure, that currently return
"ItemNumber","Information"
Every user has a different configuration for thier report. So maybe User1, uses SP1,SP4,SP5 .. and User2 uses Sp2,Sp4,Sp6
How would i join together the Stored Procedures...
Thanks, I will try to use some of this code today. What about the cursor location from the system? Even if i am able to properly display the telnet session, do you have any clue on how I would manipulate the cursor?
So far, I have been able to connect to the telnet server, however, the data the comes back looks like
RichTextBox1Attempting connection to host...
Connected to server.
}'}[?3l[?7h[6;53H[?3l[?7h[1;1H[2J[0m [1;22H[1m[0m [1m Sign On [0m [2;47H System . . ...
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.