Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
M

misCafe

@misCafe
About
Posts
50
Topics
23
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Retrieve data from listview to textbox (VBA Access 2007)
    M misCafe

    It still does not work at all. It says "Object does not support this property or method." Thanks,

    Chuon Visoth Angkor Wat - Cambodia asp.net - c sharp beginner

    Visual Basic csharp asp-net learning

  • Retrieve data from listview to textbox (VBA Access 2007)
    M misCafe

    It still doesnt work! Private Sub lvwStaff_ItemClick(ByVal Item As Object) Me.txtInsurance.Text = lvwStaff.selecteditems(0).Text Me.txtName.Text = lvwStaff.selecteditems(0).SubItems(1).Text Me.txtAddress.Text = lvwStaff.selecteditems(0).SubItems(2).Text Me.txtAddress.Text = lvwStaff.selecteditems(0).SubItems(3).Text End Sub

    Chuon Visoth Angkor Wat - Cambodia asp.net - c sharp beginner

    Visual Basic csharp asp-net learning

  • Retrieve data from listview to textbox (VBA Access 2007)
    M misCafe

    Developer, I am looking for a code which retrieves data from the listview to textbox, combobox...etc. When I click on listview recode, I want it data pass to those textbox, combobox. Thanks,

    Chuon Visoth Angkor Wat - Cambodia asp.net - c sharp beginner

    Visual Basic csharp asp-net learning

  • Type mismatch when loading data from db to listview
    M misCafe

    Thanks so much for your help. The problem is fixed. :) Anyways, I want to click on the ListView Item and load its values from each colums to the TextBox, ComboBox. It is the better way to update the record.

    Chuon Visoth Angkor Wat - Cambodia asp.net - c sharp beginner

    Visual Basic csharp help asp-net database

  • Type mismatch when loading data from db to listview
    M misCafe

    I am using VBA (Access 2007) for my project. On the form load, listview retrieves data from the db but gets problem (Error Message : Type mismatch). Here is my code. Dim Rst As New ADODB.Recordset Dim Str As String Rst.CursorLocation = adUseClient Str = "Select * From qry_staff_info Order By sID" Rst.Open Str, Application.CodeProject.Connection, adOpenDynamic If Rst.RecordCount < 0 Then Exit Sub If Rst.RecordCount > 0 Then Do While Not Rst.EOF Dim lvwItem As ListItem Set lvwItem = Me.lvwStaff.ListItems.Add(, , Rst![insurno]) ''''''' This the line which debug and show the error message (Type mismatch) lvwItem.SubItems(1) = Rst![sname] lvwItem.SubItems(2) = Rst![bgroup] lvwItem.SubItems(3) = Rst![gender] lvwItem.SubItems(4) = Rst![dob] lvwItem.SubItems(5) = Rst![doj] lvwItem.SubItems(6) = Rst![Position] lvwItem.SubItems(7) = Rst![location] lvwItem.SubItems(8) = Rst![Address] lvwItem.SubItems(9) = Rst![Telephone] lvwItem.SubItems(10) = Rst![martialstatus] lvwItem.SubItems(11) = Rst![nod] Loop End If Thanks,

    Chuon Visoth Angkor Wat - Cambodia asp.net - c sharp beginner

    Visual Basic csharp help asp-net database

  • Call function in VBA (Access 2007)
    M misCafe

    Can you correct this function for me? What's more, I do not how to write code to call this function too.

    Chuon Visoth Angkor Wat - Cambodia asp.net - c sharp beginner

    Visual Basic csharp database asp-net help

  • Call function in VBA (Access 2007)
    M misCafe

    Dear developers, I have problem in calling function from module in access 2007. 1. Let's see my code: Public Function insertDB(tblName As String, tblField As String, strValue As String, db As ADODB.Database) Dim Str As String Dim Rst As New ADODB.Recordset Rst.CursorLocation = adUseClient Str = "Insert into" & tblName & "(& tblField &)" & " Values(" & strValue & ")" db.Execute Str End Function Is it the correct function??? 2. How to call this function in the form?? Cheers, Visoth

    Chuon Visoth Angkor Wat - Cambodia asp.net - c sharp beginner

    Visual Basic csharp database asp-net help

  • Refresh comboxbox in form1 after form2 is closed
    M misCafe

    private void lkl_additem_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) //form1 { //Open form2 from form1 form2 frmitem = new form2(); frmitem.ShowDialog(); this.cbo_itemname.Refresh(); // This is a combobox in form1 which I wanna update when form2 closes. } Is the code like this??? However, it doesn't work. :(

    Chuon Visoth Angkor Wat - Cambodia asp.net - c sharp beginner

    C# csharp asp-net database tutorial announcement

  • Refresh comboxbox in form1 after form2 is closed
    M misCafe

    Sorry, can give explain me more detail than this? :)

    Chuon Visoth Angkor Wat - Cambodia asp.net - c sharp beginner

    C# csharp asp-net database tutorial announcement

  • Refresh comboxbox in form1 after form2 is closed
    M misCafe

    Dear developers, I am coding a very small project for my study. I want to refresh form1 after form2 is closed. For example, I open form1 and click one button to open form2 and in form2 I can insert data to the database (ex : tblItem). In addition, combobox in form1 retrieves data from the database (tblItem) too. So, after inserting data from form2 and when I close the form2, I want the comboxbox in form1 refresh to retrieve the last update of tblItem data. Here is my code to open form2 form2 frmitem = new form2(); frmitem.ShowDialog(); Please advise, thanks. Visoth

    Chuon Visoth Angkor Wat - Cambodia asp.net - c sharp beginner

    C# csharp asp-net database tutorial announcement

  • Refresh form1 from form2
    M misCafe

    Let's see my code. form2 frmitem = new form2(); frmitem.ShowDialog(); Many thanks, :)

    Chuon Visoth Angkor Wat - Cambodia asp.net - c sharp beginner

    C# csharp asp-net database tutorial announcement

  • Refresh form1 from form2
    M misCafe

    Dear developers, I am coding a very small project for my study. I want to refresh form1 after form2 is closed. For example, I open form1 and click one button to open form2 and in form2 I can insert data to the database (ex : tblItem). In addition, combobox in form1 retrieves data from the database (tblItem) too. So, after inserting data from form2 and when I close the form2, I want the comboxbox in form1 refresh to retrieve the last update of tblItem data. Please advise, thanks. Visoth

    Chuon Visoth Angkor Wat - Cambodia asp.net - c sharp beginner

    C# csharp asp-net database tutorial announcement

  • Autonumber and refresh form, C sharp
    M misCafe

    Thank you so much for your explanation below. Yours, Visoth

    Chuon Visoth Angkor Wat - Cambodia asp.net - c sharp beginner

    C# csharp asp-net tutorial question

  • Autonumber and refresh form, C sharp
    M misCafe

    Dear Experts, I have two questions here, first, I wanna know how to make an autonumber on C sharp (textbox). I have selected max number from a field in the table but I do not know how to make the textbox becomes an autonumber (always +1 with the max number) when I load the form. The second question, I have many forms in my small (homework) project. I open form2 from form1(form1 still actives), I add some text in form2 and I want to make form1 (ex: combox) refresh (vba calls requery) when I close form 2. Thanks for reading the entire of this passage. :) Visoth

    Chuon Visoth Angkor Wat - Cambodia asp.net - c sharp beginner

    C# csharp asp-net tutorial question

  • How to load data from db to combobox?
    M misCafe

    Would you mind to give me a code? Yours,

    Chuon Visoth Angkor Wat - Cambodia asp.net - c sharp beginner

    C# csharp question learning asp-net database

  • How to load data from db to combobox?
    M misCafe

    Dear, I start programming a very small project called "CD Collection" for my self learning which is using C Sharp 2005 and MS Access 2007. I would love you to instruct me if possible. I can insert into table (eg: tbl_user (uID, username)) normally but I've no idea how to load these data to combobox (in other form - tbl_cd (cd_id, music_code, uID, cd_set_id)). So, what do I've to code? 1. How to load data from db to combobox? 2. After successfully loaded, I want to know how do I insert uID(from combobox) back to uID in tbl_cd? Many thanks,

    Chuon Visoth Angkor Wat - Cambodia asp.net - c sharp beginner

    C# csharp question learning asp-net database

  • How to import "using system.data.oledb;" automatically - C Sharp 2005
    M misCafe

    got it! thanks, :)

    Chuon Visoth Angkor Wat - Cambodia asp.net - c sharp beginner

    C# csharp asp-net tutorial question learning

  • How to import "using system.data.oledb;" automatically - C Sharp 2005
    M misCafe

    Dear, Every new form, I've to import using system.data.oledb. Is there anyways to make it default every new form? Thanks,

    Chuon Visoth Angkor Wat - Cambodia asp.net - c sharp beginner

    C# csharp asp-net tutorial question learning

  • Does not diplays the correct position on page
    M misCafe

    Hello, I have developed website in VWD 2008 with asp.net. In design view, I put labels control inside the interface area. But when I run it, it does not locate in the correct position. You can see at www.nbgroup.info. I put the "Count Visitor & DateTime" under the "What's New?" but it does not. So, how to solve this problem? Thanks,

    Chuon Visoth Angkor Wat - Cambodia asp.net - c sharp beginner

    ASP.NET csharp asp-net design help tutorial

  • Set home page to center on screen
    M misCafe

    "If I found some on net, I wouldn't post!" What contents do you mean? I just wanna ask if there's any way to set the page run on the center screen. When I use table and set its alignment to center, it actually displays in the middle of the screen. I drag and drop the textbox or label to table, but it doesn't point on the table (display at the left side) when I run it. I have read that link, but it seems it doesn't help me out. Thanks very much again,

    Chuon Visoth Angkor Wat - Cambodia asp.net - c sharp beginner

    ASP.NET csharp asp-net tutorial learning
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups