Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1

    Default VB.NET question. Please help...


    Hi istoryans! I need help sa ako gihimo na program. gusto unta ko malink ang part na contents sa ako form sa lain form. for example. naa ko form nga mag add ug names sa members and address. dn naa pd ko form nga naa member mo borrow ug money. pero gusto nako na once mo type ko sa 2nd form sa iya name, mo display ang mga possible names na ako gi type which is gkan cya sa ako gi save nga name sa form 1 (pareha anang mo type ka ug word sa google search ba na mogawas ang equal sa word/s na imo gi type). Also, pwd ma save ang na generate nimo nga result sa data grid view? thanks in advance fellow istoryans.

  2. #2
    murag gamitan mani nmug SQL database guro bro..

    not sure thou, hehe..

  3. #3
    gamiti og automata hehehe..

  4. #4
    kayasa, wla na d i tarong diri nga makahatag ug suggestion?

  5. #5
    Dali rah kay na bro..try oop style..

  6. #6
    Quote Originally Posted by dreamboy View Post
    Hi istoryans! I need help sa ako gihimo na program. gusto unta ko malink ang part na contents sa ako form sa lain form. for example. naa ko form nga mag add ug names sa members and address. dn naa pd ko form nga naa member mo borrow ug money. pero gusto nako na once mo type ko sa 2nd form sa iya name, mo display ang mga possible names na ako gi type which is gkan cya sa ako gi save nga name sa form 1 (pareha anang mo type ka ug word sa google search ba na mogawas ang equal sa word/s na imo gi type). Also, pwd ma save ang na generate nimo nga result sa data grid view? thanks in advance fellow istoryans.
    ang imo gusto mahitabo nga ang records nga imo gi-entry from the first form (for members information) makita as suggestion or list sulod sa combobox when you type ang first few characters nga naay matched nga name sa imong existing members' records .

    combination na siya sa querying sa imong entries sa members information table as triggered sa imo keyboard events.

    i suggest to make it simple and convenient, use a combobox and set the dropdown style mode to "simple" i-type dayon ang key information nga imo gamiton pag-query sa imo table, in this case possibly ang name sa member. then i-trap ang keypress event nga kung ang na-press ENTER key, naa ka routine nga tawagon to execute the query resulting to a dataset nga imong i-populate sa imo combobox - human ug populate i-set dayon ang combobox dropdown style to "dropdownlist" ug i-focus ang combobox. then let the end-user select asa nga entry iya pilion from the list and execute subsequently unsa imo gusto buhaton.

    and yes as said by print+="helloworld" better done with oop...

    and dreamboy palihog when you are asking for something, ok na siya kay we are humbling ourself and accepts nga naa 'tay kinahanglan pa mahibaloan, "OK NA UNTA" kaso lang naa man ang "KAYASA"... dreamboy life is a learning process, maundang lang 'ta pagkat-on the moment nga 6 feet down under o gi-cremate na 'ta.

    ang ako ra pod nahatag nimo nga tampo o suhestiyon gikan pod na sa diyot nako nga napudyot gikan sa mga nakihinabi ug matinabangon nga hugpong sa mga bisdak ug ni "GOOGLE".

  7. #7
    pasencya peydro. thanks sa suggestion. ako lang man gd na expression and don't mean anything. I was disappointed man gd with the previous comment nga nonsense kaayo ang tubag. May unta nga wla nalang to ga comment2x ang uban kon wla man d i cla kabalo sa tubag. again, thanks.

  8. #8
    ok ra @dreamboy... any time...

  9. #9
    itry daw ni bai.....

    Form2.textbox1.text = textbox1.text

    ibutang na sa imung form1.. hehehe.. dili ko kabisado ug database nga SQL but naa ko gamay nahibal'an sa database access nga connection...

    sa database access nga connection, pwede ra sad ka m.gamit sa listview..

    d ko sure ani nga code.. but i search lang... hehehe...

    adto ka sa "listview1. boubleclick" something like that.. na kung imung i double click ang selected value sa listview, imu na dauing ibutang nga

    form2.textbox1.text = listview1.items.(0)
    form2.textbox2.text = listview1.items(0).subitems(0)

    akong code dili na xa mao.. i search lang... hehehe.. please let me know if sayup akong suggestion... corrections are highly appreciated...

  10. #10
    @dreamboy: Nag-attach ko ug sample diri para VB.NET/C# basi sa akoa nasabtan sa imo gusto buhaton. Basic ra kaau na ako gibuhat, naa duha ka form. Sa Main form, nimo makita ang listahan sa imo "member". Pwede pud ka maka add/edit/delete etc sa datagridview. Sa Search form, naa ra usa ka textbox nga imo ma inputan sa search filter. Tanan results base sa imo gamit nga filter makita nimo daun sa datagridview. Ayaw naa kaau ipa lisud2 pareha ato imo ingon nga mu-suggest sa combobox.

    Sa kani nga sample, nag buhat ta ug dummy nga data service. Didto makuha ang data na ato i-databind sa datagridviews. Wala ni gagamit ug database, in-memory ra ang data nga naa sulod sa static (module sa VB.NET) nga class para dali ra i-access sa lain form. Ayaw gamit ani nga pamaagi sa imo production project.

    Tuod ang gamit sa search kay ang mu match sa imo gi input sa textbox ug ang nagsugod sa "Name" nga field.

    Tuod naa ko mga gamay nga suggestion kay .NET imo gamit:

    1) Gamita ang mga features sa framework. Tun-i ang ADO.NET, LINQ, etc.
    2) Gamita ang databinding. Ayaw anang manual nga pag assign ug data sa mga controls.

    Pang demonstrate lang ang purpose ani nga sample so ayaw lang kaayo mo panghinaway

    Links: http://sdrv.ms/1bt0kNj

  11.    Advertisement

Page 1 of 2 12 LastLast

Similar Threads

 
  1. A Noob Question please help
    By chaiwalla in forum General Discussions
    Replies: 2
    Last Post: 03-17-2013, 01:29 PM
  2. LTO QUESTION Please Help Me!
    By akira893 in forum Politics & Current Events
    Replies: 26
    Last Post: 10-07-2011, 12:25 PM
  3. Looking For: Property Rental Question, Please Help.
    By Vishadomini in forum Real Estate
    Replies: 2
    Last Post: 02-02-2010, 02:12 AM
  4. VB.NET Question
    By DeathFox in forum Programming
    Replies: 23
    Last Post: 05-01-2008, 02:06 PM
  5. RAID 0 and SATA Questions? Please Help me mga master..
    By ace_maranga in forum Computer Hardware
    Replies: 31
    Last Post: 04-09-2008, 12:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top