173 Posted Topics

Member Avatar for chanthung

huummm your code is write but there is only two three mistakes. Try this one for searching purpose. [CODE] Private Sub Find_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load ''open the connection dim str as String dim ds as Dataset Dim da as SqlDataAdapter str="Select * from [Application] …

Member Avatar for finito
0
127
Member Avatar for Smith5646

if you want the child form in your Mdi Parent form then try this code . it will not come out of that mdi parent form.you have to just set the Mdi parent for your child form. let X be the Mdi Parent and Y,Z be the Chile then [CODE] …

Member Avatar for Smith5646
0
684
Member Avatar for pritesh2010

Many of the student don't know how to find connection string, if they find then there will be some mistake. it's a simple idea to find connection string try it. and vote for it how to find connection string of any database or any server like, access or sql or …

Member Avatar for etftw
0
1K
Member Avatar for dre-logics

first globally create one data adapter that is [CODE] dim myadapter1 as DataAdapter ''and whenever you want to use write in procedure myAdpter1=new DataAdapter ''after your code for first DataGridView ''at the end of 1 DataGridView write myAdpter1.Close myAdpter1=nothing ''then further write myAdpter1=new DataAdapter '' end so on. [/CODE]

Member Avatar for dre-logics
0
215
Member Avatar for mtusk

hummm for valdation of datetimepicker write code on the dtppicker of change event for eg. it sholud be today or greater then today dtp.value <= Now.Date \\\dtp is name of control

Member Avatar for kvprajapati
0
1K
Member Avatar for CipherPol9

hey, you had created one inner join from two table it means you had created one view for that. you never insert data in view. so if you want to insert data in that inner join. batter is insert data in that two table. after that you see that view …

Member Avatar for pritesh2010
0
88
Member Avatar for needanswer

in you code there is mistakes quotes so write true code. write your code like this [CODE] sqlsearch = "SELECT * FROM [setting] WHERE [mname] LIKE ' " & TextBox.Text & " ' ;" [/CODE] try this code.

Member Avatar for pritesh2010
0
672
Member Avatar for anilgamare
Member Avatar for pritesh2010
0
92
Member Avatar for digitalsindhx

hii if you want to search date from database then formate the date value [CODE] dim dt as date dt=FormatDatetime(dtp1.Value,ShortDate) [/CODE] try this one

Member Avatar for digitalsindhx
0
370
Member Avatar for rmontgomery

hii rmontgomery write your code with the sql transaction. after deleting the data commit the transaction. then it will remove successfully try this. if thread is sole mark as a solve

Member Avatar for rmontgomery
0
97
Member Avatar for tukky

huunm on the textboxid keydown event or leave event of the that you can check the value given by the user like if in db theres' is 1,5,6,9,8,6 while in any of the one event I'll write the code [CODE] dim str as string,sqlstr as string,ans as boolean con.open() ''write …

Member Avatar for pritesh2010
0
105
Member Avatar for pritesh2010

hello i have big problem on sending Message to mobile. i had created one application where i'm storing the All the information of customer now when they placing order i want to send them message of their bill amount. and bill date. but i'dont no how to send message on …

Member Avatar for kvprajapati
0
107
Member Avatar for hiz460

hii your code is right but what do you want from this. that i can't understand . if you want to use the same code in your two three form then create one class module and pass the vale at their and retrieve by creating a object.

Member Avatar for pritesh2010
0
138
Member Avatar for pritesh2010

hello everyone i had created 5-6 crystal report in my vb.net project with back end sql server 2005 and i had given my path for crystal report. after this i had creted setup and deployed at customer machine but there it dosn't shows any report instead of it gives an …

Member Avatar for kvprajapati
0
182
Member Avatar for BigPandaCake

try this [code] Dim SQLCon As New SqlServerCe.SqlCeConnection Dim SQLCom As New SqlServerCe.SqlCeCommand dim str as string,i as boolean SQLCon = New SqlServerCe.SqlCeConnection("Data Source = BK.sdf") SQLCon.Open() str=""INSERT INTO [Current Rentals](MemberID,DVDID,DaysonRent,DateRented,DueDate,TotalPrice,Overdue,DaysOverdue,OverduePrice) VALUES('" _ & trim(tbmemberId.text) & "','" & Trim(tbDVDID.Text) & "','" & trim(Cint(cbdays.text)) & "'_ & trim(getdate(),Dateadd(days," & trim(Cint(cbdays.text)) & …

Member Avatar for BigPandaCake
0
248
Member Avatar for pritesh2010
Member Avatar for kvprajapati
0
110
Member Avatar for pritesh2010

hello every one i had created one application front end as vb.net and back end is Access 2003. after this i had created a setup of that application. it perfectly work on my computer but when i am installing setup on my friends computer it install and run time it …

Member Avatar for kvprajapati
0
112
Member Avatar for Darshana369

in .Net we have to first Open the file where we have to put our data like [code] Dim FILE_NAME As String = "C:\test2.txt" If System.IO.File.Exists(FILE_NAME) = True Then Dim objWriter As New System.IO.StreamWriter(FILE_NAME) objWriter.Write(TextBox1.Text) objWriter.Close() MsgBox("Text written to file") Else MsgBox("File Does Not Exist") End If [/code] Another one …

Member Avatar for pritesh2010
0
98
Member Avatar for pritesh2010

can anyone tell me how to convert this code to vb.net it's vb6.0 code and gives error in vb.net [CODE] Dim a As Integer Dim b As Boolean Do While Not b And a < cmbcust.ListCount If UCase(Left(cmbcust.List(a), Len(txtname.Text))) = UCase(txtname.Text) Then cmbcust.ListIndex = a b = True End If …

Member Avatar for kvprajapati
0
117
Member Avatar for pritesh2010

hello every one when I'm Updating a table in access it gives syntax error in update statement can any one help how to sole this problem[CODE] vbstr = "UPDATE EmpMaster SET Name= '" & UCase(txtname.Text) & "',Address='" & Trim(UCase(txtadd.Text)) & "',TeleNo='" & txttel.Text & "',MobileNo='" & txtmob.Text & "',E-mail='" & …

Member Avatar for kvprajapati
0
227
Member Avatar for jallan2009

can any one help me for inserting a record in access table me code gives an error of overflw[CODE] dim vbstr as string vbstr = "insert into EmpMaster Values ('" & txteid.Text & "','" & UCase(txtname.Text) & " " _ & "','" & UCase(txtadd.Text) & "','" & txttel.Text & "','" …

Member Avatar for pritesh2010
0
222
Member Avatar for Tushar Dutt

if u want to change your connection string at run time. then create one txt file and put you connection string in that file and use file handling to read the connection from that file keep that variable Global for each connection now when you want to change a computer …

Member Avatar for Oxiegen
0
155
Member Avatar for jallan2010

please help me someone i have two text box in ,my form and i want to retrieve databased on the 3 text box condition. so i'm doing like this code dim con as sqlconnection dim ds as dataset, dim da as sqldataadapter dim cmd as sqlcommand 'on textbox key down …

Member Avatar for pritesh2010
0
148

The End.