408 Topics

Member Avatar for
Member Avatar for prince_11

I'm doing a school management system and I want the senior house master to allocate various dormitories to students after getting thier names and display in a datagridview after he can press a button named Maybe house1 for it to display members in a house1 from the datagridview to another …

0
91
Member Avatar for weekendrockstar

I really tried with the title! I could not find what I was looking for through google or here. Seemed like something that could be common enough that I'd find it online already but perhaps it's so simple that no one had a problem doing it so they did not …

Member Avatar for weekendrockstar
0
222
Member Avatar for Lethugs

Hi My vs stopped working everytime i click datagridview Probelem Signature: Problem Event Name: CLR20r3 PS 01:devenv.exe PS 02:10.0.30319.1 PS 03:4ba1fab3 PS 04:System.Drawing PS 05:4.0.0.0 PS 06:4ba1e086 PS 07:49 PS 08:1f PS 09:System.InvalidOperationException Locale ID:1033 Additional information about the problem: LCID:1033 Please Help, Thanks

Member Avatar for Reverend Jim
0
404
Member Avatar for wilsonchama

Hi guys, Am trying to print datagridview contents to pdf. I have tried to use the code below I learned from the net, bu it is giving an error message "Object reference not set to an instance of an object." Private Sub bntToPDF_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) …

Member Avatar for zinist
0
4K
Member Avatar for md.Rayad

I have a powershell script in that script i am using datagridview. My script is working fine. All looks ok to me. My issue is i want to get the first column value of selected row. To fulfill this i need to add event (cell click/cell content click/cell mouse click). …

0
252
Member Avatar for Krs13

Hi, I have an access database and connected to vb.net through oledb. Am trying to filter the datagridview based on the combobox selection in the form. The combobox(emp id) is being loaded from the table called Employee. When the user selects an employee id from the combox i want the …

Member Avatar for Krs13
0
366
Member Avatar for weekendrockstar

I've searched all over the Net and here on DL but I can seem to find only information on passing a single argument when opening a new form. When I attempt to send more than one I get the "Too many arguments to 'Public Sub New()'" error. I am trying …

Member Avatar for weekendrockstar
0
1K
Member Avatar for wilsonchama

Hi Guys, I have a Microsoft Access database in which my VB.Net 2008 application is posting the data. It is an inventory management application. I have managed to accomplish a lot of things with your help. And Now, I have reached a point where all my ideas have been exhausted, …

Member Avatar for wilsonchama
0
3K
Member Avatar for naz1234

Hi, I have some value at column named "data". I need to scan the value at that column, if more than "2", then column named "1" will be "1 = data -2" Then at next row and still in current column named "data" , if more than "2", then column …

Member Avatar for Mr.M
0
946
Member Avatar for 404notfound

I'm looking for a way to do report printing. I understand CrystalReports is probably my best bet, but I can't find anything that relates to the way these reports need to look. My program is meant to record trainings for my company's supervisors. It has several text boxes that contain …

Member Avatar for 404notfound
0
158
Member Avatar for Amiet_1

I have DatagridView on form. My database has three fields. - userId (bigint) - userName (varchar) - userDob (date) Now, on Form I have comboBox, which lists Months (Jan, Feb, March and so on...). I want my program to work like this. If I select any month on ComboBox, birthdays …

Member Avatar for djjeavons
0
495
Member Avatar for Michael_39

Hi, Basically I have a graph that is bound from a DataTable which source is from a DataGridView. I have zoomable functions on the graph and I need it use X Axis SelectionStart and SelectionEnd in order to calculate the block of data that is selected. So I have some …

0
136
Member Avatar for Mike Bishop

I have the folling code which imports my CSV file into the respective columbs on my datagridview I would like to clean the string by removing any " from the string before populating the datagridview. can anyone point me in the right direction please? Dim newstring As String = Nothing …

Member Avatar for Reverend Jim
0
248
Member Avatar for Satyam_1

HI, I have a form1 with datagridview, and same datagridview in form2. both have databindingsource so when I update any data in form1 it should reflect the changes in form2, when both are open. Here is some what could i get, but its not refreshing the data. form 2 load …

Member Avatar for altjen
0
351
Member Avatar for Yuki_1

Hi,I would like to do a sorting when i had add new record,the new record must shown on the top of datagridview.It will always show latest record on top of the others old records.I had try several method that found from website but still cannot work!!! **code for load database …

Member Avatar for djjeavons
0
299
Member Avatar for Quazy

Hello I am creating a little application, using VB.net, and Access database. I want to count the number of records whitch have more than 6 hours difference between records. Is it possible to have a query to count the number of recordset where the "Time End" and "Time Start" of …

Member Avatar for Quazy
0
219
Member Avatar for jatin24

I'm facing this strange problem while working with DataGridView. In my application that i'm building, there is a form with some tabs, and im using the dataGridView Controls in some of the tabs. These dataGridView controls have already been configured, with a number of columns already added, and has been …

