I have a page with a datalist that edits and deletes it's own info - so there are some edit and delete buttons - on the same page I have a separate "form" - I need to validate on this other form but not on the datalist - How can I do this? The problem is that I add a required validator to the...
This might sound crazy, but is it possible, through css, to have a textfield on a page, when printed out, just show the value and not the textbox, or the selected value of a dropdown and not the dropdown?
make sense?
[conehead]
Boy, you guys are good.. OK here's another one- In a stored procedure I am passing a value such as "26 Nov 2006" If have another field where I want to add on 180 days - anyway to do it? It's ok if it;'s just a straight up datetime field value (i.e. 11/26/2007 00:00:00 AM)
[conehead]
I have two fields where if they are both blank it is ok, but if one is filled out then the other one must be filled out also, How would I validate this with asp.net? Comparevalidator? if so, how?
[conehead]
What is the best way to do session? The way I am doing it now is that I have it being created in the default page, but Session.Timeout does not seem to be working - I am losing the session quick - should this be done in global.asax? Any help?
[conehead]
I have a datalist in my edittemplate that I am currently trying to populate from the codebehind and I am getting an error saying that the object (dropdownlist) does not exist... the naming is all correct... is it possible to populate it from the codebehind?? Is it hitting this code before it is...
Hey - new to SP's here... OK - I have this:
select datediff(dd, '10/15/2006 12:15:24 PM', getdate())
but I need to change it so the date will actually be a value from another query... so I need a query to:
select udate from main where id = @recordID
I then need to take udate and put it into...
How can I get a number of days returned given a datetime field entry (i.e. 10/15/2006 12:45:12 PM) and the current date?
Is it possible to get something like: 56 (as in 56 days)
returned?
[conehead]
I have a datetime field in sql. I am applying it to a lable in one particular instance where I only need the date string - how can I take out the time?
[conehead]
I have a sp that is simply doing a simple select. Is there a way to add a record that is not in the table. For example, a simple query, say, returns the following records:
1
2
3
4
5
How can I get:
0
1
2
3
4
5
returned when 0 is not in the table?
[conehead]
I have a dropdownlist that is populated from a sqldatareader - I am then adding in a "None Selected" after binding the data so it shows at the bottom - How can I move it to the top?
[conehead]
I have a page that I usually get an eplanation as to an error (i.e. Syntax error) but now I only get "Page can not be displayed" Why would that be - anyway to force it to give me the details?
[conehead]
I am populating a drop down list via a sqldatareader, how can I also manually add a member to this drop down list? I have tried but the manual one gets wiped out once the datareader adds its members....
[conehead]
Not sure I know how to describe this, but here goes...
OK - I have a stored precedure that returns a record set... All I want to do is take the value from one field and apply it to a redirect (ie Response.Redirect("page.aspx?id="+recset["field"]);)
I can get as far as put the recordset into a...
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.