Forum: VB.NET Oct 29th, 2009 |
| Replies: 1 Views: 419 ive also set double buffer to true but to no avail...
plz help |
Forum: VB.NET Oct 26th, 2009 |
| Replies: 1 Views: 419 hello every1,
my project is on the verge of completion and a large part of the credit goes to daniweb.
now m stuck with a very annoying problm. ive googled the whole day but to no avail.
m using... |
Forum: VB.NET Oct 19th, 2009 |
| Replies: 5 Views: 346 which database are you using and which version of visual studio are you using.
this shud get u strted...
go to the properties of the label..,..
go to databindings...
advanced option...
in the... |
Forum: VB.NET Oct 19th, 2009 |
| Replies: 1 Views: 428 how to assign the date and time to the status strip..
it shud automatically update the date and time.
also i want to display the name of the form in the status strip.
how can this be done.
m... |
Forum: VB.NET Oct 15th, 2009 |
| Replies: 28 Views: 1,176 i think there are extra inverted commas at the end of the update statement |
Forum: VB.NET Oct 15th, 2009 |
| Replies: 1 Views: 400 hello every1,
am unable to edit data in a data table and save it to the data base.
this is my code
this is to fill the data table
m_ContentsDataAdapter = New OleDb.OleDbDataAdapter("Select... |
Forum: VB.NET Oct 14th, 2009 |
| Replies: 7 Views: 364 no it is not being automatically incremented. i am aware of tht option but cannot use it since at a later stage i have to manually assign tht value.
moreover the porblem seems to be only at the id... |
Forum: VB.NET Oct 13th, 2009 |
| Replies: 0 Views: 298 hie m looking to edit certain data on the form.
data on the form is divided into two sections A and B.
when i right click on A and select edit i shud get the option to edit A and similarly for B.... |
Forum: VB.NET Oct 13th, 2009 |
| Replies: 7 Views: 364 |
Forum: VB.NET Oct 13th, 2009 |
| Replies: 7 Views: 364 If Me.txtCompany.Text.Trim = "" Or Me.txtTelephone.Text.Trim = "" Or Me.txtEmail.Text.Trim = "" Or Me.txtAddress1.Text.Trim = "" Then
MessageBox.Show("Please enter all informaiton",... |
Forum: VB.NET Oct 12th, 2009 |
| Replies: 7 Views: 364 hie,
m using visual studio 2005 and access 07.
this is my code. ive also attached an access 07 file and this is the exact data tht my actual database has..plz help
Dim DataAdapter As New... |
Forum: VB.NET Sep 30th, 2009 |
| Replies: 18 Views: 615 yes my table has a primary key.
if u want the exact exception that is occuring this is it
System.Data.OleDb.OleDbException was unhandled
ErrorCode=-2147217900
Message="Syntax error in... |
Forum: VB.NET Sep 30th, 2009 |
| Replies: 18 Views: 615 |
Forum: VB.NET Sep 30th, 2009 |
| Replies: 3 Views: 291 subquery is not the only way.
u can simply create another query and fetch the data from the other table.
alternatively u can also use data tables... |
Forum: VB.NET Sep 30th, 2009 |
| Replies: 18 Views: 615 i am aware of the insert query. but i wanted to add data using command builder. |
Forum: VB.NET Sep 30th, 2009 |
| Replies: 4 Views: 389 i agree with tomw.
m sorry i forgot to add the parameter part mentioned by tomw. |
Forum: VB.NET Sep 28th, 2009 |
| Replies: 4 Views: 389 u can make the connection object as module level variable.
moreover u dont need to create a string and then attach it to the connection object
for eg.
dim conn as new sqlconnection("Data... |
Forum: VB.NET Sep 27th, 2009 |
| Replies: 18 Views: 615 this is the code
m_DataAdapter = New OleDb.OleDbDataAdapter("Select * from [Base Colours]", oledbcon)
m_DataAdapter.Fill(m_DataTable)
m_CommandBuilder = New... |
Forum: VB.NET Sep 26th, 2009 |
| Replies: 18 Views: 615 the data adapter handles my update insert and delete query... |
Forum: VB.NET Sep 26th, 2009 |
| Replies: 18 Views: 615 price is declared as text in the database. |
Forum: VB.NET Sep 25th, 2009 |
| Replies: 18 Views: 615 select * from accesstable |
Forum: VB.NET Sep 25th, 2009 |
| Replies: 18 Views: 615 m using access 2007 and vb 2005
this is my code
Dim drNewRow As DataRow = m_DataTable.NewRow()
drNewRow("Code") = txtColourCode.Text.Trim
drNewRow("Colour Name") =... |
Forum: VB.NET Sep 25th, 2009 |
| Replies: 4 Views: 203 why dont u try and use data reader |
Forum: VB.NET Sep 25th, 2009 |
| Replies: 4 Views: 203 wht is search. if its just a variable then it can store only one value.
try using data reader or array. |
Forum: VB.NET Sep 24th, 2009 |
| Replies: 12 Views: 772 thnx a ton tht worked fine..... |
Forum: VB.NET Sep 24th, 2009 |
| Replies: 4 Views: 551 what r u trying to do..?
do u want the user to enter only numeric values? |
Forum: VB.NET Sep 24th, 2009 |
| Replies: 12 Views: 772 the error that i get is
"syntax error in update statement"
with the title..."oledb exception was unhandled"
i am using access 2007 and visual studio 2005
sorry for late reply... |
Forum: VB.NET Sep 20th, 2009 |
| Replies: 12 Views: 772 this is my code
If Me.txtOldPassword.Text = pwd Then
Dim oledbcom1 As New OleDb.OleDbCommand
oledbcom1.CommandText = "Update login Set password = ?"
... |
Forum: VB.NET Sep 20th, 2009 |
| Replies: 7 Views: 618 first u have to think of a way to determine whether data is saved or not.
thn this factor can be used as a condition to determine if u want to run the above code or not.
Private Sub... |
Forum: VB.NET Sep 20th, 2009 |
| Replies: 9 Views: 685 hie
how can i restrict the user to enter only numbers in a textbox |
Forum: VB.NET Sep 13th, 2009 |
| Replies: 2 Views: 563 my previous code is working fine. i had made a few mistakes.
dataGridView1.Rows.Add()
dataGridView1.Item(0, dataGridView1.Rows.Count - 1).Value = cboColourCode.SelectedItem.ToString... |
Forum: VB.NET Sep 12th, 2009 |
| Replies: 2 Views: 563 this is my code
dataGridView1.Rows.Add()
dataGridView1.Item(0, dataGridView1.Rows.Count - 1).Value = cboColourCode.SelectedText.ToString
dataGridView1.Item(0,... |
Forum: VB.NET Sep 6th, 2009 |
| Replies: 8 Views: 508 hie
if the user, after working with the form wishes to reset it, how can it be done.
will me.refresh() help.
wht is it used for? |
Forum: VB.NET Sep 6th, 2009 |
| Replies: 6 Views: 415 r u using windows authentication login |
Forum: VB.NET Sep 6th, 2009 |
| Replies: 4 Views: 341 on button click event
me.close()
frmnewform.show() |
Forum: VB.NET Aug 16th, 2009 |
| Replies: 3 Views: 405 you want me to add unbounded columns to the datatable? |
Forum: VB.NET Aug 16th, 2009 |
| Replies: 3 Views: 405 hie
i have 3 columns in the data table.
id, name, telno.
i want to display only specific names and telno. depending on the charactes the users inputs in the text box.
this part has been taken... |
Forum: VB.NET Aug 16th, 2009 |
| Replies: 2 Views: 421 your question must be a little more specific.
newways
hope u hav created a database.
when the user enters the text match it with the contents of the database and if a possible match is found... |
Forum: VB.NET Aug 14th, 2009 |
| Replies: 3 Views: 273 got it
the error was something entirely different
thnx for ur help |
Forum: VB.NET Aug 14th, 2009 |
| Replies: 3 Views: 273 datatable is module level
and i have inserted data during the load event using data adapter which is also module level |