久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

  • <small id='3dbFF'></small><noframes id='3dbFF'>

    <legend id='3dbFF'><style id='3dbFF'><dir id='3dbFF'><q id='3dbFF'></q></dir></style></legend>
        <bdo id='3dbFF'></bdo><ul id='3dbFF'></ul>

      <i id='3dbFF'><tr id='3dbFF'><dt id='3dbFF'><q id='3dbFF'><span id='3dbFF'><b id='3dbFF'><form id='3dbFF'><ins id='3dbFF'></ins><ul id='3dbFF'></ul><sub id='3dbFF'></sub></form><legend id='3dbFF'></legend><bdo id='3dbFF'><pre id='3dbFF'><center id='3dbFF'></center></pre></bdo></b><th id='3dbFF'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='3dbFF'><tfoot id='3dbFF'></tfoot><dl id='3dbFF'><fieldset id='3dbFF'></fieldset></dl></div>

      1. <tfoot id='3dbFF'></tfoot>

        使用 Flex 將表單字段保存在 MySQL 數(shù)據(jù)庫(kù)中

        Saving form fields in a MySQL DB usinf Flex(使用 Flex 將表單字段保存在 MySQL 數(shù)據(jù)庫(kù)中)

        • <tfoot id='AUVHD'></tfoot>
          <legend id='AUVHD'><style id='AUVHD'><dir id='AUVHD'><q id='AUVHD'></q></dir></style></legend>
            <bdo id='AUVHD'></bdo><ul id='AUVHD'></ul>
              <tbody id='AUVHD'></tbody>

              <small id='AUVHD'></small><noframes id='AUVHD'>

              <i id='AUVHD'><tr id='AUVHD'><dt id='AUVHD'><q id='AUVHD'><span id='AUVHD'><b id='AUVHD'><form id='AUVHD'><ins id='AUVHD'></ins><ul id='AUVHD'></ul><sub id='AUVHD'></sub></form><legend id='AUVHD'></legend><bdo id='AUVHD'><pre id='AUVHD'><center id='AUVHD'></center></pre></bdo></b><th id='AUVHD'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='AUVHD'><tfoot id='AUVHD'></tfoot><dl id='AUVHD'><fieldset id='AUVHD'></fieldset></dl></div>

                  本文介紹了使用 Flex 將表單字段保存在 MySQL 數(shù)據(jù)庫(kù)中的處理方法,對(duì)大家解決問(wèn)題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來(lái)一起學(xué)習(xí)吧!

                  問(wèn)題描述

                  我有一個(gè) MySQL 數(shù)據(jù)庫(kù),我創(chuàng)建了一個(gè)數(shù)據(jù)庫(kù)并將其命名為PERSONDB".在該數(shù)據(jù)庫(kù)中,我創(chuàng)建了一個(gè)表并將其命名為 Person.該表有 3 個(gè)字段.id,name,age.

                  I have a MySQL database, and i created a DB and named it 'PERSONDB'. Within that DB, i have created a table and named it Person. This table has 3 fields. id,name,age.

                  現(xiàn)在我需要將一些值從我的 flex 網(wǎng)站保存到我創(chuàng)建的 mySQL 'PERSONDB'.

                  Now i need to save some values from my flex website to the mySQL 'PERSONDB' that i created.

                  我如何在 Flex (Flax builder 4.6) 中執(zhí)行此操作

                  How can i do this in Flex (Flax builder 4.6)

                  注意:我在 Flex 項(xiàng)目中添加了 2 個(gè)字段名稱和年齡,當(dāng)用戶單擊按鈕時(shí),我需要將這些值保存在數(shù)據(jù)庫(kù)中.我該怎么做.

                  Note: I have added 2 fields name and age, in the Flex project and when the user clicks on the Button i need those values to be saved in the DB. how can i do this.

                  推薦答案

                  asSQL ( http://code.google.com/p/assql/ ) 是使用 mySQL 的好方法.它允許從 AIR 或基于 Web 的任何應(yīng)用程序直接訪問(wèn) mySQL.我在編碼中經(jīng)常使用它,因此我不必編寫 Java 或 PHP 作為后端,除非有充分的理由安裝后端.

                  asSQL ( http://code.google.com/p/assql/ ) is a good approach to using mySQL. It allows for direct access to mySQL from any application either in AIR or web based. I use this pretty regularly in my coding so I don't have to write a Java or PHP as a back end unless there is a good reason to have a back end in place.

                  好的,這是我使用的代碼:

                  OK, here is the code I use:

                      <assql:MySqlService id         ="DB"
                                          hostname   ="localhost"
                                          username   ="user"
                                          password   ="password"
                                          database   ="db"
                                          autoConnect="true"
                                          connect    ="handleConnected(event)"
                                          sqlError   ="handleError(event)"/>
                  
                  
                          private function getSelectedData() : void
                          {
                              DB.send("SELECT * from table WHERE number = '" + number.text + "'");
                          }
                  

                  僅此而已.頂部設(shè)置連接,位于代碼部分.其余部分在 (ActionScript) 部分.當(dāng)然,也可以直接在 ActionScript 中完成,但是這個(gè)解決方案使用了 MXML.

                  That's all there is too it. The top part sets up the connection and is in the section of the code. The rest is in the part (ActionScript). Of course, it can be done in straight ActionScript as well, but this solution used MXML.

                  這篇關(guān)于使用 Flex 將表單字段保存在 MySQL 數(shù)據(jù)庫(kù)中的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                  【網(wǎng)站聲明】本站部分內(nèi)容來(lái)源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問(wèn)題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請(qǐng)聯(lián)系我們刪除處理,感謝您的支持!

                  相關(guān)文檔推薦

                  How to use windowing functions efficiently to decide next N number of rows based on N number of previous values(如何有效地使用窗口函數(shù)根據(jù) N 個(gè)先前值來(lái)決定接下來(lái)的 N 個(gè)行)
                  reuse the result of a select expression in the quot;GROUP BYquot; clause?(在“GROUP BY中重用選擇表達(dá)式的結(jié)果;條款?)
                  Does ignore option of Pyspark DataFrameWriter jdbc function ignore entire transaction or just offending rows?(Pyspark DataFrameWriter jdbc 函數(shù)的 ignore 選項(xiàng)是忽略整個(gè)事務(wù)還是只是有問(wèn)題的行?) - IT屋-程序員軟件開發(fā)技
                  Error while using INSERT INTO table ON DUPLICATE KEY, using a for loop array(使用 INSERT INTO table ON DUPLICATE KEY 時(shí)出錯(cuò),使用 for 循環(huán)數(shù)組)
                  pyspark mysql jdbc load An error occurred while calling o23.load No suitable driver(pyspark mysql jdbc load 調(diào)用 o23.load 時(shí)發(fā)生錯(cuò)誤 沒(méi)有合適的驅(qū)動(dòng)程序)
                  How to integrate Apache Spark with MySQL for reading database tables as a spark dataframe?(如何將 Apache Spark 與 MySQL 集成以將數(shù)據(jù)庫(kù)表作為 Spark 數(shù)據(jù)幀讀取?)

                  <i id='fFxux'><tr id='fFxux'><dt id='fFxux'><q id='fFxux'><span id='fFxux'><b id='fFxux'><form id='fFxux'><ins id='fFxux'></ins><ul id='fFxux'></ul><sub id='fFxux'></sub></form><legend id='fFxux'></legend><bdo id='fFxux'><pre id='fFxux'><center id='fFxux'></center></pre></bdo></b><th id='fFxux'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='fFxux'><tfoot id='fFxux'></tfoot><dl id='fFxux'><fieldset id='fFxux'></fieldset></dl></div>

                      <tfoot id='fFxux'></tfoot>

                          <small id='fFxux'></small><noframes id='fFxux'>

                        1. <legend id='fFxux'><style id='fFxux'><dir id='fFxux'><q id='fFxux'></q></dir></style></legend>
                            <tbody id='fFxux'></tbody>
                          • <bdo id='fFxux'></bdo><ul id='fFxux'></ul>
                            主站蜘蛛池模板: 国产美女在线观看 | 亚洲一区二区中文字幕 | 99热碰 | 一区视频 | 久久这里只有精品首页 | 国产福利资源在线 | 欧美男人天堂 | 亚洲精品久久久久久久久久久 | 免费日韩网站 | 日韩视频区| 欧美一区二区三区在线观看视频 | 国产在线拍偷自揄拍视频 | www,黄色,com | 亚洲精品色 | 在线国产一区二区 | 国产精品1区 | 中文字幕电影在线观看 | 丁香五月网久久综合 | 秋霞影院一区二区 | 免费在线观看毛片 | 午夜影院在线观看版 | 日韩色在线 | 成人精品鲁一区一区二区 | 久久国产欧美日韩精品 | 久久国产精品一区二区三区 | 欧美中文字幕 | 国产精品视频久久久 | 欧美亚洲另类丝袜综合网动图 | 亚洲少妇综合网 | 2019精品手机国产品在线 | 欧美日韩亚洲国产综合 | 黄视频国产 | 日韩色综合 | 青青草在线视频免费观看 | 成人在线观看免费观看 | 天天综合干 | 精品欧美一区二区精品久久久 | 午夜影视 | 久久久久久成人网 | 欧美中文字幕一区二区三区 | 午夜av一区二区 |