Click here to Skip to main content
16,020,973 members
Home / Discussions / Database
   

Database

 
AnswerRe: query Pin
Goutam Patra23-Jul-10 22:57
professionalGoutam Patra23-Jul-10 22:57 
AnswerRe: query Pin
Mycroft Holmes23-Jul-10 23:05
professionalMycroft Holmes23-Jul-10 23:05 
QuestionMessage Removed Pin
23-Jul-10 21:06
prachidalwadi23-Jul-10 21:06 
AnswerRe: How to optimize the query with more than one left outer join Pin
CitrusTech23-Jul-10 21:14
CitrusTech23-Jul-10 21:14 
Questionsql problem Pin
bapu288923-Jul-10 20:40
bapu288923-Jul-10 20:40 
AnswerRe: sql problem Pin
Goutam Patra23-Jul-10 21:31
professionalGoutam Patra23-Jul-10 21:31 
QuestionRe: sql problem Pin
bapu288923-Jul-10 23:33
bapu288923-Jul-10 23:33 
AnswerRe: sql problem Pin
Goutam Patra23-Jul-10 23:56
professionalGoutam Patra23-Jul-10 23:56 
Not this way.

First Execute
Comm = New SqlClient.SqlCommand("InsertNewPlot", LetsGo.AndGetConnection)
Comm.CommandType = CommandType.StoredProcedure


Comm.Parameters.Add("@Village", SqlDbType.NVarChar).Value = ComboBox1.SelectedItem.ToString
Comm.Parameters.Add("@District", SqlDbType.NVarChar).Value = ComboBox2.SelectedItem.ToString

to Insert Plot where InsertNewPlot is the first SP to insert plot
then something like this
Dim iPlotID as integer
For I As Integer = 0 To AddName.Count
 Comm = New SqlClient.SqlCommand("InsertNewCustomerDetails", LetsGo.AndGetConnection)
 Comm.CommandType = CommandType.StoredProcedure
 Comm.Parameters.Add("@FirstName", SqlDbType.NVarChar).Value = AddName(I)
 Comm.Parameters.Add("@PlotId", SqlDbType.NVarChar).Value = iPlotID
 Dim da As SqlDataAdapter = New SqlDataAdapter(Comm)
 da.Fill(ds)
 iPlotID = ds.Tables(0).Rows(0)("PLOTID")
Next

QuestionReverse of * Pin
Ray Cassick23-Jul-10 7:18
Ray Cassick23-Jul-10 7:18 
AnswerRe: Reverse of * Pin
Yusuf23-Jul-10 8:54
Yusuf23-Jul-10 8:54 
GeneralRe: Reverse of * Pin
Ray Cassick23-Jul-10 10:08
Ray Cassick23-Jul-10 10:08 
GeneralRe: Reverse of * Pin
Mycroft Holmes23-Jul-10 13:37
professionalMycroft Holmes23-Jul-10 13:37 
GeneralRe: Reverse of * Pin
Ray Cassick23-Jul-10 13:57
Ray Cassick23-Jul-10 13:57 
AnswerRe: Reverse of * Pin
Eddy Vluggen23-Jul-10 9:17
professionalEddy Vluggen23-Jul-10 9:17 
GeneralRe: Reverse of * Pin
Ray Cassick23-Jul-10 10:11
Ray Cassick23-Jul-10 10:11 
AnswerRe: Reverse of * Pin
Mycroft Holmes23-Jul-10 13:41
professionalMycroft Holmes23-Jul-10 13:41 
QuestionCannot test the registered server in SQL Server 2008, neither start, pause or stop Pin
Kujtim Hyseni23-Jul-10 6:01
Kujtim Hyseni23-Jul-10 6:01 
Questionproblem getting data in a group Pin
Dhyanga23-Jul-10 2:54
Dhyanga23-Jul-10 2:54 
AnswerRe: problem getting data in a group Pin
Corporal Agarn23-Jul-10 5:47
professionalCorporal Agarn23-Jul-10 5:47 
AnswerRe: problem getting data in a group Pin
Mycroft Holmes23-Jul-10 13:45
professionalMycroft Holmes23-Jul-10 13:45 
AnswerRe: problem getting data in a group Pin
CitrusTech23-Jul-10 21:11
CitrusTech23-Jul-10 21:11 
QuestionTable Optimization Problem - SQL Server Pin
Jacobus0123-Jul-10 2:36
Jacobus0123-Jul-10 2:36 
AnswerRe: Table Optimization Problem - SQL Server Pin
Eddy Vluggen23-Jul-10 5:06
professionalEddy Vluggen23-Jul-10 5:06 
AnswerRe: Table Optimization Problem - SQL Server Pin
Mycroft Holmes23-Jul-10 14:00
professionalMycroft Holmes23-Jul-10 14:00 
Questionprimary key Pin
Neha_Gupta23-Jul-10 2:28
Neha_Gupta23-Jul-10 2:28 

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.