Welcome To Snipplr


Everyone's Recent Snippets Tagged data



1 2 3 4 Next »
If you need to get the DataKey value in RowDataBound (e.g. Assigning the DataKey to the CommandArgument of a button):
0 1341 posted 16 years ago by blackf0rk
If you have a component being bound from an ObjectDataSource (like a drop-down menu, or a grid view) and you wish to change the value's SelectParameters. Where # is which SelectParameter you'd like to change. If there's just one SelectParamter, defau...
0 1347 posted 16 years ago by blackf0rk
2 6115 posted 16 years ago by blackf0rk
Assuming your DataSet (named, ds) is already populated with Data and contains only one table.
0 2097 posted 16 years ago by blackf0rk
1 1717 posted 16 years ago by fackz
Para utilizar, proceda assim: echo formata_data_extenso('2007-04-17'); echo formata_data_extenso('2007-04-17 15:20:35');
1 1651 posted 16 years ago by fackz
Using this you can get the inside string from another given string. Great for scraping data from other sites.
0 1206 posted 16 years ago by Unreal
Explode de data para formato BR
0 1193 posted 16 years ago by wesleymacente
I didn't realise until now you could do this in jQuery, very useful. Store a value for later use, then remove it.
4 1555 posted 17 years ago by 1man
AccessHelperUtility.cs
0 1056 posted 17 years ago by mn232nm
AccessHelperParameterCache
0 959 posted 17 years ago by mn232nm
Fields are tab delimited and need to match table schema. I've found the tab separator ASCII(009) preferable over using a comma. The second version can help remove double quotation marks around character fields. Don't forget the keyword LOC...
0 1762 posted 17 years ago by RICHARDP
Simplified form to extract data through MySQL
0 1095 posted 17 years ago by LondonWeb
going to use twitterlocal to play around a bit with pygooglechart.
0 1329 posted 17 years ago by mandric
You can store an IP address in an INT UNSIGNED (4 bytes) which is of course much more efficient and faster than a CHAR(15). MySQL has two built-in functions: INET_ATON() and INET_NTOA(). These two functions are used allover the place in any TCP/IP s...
0 1904 posted 17 years ago by zingo
Below is some code written for creating one response from survey questions where the respondent checks all that apply.
0 3654 posted 17 years ago by webonomic
0 1354 posted 17 years ago by webonomic
Pretty intuitive, might be an easier/simpler way.
0 1541 posted 17 years ago by rengber
This is a simple class to encapsulate CURD functions. This class also includes some simple search methods.
1 1860 posted 18 years ago by ecavazos
Everything is either true or untrue, or both true and untrue, or neither true nor untrue
0 3669 posted 18 years ago by zvasanth
The important thing to notice is the () operator in a[2]. It is invoking the function inside a[0] with the argument a[1].
1 1495 posted 18 years ago by 1man
0 1248 posted 18 years ago by natalie
sorting, searching in array, some string function
0 1336 posted 18 years ago by juno
Basic layout for the data contained in a JSON file.(JavaScript Obsect Notation).
1 1346 posted 18 years ago by 1man
This function allows you to parse a simple XML document(passed to it using this.href on a onclick event). Virtually the same as JSON, the things that have been changed ate labeled !Important.
3 1994 posted 18 years ago by 1man
This function is near enough the same as parsing XML. The only things that have changed are the sections marked !important.
3 2057 posted 18 years ago by 1man
1 1243 posted 19 years ago by andyh
1 2 3 4 Next »