Member Avatar for sebbu
0
2K
Member Avatar for Yuki_1

Hi, in my project i need to update the attn_dateTimeOut in database.After i updated it will automatic delete the specific row record that had been updated. I had two question: 1) in my database there are a few table is assign not null."attn_dateTimeOut" is a table that haven insert any …

0
104
Member Avatar for wilsonchama

Hi everyone, I have been strugling wit the "INSERT INTO" statement. I intend to insert the items that are in a datagridview into An Access Database when a button is clicked. I am using VB.NET 2008 express and Microsoft acces 2007. At first, I tried to use the listview, but …

Member Avatar for wilsonchama
0
312
Member Avatar for Yuki_1

Hi,I wan to sort my added record on the top of datagridview.I had try a few way to sort it but it no function.*"attn_id"*is a primary key in database. using (TMPB_attn_DAL dalObj = new TMPB_attn_DAL()) { dataGridView1.DataSource = dalObj.GetRecords().Cast<TMPB_attn>().ToList(); dataGridView1.Refresh(); dataGridView1.Sort(dataGridView1.Columns["attn_id"], ListSortDirection.Descending); } when i run the above code it …

Member Avatar for JerrimePatient
0
202
Member Avatar for Nguyen_4

I import excel file and show on datagridview I want insert all row datagridview to mysql. But i receive error: Incorrect date value:'11/14/1991 12:00:00 AM' for column 'Ngaysinh at row 1. Mysql : i using date : yyyy/mm/dd datagridview show : mm/dd/yyyy. i don't know error: '12:00:00AM ' ???? column …

Member Avatar for JerrimePatient
0
1K
Member Avatar for Nguyen_4

i connect mysql using c# and show database in datagridview I want when i click the row in datagridview, textbox, combobox , datetimepicker will show form datagirdview But mysql datetime : yyyy/mm/dd 00:00:00 ( 00:00:00 will default if don't write) Datagridview : mm/dd/yyyy i used code: datetimepicker1.DataBindings.Add("text", dataGridView1.DataSource, "Birthday"); and …

Member Avatar for J.C. SolvoTerra
0
328
Member Avatar for Yuki_1

I want to show only specify database table in datagridview.I had use dataGridView1.AutoGenerateColumns = false; but i don't know how to add the column.For example on of the column is "attn_id".How should i add it? here my code to connect database private void tmst_timein_new_Load(object sender, EventArgs e) { try { …

Member Avatar for AleMonteiro
1
6K
Member Avatar for Emma Etigu

hi guys I was wondering whether it is possible to load items to the data grid view without having to do it in the form load event. if so, please assist in discussing a few techniques. thanks

Member Avatar for altjen
0
1K
Member Avatar for naz1234

Hi , how to add numbers in specific count of rows in Datagridview like in this[Click Here](http://i.imgur.com/IZJ39Wq.png) picture. I already run this code to sum all collumn in my Datagridview. But I need to sum the 1+2+4 in collumn TEST1 without erasing the other data. Private Sub Button1_Click(sender As Object, …

Member Avatar for DaveAmour
0
2K
Member Avatar for Athanassios

Hello, first of all I am new to vb.net so sorry if my question is stupid... :( I have text files that are something like this: "#...... "#...... 1.2 2.5 3.4 5.6 4.8 8.9 . . . Now I would like to add to the first column of the datagridview …

Member Avatar for Athanassios
0
665
Member Avatar for rola theo

Good day guys I need help for adding 2 column in datagridview my project is : the import and the varibles are : Imports Excel = Microsoft.Office.Interop.Excel Imports Microsoft.Office.Interop.Excel Imports Microsoft.Office.Interop Imports System.Runtime.InteropServices Public Class Form2 Friend xlApp As New Excel.Application Friend xlWorkBook As Excel.Workbook Friend xlWorkSheet As Excel.Worksheet Friend …

Member Avatar for rola theo
0
5K
Member Avatar for naz1234

Hi, how to plot a chart from imported excel in Datagridview? I tried the tutorial from [HERE](https://www.daniweb.com/software-development/csharp/code/492766/display-excel-data-in-a-datagridview), but I do not know how to plot the chart. Previously, I used MS.Access for my Datagridview, then I manage to choose the Datasource. But, for this case, I imported an excel and …

Member Avatar for naz1234
0
202
Member Avatar for rola theo

Hello !! I use vb.net with excel I have a buttom "get the name of the column from worksheet" with a combobox thi is the code of the button: Private Sub Button7_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button7.Click Dim Excols As New Dictionary(Of Integer, String) Form2.xlWorkSheet = …

0
144
Member Avatar for marvin_1

hi everyone i have 5 labels 1 textbox 1 button 1 timer and database im actually making some sort of a timer .. i managed to put the value of the 5 labels (which is my timer) to the textbox. now id like to put and save the value of …

Member Avatar for Reverend Jim
0
122

The End.