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.

kettle - swapping selected values from one column to other using any transformation -


i have 2 columns named amount , work data in format of given below:

amount   58220  84151 65999    23    78544    52656        work        15     14    20    85597    22       19 

and want swap values of 23 , 85597 in same row. can suggest me suitable solution?

create transformation following steps:

  1. build file inputdata.txt (or other source of data flow)

    value1, value2 58220,  15 84151,  14 65999,  20 23,     85597 78544,  22 52656,  19 
  2. add code in javascript step

    var t1 = value1; var t2 = value2; 
  3. in menu "fields" choose rename t1 value2 , t2 value1 , check option replace values??.

  4. the results are:

    value1, value2 15,     58220           14,     84151           20,     65999           85597,  23              22,     78544           19,     52656  

if need source code send email.


Comments

Popular posts from this blog

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

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -