Click here to Skip to main content
15,893,588 members
Home / Discussions / Database
   

Database

 
NewsSQL Server 2008 virtual training available for ITPros and developers during January Pin
brucedkyle20-Dec-07 13:59
brucedkyle20-Dec-07 13:59 
QuestionCollation Issue When Using PRINT Pin
Tee12320-Dec-07 7:31
Tee12320-Dec-07 7:31 
QuestionParameters to a SQL View? Pin
keniagm20-Dec-07 7:23
keniagm20-Dec-07 7:23 
GeneralRe: Parameters to a SQL View? Pin
pmarfleet20-Dec-07 9:18
pmarfleet20-Dec-07 9:18 
GeneralSQL Query Pin
sandhya1420-Dec-07 1:04
sandhya1420-Dec-07 1:04 
GeneralRe: SQL Query Pin
Ujjaval Modi20-Dec-07 2:00
Ujjaval Modi20-Dec-07 2:00 
GeneralRe: SQL Query Pin
sandhya1423-Dec-07 19:30
sandhya1423-Dec-07 19:30 
GeneralRe: SQL Query Pin
sandhya1423-Dec-07 19:41
sandhya1423-Dec-07 19:41 
Hi,
that is working when am calling directly in the code....but here i need ta call that as storedprocedure....so i have created that as stored procedure to fill a dropdown...

my doubt is how to pass this 'flaged' as parameter...(second parameter)

here is my code:-

Sub FillRID()
Try
Initialize("StoredProcedure", "SelectRequestID1new")

_cmd.Parameters.Add(New SqlParameter("@ApprovedStatus", "NotApproved"))

_cmd.Parameters.Add(New SqlParameter("@Flaged", ""))

_dr = _cmd.ExecuteReader()
DropDownRID.DataSource = _dr
DropDownRID.DataTextField = "ID"
DropDownRID.DataValueField = "ID"
DropDownRID.DataBind()
DropDownRID.Items.Insert(0, "Select RequestID")
DropDownRID.SelectedIndex = 0
Catch ex As Exception

End Try
End Sub
GeneralRe: SQL Query Pin
sandhya1423-Dec-07 22:25
sandhya1423-Dec-07 22:25 
Generalinsert query Pin
niki_nilu20-Dec-07 0:08
niki_nilu20-Dec-07 0:08 
GeneralRe: insert query Pin
niki_nilu20-Dec-07 1:46
niki_nilu20-Dec-07 1:46 
General## Temp tables Pin
Bino B19-Dec-07 23:21
Bino B19-Dec-07 23:21 
GeneralRe: ## Temp tables Pin
Pete O'Hanlon19-Dec-07 23:31
mvePete O'Hanlon19-Dec-07 23:31 
GeneralMSSQL: Finding out column names for a table Pin
ruanr19-Dec-07 22:02
ruanr19-Dec-07 22:02 
Generalsolved Pin
ruanr19-Dec-07 22:04
ruanr19-Dec-07 22:04 
QuestionHow to manage SQL Log in SQL 2000 Pin
Sasmi_Office19-Dec-07 21:50
Sasmi_Office19-Dec-07 21:50 
QuestionDisplay Data Month Wise Pin
deepaks319-Dec-07 21:18
deepaks319-Dec-07 21:18 
GeneralRe: Display Data Month Wise Pin
ChandraRam19-Dec-07 22:29
ChandraRam19-Dec-07 22:29 
GeneralRe: Display Data Month Wise Pin
deepaks319-Dec-07 22:34
deepaks319-Dec-07 22:34 
GeneralRe: Display Data Month Wise Pin
ChandraRam19-Dec-07 22:36
ChandraRam19-Dec-07 22:36 
GeneralRe: Display Data Month Wise Pin
deepaks319-Dec-07 22:43
deepaks319-Dec-07 22:43 
QuestionDetection of database Pin
tom groezer19-Dec-07 20:26
tom groezer19-Dec-07 20:26 
GeneralRe: Detection of database Pin
Paul Conrad6-Jan-08 10:04
professionalPaul Conrad6-Jan-08 10:04 
Questiondatabase table datatype Pin
avvaru.murali19-Dec-07 19:48
avvaru.murali19-Dec-07 19:48 
GeneralRe: database table datatype Pin
Pete O'Hanlon19-Dec-07 23:25
mvePete O'Hanlon19-Dec-07 23:25 

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.