onItemClickListener

android.database.sqlite.SQLiteException: no such table


테이블 생성이 안되어 있음


sqlite java.lang.reflect.InvocationTargetException


안되서 딴대 참고함 ...


참고 : http://here4you.tistory.com/50


//


android.database.sqlite.SQLiteException: near "IF": syntax error (code 1): , while compiling: 

CREATE TABLE T_CHAT IF NOT EXISTS (CHAT_NO INTEGER PRIMARY KEY AUTOINCREMENT, BOARD_NO INTEGER  CHAT_CONTENT TEXT , INST_DE TEXT , INST_USER_PK TEXT)


원인 

CREATE TABLE T_CHAT IF NOT EXISTS 


변경

CREATE TABLE IF NOT EXISTS T_CHAT 


//


table T_CHAT has 4 columns but 5 values were supplied

4열이 있지만 5개의 값을 넣음 ...



android.database.StaleDataException: Attempting to access a closed CursorWindow.Most probable cause: cursor is deactivated prior to calling this method.



java.lang.IllegalStateException: Couldn't read row 0, col 4 from CursorWindow.



//


adb devices

adb -s 775d4c77 shell



//



why dead ...


public void drop(){

 String sql = "DROP TABLE IF NOT EXISTS T_CHAT";

      db.execSQL(sql);

  }


android.database.sqlite.SQLiteException: near "NOT": syntax error (code 1): , while compiling: DROP TABLE IF NOT EXISTS T_CHAT



http://stackoverflow.com/questions/1309629/how-to-change-colors-of-a-drawable-in-android

1. Window - Android Virtual Device Manager 클릭


2. CREATE A NEW AVD 클릭


-넥서스S


-API TARGET


-NOSKIN 선택


3. OK

IN 을 사용해 주시면 됩니다.


SELECT * FROM EMP

WHERE 1 =1 

AND DEPTNO IN ( 1 , 2 , 3)


UPDATE * FROM EMP

WHERE 1 =1 

AND DEPTNO IN ( 1 , 2 , 3)


DELETE * FROM EMP

WHERE 1 =1 

AND DEPTNO IN ( 1 , 2 , 3)


<iterate prepend="IN" property="test" open="(" close=")" conjunction=",">

#test[]#

</iterate>

<input type="hidden" name="LGD_ENCODING"  value="UTF-8"> 

<input type="hidden" name="LGD_ENCODING_NOTEURL"  value="UTF-8"> 

<input type="hidden" name="LGD_ENCODING_RETURNURL"  value="UTF-8"> 


collapsible


default : true

열고 닫는 기능



split


default : false

영역이 겹치지 않게

<meta http-equiv="X-UA-Compatible" content="IE=edge">


JAVA

참고 : http://villa4u.co.kr/jbn/bbs/board.php?bo_table=javap2&wr_id=22



C#

참고 : http://www.hoons.net/Board/qacshap/Content/30343


검색어 : extjs ie word

<textarea class="wrklst-report_text" id="report_text_6586427" name="report_text[6586427]" title="Report Box" data-exam_seq="6586427" style="width:95%;"></textarea>


-> white-space: pre-wrap


속성 값


Default value:normal


ValueDescriptionPlay it
normalSequences of whitespace will collapse into a single whitespace. Text will wrap when necessary. This is defaultPlay it »
nowrapSequences of whitespace will collapse into a single whitespace. Text will never wrap to the next line. The text continues on the same line until a <br> tag is encounteredPlay it »
preWhitespace is preserved by the browser. Text will only wrap on line breaks. Acts like the <pre> tag in HTMLPlay it »
pre-lineSequences of whitespace will collapse into a single whitespace. Text will wrap when necessary, and on line breaksPlay it »
pre-wrapWhitespace is preserved by the browser. Text will wrap when necessary, and on line breaksPlay it »
initialSets this property to its default value. Read about initialPlay it »
inheritInherits this property from its parent element. Read about inherit


참고 : http://aboooks.tistory.com/187

+ Recent posts