Hi this is what i have so far, i would like to skip the first two items in the datalist, prevent them from displaying, how can one go from here: thanks
protected void dlRisksDataBound(object sender, DataListItemEventArgs e)
{
HyperLink tmpLnk =...
got it figured, hope it helps someone:
countRadio();
function countRadio(){
var allR = document.getElementsByTagName('input');
var a=0;
var b=0;
for(var i=0; i<allR.length; i++){
if(allR[i].type=='radio') { b++; }
if(allR[i].type=='radio' && allR[i].checked)...
Hi i'm trying to count the number of radio groups on a page and if less than 80% do not have a selection then disable the submit button, other wise enable it. I'm putting an onclick on each radio to call the function, plus a window.lonad event to call the same function. This is the function i...
How can one loop thru the read to check is any of the reader string values (all are stings) are not null. If the read return all null then i need to increment: io++
This is kinda what i mean:
foreach (string val in rdr2.)
{
if (rdr2[val].ToString().Length > 0) { io++; }
}
thanks
Hi i have 10 tables that all have an int, no relationships, column called MemberID. I would like to add memberID from 1 to 2000 in all 10 tables. Is there a way to do this while loop based for all tables of type 'user' ?
thanks
Hi, i've confused with triggers, still trying to wrap my head around the logic syntax, belowis what i have wich isn't working. when clientportal db table [_Info] gets an insert to take the autoIncrementing MemberID and insert it into db clientportalforms.dbo.mcpage1 in a column called MemberID...
Hi with a page the user triggers a sFTP action, getting file from another server. I'm stuck on a useability issue and was wondering if it can be handles in a global way, like using global.asax
When the user initiates the ftp process, it can take upto 20 seconds for the process to conclude, if...
Hi I have procedure that has a few joins and at the end of the statement after the where clause i have for xml auto. In QA (sql2k) i ran the proc and returned only part of the xml:
<TestDB.dbo.polls><Question>Do you...
thanks for the pointers:
if (Equ.IndexOf("<") < 0)
{
//something
}
else if (Equ.IndexOf(">") > 0)
{
//something
}
else
{
// end up here, perfect!
}
is there a more elegant way to display this? thanks again
I con't figure this simpleton out,
any thoughts,
string Equ = "<0.6";
if (Equ.IndexOf("<") < 0 || Equ.IndexOf(">") < 0)
{
// it gets here, don't want it to get here ?
}
Thanks
ok i rebooted the server, and rand the procedure again. i got a reult this time 9i'll need to look into the server log for issues...) this is the result i recieved:
thanks George, what is type U ?
feedback
U
Hi I created a simple Proc called "feedback"
i cannot find the procedure? I've looked in the master as well teh db that i created it in. I have refreshed the db to no avail, plus when i try to create a new one with the same name i'm informed that one already exists. I feel dumb, any...
Hi i have a strange problem, never seen this before. i created a stored procedure in the sql2k db (have many procedures already, all working) Gave the Proc the same security credentials as usual. and am running this code, this result catches on the fact that the connection cannot find the...
Hi i'm grabbing a column value "[Date of Birth]" but i only would like the year of it, is there a way to somehow truncate the return of the 'datetime' field ?
something like:
Convert(getDate(YYYY), [Date of Birth]) as dob
Thanks
Thanks for the pointers , i have revampped it a bit, seems better?
protected void dlGoalsDataBound(object sender, DataListItemEventArgs e)
{
ArrayList Goals = new ArrayList();
Goals.Add(dl);
foreach (DataListItem dl in Goals)
{...
Hi the data return by a procedure has many GoalTypeIDs
and i would like to display the unique GoalTypeIDs only.
so i'm thinking that i will have to array the types and check to see if they have been used.... i am not having success with this, any suggestions ?
protected void...
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.