20,278 Topics

Member Avatar for
Member Avatar for Maya Pawar

I have a datagridview which contains 4 records. I want to insert these records into access table.This access table already have records. Datagridview's columns & access table's columns are same (datatype & columnname) How can i insert these 4 records in access table??? Plz anybody help me.............. Thanks in advance...

Member Avatar for Maya Pawar
0
131
Member Avatar for hemavl

I have got problem in updating the access database. THIS IS MY CODE // [code] Dim con As New OleDb.OleDbConnection Dim spl As String Dim ds As New DataSet Dim da As New OleDb.OleDbDataAdapter con.ConnectionString = "PROVIDER= Microsoft.Jet.OLEDB.4.0;Data Source=C:\Users\Malai\Documents\database31.mdb" con.Open() spl = "select * from REMAINDERDETAILS" da = New OleDb.OleDbDataAdapter(spl, …

Member Avatar for kvprajapati
0
108
Member Avatar for bchaney

is there a way i can get my datatable to have multiple constraints that are attached to a unique id? an example of what i'm talking about is if i have a unique machine but it's on many lines, can i show that somehow in a datatable? the reason i'm …

Member Avatar for bchaney
0
205
Member Avatar for Fungus1487

This is a very brief overview of how to achieve an ON-THE-FLY creation of an appointment in the clients outlook calendar. This will not force the user to add it to there calendar but gives them the option to add it automated. Using the older .vcs file extension for outlook …

Member Avatar for elf123
0
209
Member Avatar for chancewty

Hi, I need help. I've been looking all around and i have not found a appropriate solution for my question. Here it is. I've a database table which has the field "username" and "password" and within the "username" field, there would be users like "admin","cashiers" etc. I would like to …

Member Avatar for chancewty
0
97
Member Avatar for cmurambiwa

i have developed an application in windows mobile 5 but now it has to be installed on windows mobile 6.1. what can be the changes needed for the deployment kit

Member Avatar for peter_budo
0
68
Member Avatar for judithSampathwa

