TAILIEUCHUNG - Practical Database Programming With Visual C#.NET- P11

Tham khảo tài liệu 'practical database programming with visual c#.net- p11', công nghệ thông tin, cơ sở dữ liệu phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Insert Data into Oracle Database Using Runtime Objects 523 t ei cmdTabLogIn_Click tj A B C D private void cmdTabLogIn_Click object sender EventArgs e string cmdString SELECT user_name pass_word facultyjd studentjd FROM Login cmdString WHERE user_name name AND pass_word word OradeDataAd apterLoglnDataAdapter newOracleDataAd apterQ DataTable oraDataTable new DataTableQ OradeCommaad otdCommand cew OradaLtmmLndO Selectio n Form tciFarma newCelcctioaatrm oraConaectiLt udtypa utmORtrma .AddC dama .Value .Addr word 8 .Value LoglnDataAUapteRdatCemmsLa ooraaommssL Dda t mdaDdO ma CCF ia 100 else Mescac Clomatched username password found oraCo m cn Figure Modificudions tmtheloainqunry string in the Login form. Let s take a look at these modifications to see how they work g A. Most parts of this query string work with the Oracle database and the only modifications LlKEsyrnMused . LHtE symbols lo the assignme lbeforetwcparametersnameynd word respectively. This is the syntaxusidsn the Oeacledatabree. B. Starting t romolep B chrnge tVepaefixlor all OraclectesresohedinlhismsthodfccmSql to PlfLlighted ip PoSd. C. Starting SromstepE chfmpe thepra itforpU Oracle objects used in this method from sql to ora. AU modiliaepioesliavc botnPlghllaered ielvtilcl. D. Modify the firstnoImnaiprgumenrSSnamp qpP HwordintEeAddO method by removing the @ symhef befeen tSirae Stvotirganicntsriscatlhs is the query syelaa nl tlieOroela database. Aieochanne the thimnullttalaaaKll c tlc i E n ergaments from SqlDbType to OracleTypet You can peeform llrn smiHae moo ir .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.