8 Archived Topics
Remove Filter Hi, can someone pls help me. I'm trying to pass the name of the user who logs in from a login form and display his/her name on a Main form. I'm using get{} and set{}. My problem is with the function I'm trying to create to return the name of … | |
Hi, Is there a way to "clear a previous loop and form a fresh new loop"? I'm paging my datagrid. Upon form_load, it shows all records in batches of for example 10, which I can set in a textbox. If for example I have 60 records, then my loop code … | |
Hi, I need to have all the letters of the alphabet displayed across my tabpage, with each letter clickable. Can someone pls help me; I can't get this right, I only have the letter A displayed: [CODE] Label[] lblalpha = null; lblalpha = new Label[26]; string alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; char[] … | |
Hi, Can someone help me pls why this doesn't seem to work? [CODE] private void dataGridViewempl_CellContentClick(object sender, DataGridViewCellEventArgs e) { if (dataGridViewempl.CurrentCell.ColumnIndex == 6) { CheckBox deletebox = new CheckBox(); deletebox = (CheckBox)dataGridViewempl.CurrentCell.Value; if (deletebox != null) { if (deletebox.Checked == false) deletebox.Checked = true; else deletebox.Checked = false; } … | |
Hi, I'm making a printable Purchase Order form using Crystal Report. This report retrieves data from two tables. Example, I have fields PONumber,DateofPO,Airline,DateofFlight,ETA,ETD from a table called tblFlight. I have fields PassengerName and Rate on another table called tblPassenger. Each PONumber can have multiple passengers. How can I get it … | |
Hi, I'd like to get the value of a column from a datagrid and insert that to a table. I get an error "Object reference not set to an instance of an object." Here's my code: [CODE] Imports System.Data.SqlClient Imports System.Data Public Class Class1 Public Shared Sub insertrecord(ByVal query As … | |
Hi, I want to populate a listview with items from datagrid view. I've been searching for solutions but it seems that all the scenarios I found were about populating listview with items from tables in database, not from another listview or datagrid view. I'm trying this code: [CODE] For count … | |
Hi, I need help in numbering rows in datagrid. I have a column that should number 1,2,3 so on when adding a new row. When I delete a row, those numbers should re-number still to 1,2,3. So when I delete row 2, the row that's been added as 3 should … |
The End.