hi there, i have a email textbox in the datagrid view, when i try to validate the datagrid view cell in the cellvalidating event, the current value is not take to the email varialbe, it is showed as null. y is that. how can i solve this. [CODE] if(e.ColumnIndex == …

Member Avatar for nick.crane
0
90
Member Avatar for Merovingian
Member Avatar for Merovingian
0
115
Member Avatar for jzlonely

Hi All, I am trying to do a record search feature in my datagrid, but I can't find any reference for this. What I want to do is I can search any of the row that contain the text that type in TextBox1 by clink on Button1. Anyone can help …

Member Avatar for jzlonely
0
121
Member Avatar for DartDemon

Alright, I'm pulling hair out of my head trying to figure this out. I have Data coming in through a serial port and it consists of pretty much all numerical values except for a few begining response characters. Its a Load Cell which spits out Tension in Pounds. I'm making …

Member Avatar for dghervas
0
110
Member Avatar for kea62227

I think I found a bug in the combobox control. I can get the combobox.selectedvalue to be different from the value shown in the combobox. Try to run the code and see for your self how it acts. When running the form I have included a description of how to …

Member Avatar for dghervas
0
239
Member Avatar for slices

Hello guys, Can anyone tell me why do I get the error message in the code below? The code fires onPageLoad. What should I change? [CODE]Dim con As New SqlConnection con.ConnectionString = "Data Source=s01.winhost.com;Initial Catalog=DB_10078_kdn;Persist Security Info=True;User ID=xxxxx;Password=******" Dim s As String s = "SELECT * FROM Users WHERE Seller_id …

Member Avatar for slices
0
472
Member Avatar for bbman

hi... i want to hide a column in gridview..but must be able to access the data from that column.. whenever i make the column visibility to false..i wont be able to access the data.. it works..only when the condition is true. I tried the below method also.. GridView1.Columns.Item(0).ItemStyle.Width = 0 …

Member Avatar for prashantchalise
0
2K
Member Avatar for judithSampathwa

hi there, i have a datagrid view in a form and i have a calender control in one of the cells. when i try to validate it it gives an invalidCastException.(the line is bolded, this is tha place where the error occurs) [CODE] private void dgvActions_CellValidating(object sender, DataGridViewCellValidatingEventArgs e) { …

Member Avatar for gusano79
0
116
Member Avatar for b1izzard

I had Bind the Two Textboxes with fields Company Name and Interview Date from Database1. I want to prevent inserting the records into Database2 when the same value exists in Both Database. My problems are in enabling and disabling the insert button during record navigation and placing the below piece …

0
88
Member Avatar for pardeep3dec

Dear Experts, I need idea about disabling windows key from key board whether it is in windows xp or vista or windows 7. Thanks Pardeep

0
68
Member Avatar for judithSampathwa

hi there, i have a combo box cell in the datagrid view and to it the data is loded from the database. w@ i want is when i select a value from the combo box cell the other cells should be filled with the data relating to the value selected. …

Member Avatar for judithSampathwa
0
147
Member Avatar for petrelutza

Hey, I tried to change the size of a label from 2 text boxes, but doesn't work. Here is my code: [CODE] Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click y = TextBox2.Text x = TextBox3.Text Form2.Label1.Size = New Size(y, x) End Sub[/CODE] textbox2 is width …

Member Avatar for trpsjt2008
0
2K
Member Avatar for Anigmalee

I have a simple application, a form with two datepicker( Datepicker1 is for startsearchdate, while datepicker2 is endsearchdate) to filter out any record that not in the range. The source of the record is readed from a rtf file.The record is in format as showm below. [dd/MM/yyyy] time result So …

Member Avatar for finito
0
145
Member Avatar for rmartyn

hy :icon_cheesygrin: We are doing in the page load event we will read the data to the database and put on the page, and the Change button and click event, we are changing through the update the table values in the database. Will carry the edit button when he returns …

Member Avatar for finito
0
97
Member Avatar for GrimR7529

Hi, I have a listbox that is connected to a text file and this file is created when the program opens for the first time and then users can add data to the file as they wish. However what I am having a problem with is that how can I …

Member Avatar for pritesh2010
0
94
Member Avatar for oceantrain

I have a datagridview on a form with multiple columns. Three of the columns are expression columns. One column is subtracted from the second and the result is displayed in the third. Everything works great but when I hit the save button and save to the database, all the columns …

Member Avatar for kvprajapati
0
74
Member Avatar for Maya Pawar

I want,when i show Form2,the form1 should be displayed in background. and when i close Form2 , the form1 should be updated or strting complete new Form1. I do this but there are two tabs of Form1 in TaskBar.one is background display Form1 and another is updated.I want only one …

Member Avatar for finito
0
200
Member Avatar for bchaney

I am currently stuck in one part of my application. I have two combo boxes that i am having the users select from. The first combo box is simply bound to a datatable. that is working properly. The second one i need to populate off another datatable after sorting out …

Member Avatar for Teme64
0
394
Member Avatar for dougancil

I have the following code for part of an application I'm building and I need some instruction on how to store this value and carry it to the next part of the program. [CODE] Private Sub dateEntryTextbox_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles dateEntryTextbox.TextChanged Dim dateEntryTextBox As Date …

Member Avatar for dougancil
0
87
Member Avatar for dougancil

Is there a way to customformat DateTimePicker to only allow users to select M-F? Thank you Doug

Member Avatar for dougancil
0
81
Member Avatar for vodkasoda

I have found a tutorial that will teach me how to set up my first Database, but the first thing it tells me to do is right-click on the Data Connections Icon within Database Explorer and choose "Create New SQL Server Database" ... unfortunately, this option is greyed out, so …

Member Avatar for Dmlang1985
0
82
Member Avatar for rayda

hi there. i m trying to write codes for new user to fill in the form, then the new data will into my database,however, my codes doesnt work, i cant figure out what's wrong with my codes. below are my codes: [CODE]Imports System.Data.OleDb Public Class NewUser Inherits System.Web.UI.Page Protected Sub …

Member Avatar for rayda
0
141
Member Avatar for ernnymags

i am working on standalone application to send and receive sms, but wan to create my own sms gateway. anyone who can help!. I am using VB.NET

Member Avatar for Oxiegen
0
66
Member Avatar for Maya Pawar

Can we stop the SelectedIndexChanged Event of combobox at runtime? bcoz when i go to last record my sencond combo is refreshed & It will show 1st Item. but i want to see related item with 1st combo.In the database records are stored with related item.but on frontend.......This is my …

Member Avatar for tungnk1993
0
75

The End.