Posts

Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

c# - Generic Type to be of class type only in java -

c# code: public class xyz<t> t : class, new() in .net can force generic of class type using above syntex. my question how can achieve same using java? in java there's no constraint allows express type must have no-arg constructor. contrary .net in java t erased @ runtime .

java - Is it possible inheritance here?Does Inner parent class extends outer child class? -

a |_a1 | |_parent.java |_child.java does parent.java inherits child.java in possible way? here , a1 packages or directories only if child has extends clause public class child extends parent{} if so, child have access public , protected members of parent . otherwise, child have access public members of parent . if files inside same directory hierarchy, not within same directory, packages not considered related, , hence members default ("package-protected") visibility not visible. relevant reading: java tutorial: controlling access members of class java tutorial: inheritance

how can I read the document using php and store database in mysql with linux? -

how can read word document using php , store in mysql database on linux? i'm using ubuntu , php5. here resources at php upload form send document server http://www.tizag.com/phpt/fileupload.php php download, how php tells browser response send treated downloadable file. http://snipplr.com/view/205/download-file/ here tips storing data in mysql database http://www.php-mysql-tutorial.com/wikis/mysql-tutorials/uploading-files-to-mysql-database.aspx start checking these out , rephrase or add detail question =)

visual c++ - How can I write a method to determine the typedef type at runtime? -

i have binary search tree want implement different types. binary search tree templated , determined using following statement: typedef desiredtype treeitemtype; // desired type of tree items i.e. string, int, person normally change desiredtype string tree of strings if want make tree of integers? i'm thinking need make method determining typdef type @ runtime don't know begin because desiredtype can variety of variable object types. ideas? it hard tell 1 line, looks use c preprocessor command #define savedesiredtype desiredtype // save previous setting #define desiredtype char* // change type ... <code> #define desiredtype savedesiredtype // restore previous setting however, think may define particular typedef once in module (object file .o). the way know create workable tree structures of variable types in c go pointer manipulation model, or add type parameter tree functions, , pointer math different sizes of types. mo...

flash - Bindings UI in Actionscript 3 still the same as Actionscript 2? -

i can't see update of as3: creating bindings between ui components using actionscript http://help.adobe.com/en_us/as2lcr/flash_10.0/help.html?content=00000404.html

SessionCookies n asp.net -

i new asp.net i dont understand concept of sessioncookies what sessioncookie,what advantages of sessioncookie whats sessioncookie about, how create sessioncookie, how retreive values sessioncookies, how store values in sessioncookies. i searched in net dont clear idea sessioncookie concept can pls clarify whats sessioncookies , concepts , provide code samples if possible. thanks take @ this: http://www.codeproject.com/kb/aspnet/exploringsession.aspx

winforms - Set objects properties from string in C# -

is there way set properties of objects string. example have "fullrowselect=true" , "hoverselection=true" statements string listview property. how assign these property along values without using if-else or switch-case statments? there setproperty(propertyname,value) method or similar this? you can reflection, have @ propertyinfo class's setvalue method yourclass theobject = this; propertyinfo piinstance = typeof(yourclass).getproperty("propertyname"); piinstance.setvalue(theobject, "value", null);