No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Sub filllist() strsql = "select * from tabletest" ListView1.Items.Clear() sqlcmd.CommandText = strsql sqlcmd.Connection = sqlconn sqldr = sqlcmd.ExecuteReader() [B] sqlda.SelectCommand = sqlcmd -- the error is pointing here and it say NullReferenceException was handled then Object reference not set to an instance of an object. How do i solve this? … |
|
Hi, Reverentjim kindly gave me this code the other day that worked well. There are two more things i am trying to do but cant get my head around it. 1) I want to be able to extract the text after the second \ and before the period e.g. profile … |
|
Hi, My application is in VS2008 coded in Vb.net I have a datagridView on one of my form.This is filled from the database at the load event of the form.The datagridView also has a column of type DatagridViewComboboxcolumn. This DatagridViewComboboxcolumn already has 4 values added to it in its collection … |
|
Hi, My application is in VS2008 coded in Vb.net. I have a datagridView which is getting populated from the Database.I has RegNo,RollNo,Name etc fields.The data in the Name column of database is coming from 3 columns of a certain table from database. This is how im concatinating it and displaying … |
|
Hi I have used the following code to populate a DataGrid based on the contents of a textbox. the users searches for a name which is populated into a combobox based on the name in the combobox several textboxes are populated with data based on the data in one of … |
|
Hi how would I go about creating a payment schedule based on a date and a number of months 3 or 6 or 12 to then populate the database with reoccurring dates so lets say new user added on 31/10/2011 for 6 months I need the database to add all … |
|
can any one help me about this error [CODE]Private Sub BtnSave_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnSave.Click If Objconnection.State = ConnectionState.Closed Then Try Catch ex As Exception End Try Objconnection.Open()---->>> The ConnectionString property has not been initialized. End If Objcmmand = New SqlCommand(" Insert into cases_of_accidents ( … |