Click here to Skip to main content
15,885,216 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Error Message : "Application has generated an exception that could not be handled." Pin
Nilesh Hapse21-Jan-07 22:19
Nilesh Hapse21-Jan-07 22:19 
QuestionDataGrid Cell Width Pin
Vsree21-Jan-07 18:33
Vsree21-Jan-07 18:33 
QuestionUnable to see changes in datagridview on update Pin
priya_p23321-Jan-07 18:04
priya_p23321-Jan-07 18:04 
QuestionHow to know if other applicatons like Word or Excel is running ?? Pin
kindman_nb21-Jan-07 17:55
kindman_nb21-Jan-07 17:55 
AnswerRe: How to know if other applicatons like Word or Excel is running ?? Pin
shreekar21-Jan-07 18:10
shreekar21-Jan-07 18:10 
Questionhelp me in my Udate Query Pin
priya_p23321-Jan-07 17:45
priya_p23321-Jan-07 17:45 
AnswerRe: help me in my Udate Query Pin
shreekar21-Jan-07 18:15
shreekar21-Jan-07 18:15 
AnswerRe: help me in my Udate Query [modified] Pin
kindman_nb21-Jan-07 18:19
kindman_nb21-Jan-07 18:19 
You can use this sub

Public Sub ExceCommand(ByVal SqlCommand As String)
If conn.State = ConnectionState.Open Then conn.Close()
conn.Open()
Dim Sqlcom As SqlCommand = New SqlCommand(SqlCommand)
Sqlcom.CommandType = CommandType.Text
Sqlcom.Connection = conn
Sqlcom.ExecuteNonQuery()
conn.Close()
End Sub

then you can call your sql statement as :

ExceCommand ("UPDATE cust_mast SET Address=..... where custname=.....")


-- modified at 0:28 Monday 22nd January, 2007

jooooo

GeneralRe: help me in my Udate Query Pin
priya_p23323-Jan-07 18:34
priya_p23323-Jan-07 18:34 
QuestionWebBrowser control help? [modified] Pin
.NetRams21-Jan-07 17:30
.NetRams21-Jan-07 17:30 
AnswerRe: WebBrowser control help? Pin
Christian Graus21-Jan-07 17:51
protectorChristian Graus21-Jan-07 17:51 
AnswerRe: WebBrowser control help? Pin
shreekar21-Jan-07 18:21
shreekar21-Jan-07 18:21 
GeneralRe: WebBrowser control help? Pin
.NetRams21-Jan-07 22:19
.NetRams21-Jan-07 22:19 
GeneralRe: WebBrowser control help? Pin
shreekar21-Jan-07 22:22
shreekar21-Jan-07 22:22 
GeneralRe: WebBrowser control help? Pin
.NetRams21-Jan-07 22:51
.NetRams21-Jan-07 22:51 
GeneralRe: WebBrowser control help? Pin
.NetRams21-Jan-07 23:06
.NetRams21-Jan-07 23:06 
QuestionHow to retrieve my data by using sql server ce? Pin
crazyteh21-Jan-07 13:52
crazyteh21-Jan-07 13:52 
Questionhow to show time and other information in STATUS BAR Pin
Member 370476621-Jan-07 1:33
Member 370476621-Jan-07 1:33 
AnswerRe: how to show time and other information in STATUS BAR Pin
roo42621-Jan-07 2:56
roo42621-Jan-07 2:56 
QuestionDeriving a Tcplistener class Pin
webdevelopper121-Jan-07 0:04
webdevelopper121-Jan-07 0:04 
Questionemail validation Pin
amaneet20-Jan-07 23:52
amaneet20-Jan-07 23:52 
AnswerRe: email validation Pin
Guffa21-Jan-07 0:03
Guffa21-Jan-07 0:03 
GeneralRe: email validation Pin
amaneet21-Jan-07 0:45
amaneet21-Jan-07 0:45 
Questionoutlook in vb.net Pin
amaneet20-Jan-07 23:35
amaneet20-Jan-07 23:35 
AnswerRe: outlook in vb.net Pin
Christian Graus21-Jan-07 0:23
protectorChristian Graus21-Jan-07 0:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.