I am only setting the .SelectedValue when it's NOT a postback, but they've used the hyperlink(not PostBack) pager so the DDL has the same category selected. That's why this is a tricky UI. I'm trying to code a UI with both GETs and POSTs
When I select different categories in the dropdownlist, I can see that the .SelectedValue has the new value when Page_Load fires. However, when I follow the steps above(click to the next page of results via link, and then pick a new category in the ddl) I don't see the .SelectedValue get...
I need a control event guru here.
I have a Dropdownlist to choose categories and a list of results from that category displayed on a page. By default the 1st category is selected and its results displayed. If you pick a diff. category the page posts back and the SelectedIndexChanged event...
That worked, thank you so much! I'm a dev, not a designer, so I spent two days on this before even posting it to TT.com.
FYI, note my original comment about the use of '!important'. This is a javascript widget and so I'm using !important to override the hosting page's styles.
The problem is in IE7 or IE8 Compatibility Mode.
The child DIVs of <div id="TX-Events"> are spilling out vertically of the parent DIV that has height:259px; and overflow:auto; specified.
This is a widget, that's why all the '!important' styles. Height and width are dynamically written to <div...
So it's OK to use reserved words as variable names, that would never compile in C#?
If I rename 'private' JSLint.com says, "'private1' has not been fully defined yet." because it doesn't like 'private1' used within its own var declaration a few lines down:
private1.container = container;
Is...
This is a snippet of widget code that was provided as a sample that I'm trying to understand the syntax of. JSLint.com js parser doesn't like the use of 'public' and 'private' keyword in var declarations, though the script is working fine in my widget. If I rename 'public' and 'private' then...
Nice, interesting, thanks a lot. I can't get that last step...getting the username, though. I'm trying this:
SELECT
db.AuditID,
db.UpdateDate,
Max(lin.LoginDT) AS MaxOfLoginDT,
lin.UserName
FROM Audit_DB db, Audit_LoggedIn lin
WHERE (((lin.LoginDT)<[updateDate]))
AND MaxOfLoginDT =...
I have an AuditDB table that tracks all changes to the DB. Cols like:
ID, TableName, OldVal, NewVal, UpdateDate
I have a 2nd table that tracks user logins.
Cols:
ID, UserName, LoginDT
The tables can't be simply joined on Timestamp. I'd like to return the AuditDB cols and the UserName of the...
I thought all conditions needed to come after 'WHERE'. Seems strange to have 'AND' condition first, but thanks so much! I guess I'll read the syntax documentation more closely.
I have four DB tables.
Employee table has ID, Name
EmployeeGroup has EmployeeID, GroupID (Employees are in a group)
TixEventSignups table has EmployeeID, EventID, NumOfTix(Employees get tix to an event)
Event table has EventID, Name
I need the Employee Name and NumOfTix requested for their...
Seemingly simple LEFT JOIN, but the results look as if an INNER JOIN is actually being done, but I don't know why.
Table1:Event (EventID, EventDate,...)
Table2:Event_Signups(EmployeeID, EventID, NumOfTickets)
SELECT e.EventID, e.EventDate,
es.EmployeeID, es.NumOfTickets,
FROM Event e LEFT...
DateTime dt = DateTime.ParseExact("530", "Hmm", CultureInfo.CurrentCulture);
I can't figure out why this throws a FormatException: String was not recognized as a valid datetime. "0530" works, but "530" will not work eventhough "H" represents "0-24" with no leading zero. Any ideas? Thanks.
There's nothing like being in denial that an installation is somehow bad. After racking my brain for end-user solutions, I uninstalled .NET 1.1 and VS03 and VS05, and reinstalled VS05 and .NET 2.0, then the two req'd Web Application Project downloads and my conversion wizard works!!!
Web project component not installed. Unable to convert project: http://localhost/somedir/myproj.csproj
I am running VS2005 and have installed the 2 required downloads to enable web application projects. I can confirm this by seeing in Help --> About Visual Studio, "Microsoft Web Application...
Ahh, I've got it!! I didn't notice that there was still an Import/Export Wizard accessible in various ways, one of which is to just rt-click on your DB-->Tasks-->Import Data. Can't believe I didn't notice that. It created the tables(and populated them), procs, and views. That's good enough...
troubleshooting via email is a tough way to communicate, and thanks for all your help.
I'm logged in to my box as an administrator and created the .dtsx in Visual Studio. I log in to SQL Server with Windows auth, though I don't know what privileges the .dtsx runs under when I run it in the...
This is simply(ha!) an SSIS Database Transfer Task, reread my first postings.
Yes, skcar is the login of the source database, and it no longer exists as a server login on the destination server.
So do you think the MSDN post identifies the problem, I just can't do it without being dbo? I can...
On http://msdn2.microsoft.com/en-us/library/ms141204.aspx , I found this:
"To transfer a database using online mode, the user who runs the package must be a member of the sysadmin server role or the database owner (dbo) of the selected database."
My user 'skcar' is a member of database role...
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.