Hi,
I have a stored procedure which accepts a text datatype as a parameter..
I need to call this stored procedure from within another stored procedure..
How do I pass a text datatype as parameter?
Regards,
Rajesh Pillai
Try this one...
I have got the code somewhere from planet-source-code.com..
May this helps you.
1) Add a Datagrid to the form. Name it DataGrid1
2) Paste the code below as it is.
Public Class Form1
Inherits System.Windows.Forms.Form
#Region " Windows Form Designer generated code...
Dear Jahangir,
Try the following link..
http://www.iiitb.ac.in/Documents/Visual%20Basic/Using%20Visual%20Basic%206.0/ch31.htm
Hope this helps U.
And look into MSDN. Its a treasure house of information.
Rajesh
Dear Matthew Hankins
Set the timer interval say 5 seconds(5000)
Timer1.Interval = 5000
You can set this in design time.
'In the following event unload the form
Private Sub Timer1_Timer()
Unload Me
End Sub
Rajesh
' Put the above code in a module
Private Declare Function FindWindow _
Lib "user32" Alias "FindWindowA" _
(ByVal lpClassName As String, _
ByVal lpWindowName As String) _
As Long
Private Declare Function SendMessage _
Lib "user32"...
Dear donishere
Please remove the space between Else IF.
If (strSearchType = "name") Then
Response.Write "name"
ElseIf (strSearchType = "stateprov") Then
Response.Write "stateprov"
End If
This might solve the problem.
Regards,
Rajesh
Dear Jahangir,
I'll try illustrate what you require with MSFLex Grid control.
'Simply pass this function the flexgrid object and the sql statement
'and it will do the rest.
'
'This could be customised as per your needs
'Parameter :
' objGrid : The flexgrid object
' sSQL : The sql...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.