Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #4K

10 Posted Topics

Member Avatar for noamwegner

i wrote a paging script for HTML table that suppose to hold up to 5000 result rows and i am displaying for each page 100 rows what makes it ugly to see 50 page navigators so what i did was to display 5 each time the idea is like this …

Member Avatar for flexibleres
0
96
Member Avatar for jbisono

if you have a testing enviorment you can open a new trace in sql server profiler on the test db and lunch the process you wish to check there you can see everything that is executed on the db if you dont have a testing enviorment then i suggest you …

Member Avatar for jbisono
0
168
Member Avatar for samuel_1991

-- creating a temp table to hold the lucky ones CREATE TABLE #whoGotDisountShopCartId(id BIGINT) INSERT INTO #whoGotDisountShopCartId SELECT DISTINT ShopCart.ShopCartID FROM Shopper INNER JOIN ShopCart ON ShopCart.ShopperID = Shopper.ShopperID INNER JOIN orderData ON orderData.ShopCartId = ShopCart.id WHERE OrderPlaced = 1 AND MONTH(Shopper.Birthdate) = MONTH(orderData.DateOrdered ) AND YEAR(Shopper.Birthdate) = YEAR(orderData.DateOrdered ) …

Member Avatar for noamwegner
0
293
Member Avatar for Tank50

insert into table values (blah,blah) SELECT SCOPE_IDENTITY will give you the new given identity if the new id is four you will get four and if its not an automaticly given identity then you know it already in the insert itself

Member Avatar for adam_k
0
134
Member Avatar for noamwegner

what are the diffrences between CREATE INDEX [WITH IGNORE_DUPLICATE_KEY OFF] and CREATE UNIQUE INDEX it sounds the same! and if anyone knows when creating a plain INDEX just CREATE INDEX whether it creates a clustered or nonclustered index couldnt find an anshwer to that thanks in advance

Member Avatar for darkagn
0
111
Member Avatar for Nfurman

why dont you use a stored proc CREATE PROC blahProcName () { AS select StudentID,StudentName,StudentFamilyName,Birthday,HisClass from Students } and on the server side using system.data.sqlclinet; sqlconnection conn = new sqlconnection(connectionstring); conn.open; sqlcommand cmd = new sqlcommand("blahProcName",conn); cmd.commandType = commandType.storedproc; dateTable dt = new dataTable("mytable"); sqlAdapter sa = new sqlAdapter (cmd); …

Member Avatar for noamwegner
0
120
Member Avatar for noamwegner

i have the groups names in the database after getting them i get the manager from the active directory using directory searcher like this [CODE] public string getGroupManagersMail(string groupname) { DirectoryEntry drtEnt = new DirectoryEntry("LDPA=//DC=domain,DC=mil"); DirectorySearcher ds = new DirectedorySearcher(drtEnt, "sAMAccountName" + groupname); ds.PropertiesToLoad.Add("managedby"); SearchResult sr = ds.FindOne(); [/CODE] i …

Member Avatar for piyush.agrawal
0
250
Member Avatar for noamwegner

I am trying to create a download link that will support all browsers here is the code [CODE]<a href="\\servername\blah\folder\myzip.zip > downlod zip </a>[/CODE] It works in IE but chrom doesn't react to it and firefox adds the current url to the begining of the path can anyone help thank you …

Member Avatar for almostbob
0
208
Member Avatar for jamesf786

in the loop you have made the function works once because one return always happens fopr the first time either the if retrurns true or the else retuns false you can do something like: while (x < arrUser.length) { if ((formtest.usrrname.value == arrUser[x][0]) && (formtest.pswd.value == arrUser[x][1])) return true; X++; …

Member Avatar for noamwegner
0
101
Member Avatar for noamwegner

Does anyone know if i can write a generic javascript function that check the file extension of the uploaded files and if the extension is incorrect erases the value because the user upload's more then one file i want to get the ID from the form something like: [CODE]fileselectedchange(obj) { …

Member Avatar for Luckychap
0
4K

The End.