Click here to Skip to main content
15,920,603 members
Home / Discussions / Database
   

Database

 
GeneralRe: Help me with this Query Pin
Wendelius20-Nov-08 6:11
mentorWendelius20-Nov-08 6:11 
QuestionSelf Referenced Tables. Pin
Xandip18-Nov-08 19:14
Xandip18-Nov-08 19:14 
Answer[Message Deleted] Pin
Parwej Ahamad18-Nov-08 22:04
professionalParwej Ahamad18-Nov-08 22:04 
QuestionRe: Self Referenced Tables. Pin
Xandip18-Nov-08 22:18
Xandip18-Nov-08 22:18 
AnswerRe: Self Referenced Tables. Pin
Krishnraj18-Nov-08 23:12
Krishnraj18-Nov-08 23:12 
GeneralRe: Self Referenced Tables. Pin
Xandip19-Nov-08 0:58
Xandip19-Nov-08 0:58 
GeneralRe: Self Referenced Tables. Pin
Krishnraj19-Nov-08 2:41
Krishnraj19-Nov-08 2:41 
QuestionProblem with bind data in textbox Pin
Ahmed R El Bohoty18-Nov-08 17:15
Ahmed R El Bohoty18-Nov-08 17:15 
hi,
i note that when i retrieve data and bind it to textbox that when i want to bind to each textbox i do the same thing , so i think to make method where i pass array of the name of textbox and it will bind automatic for each textbox and here is what i try to do

//Step 1 :
           SqlCommand cmd = new SqlCommand();
           cmd.CommandText = "student_SelectAll";
           cmd.CommandType = CommandType.StoredProcedure;
           cmd.Connection = cn;
           SqlDataAdapter adapter = new SqlDataAdapter();
           adapter.SelectCommand = cmd;

           //Step 2 :
           TextBox [] txtb={textBox1,textBox2,textBox3,textBox4,textBox5,textBox6,textBox7,textBox8};

           //Step 3:
           IDataParameter[] param = adapter.GetFillParameters();
           for (int i = 0; i <param.length;>            {
               cmd.Parameters.Add(param[i].ParameterName,param[i].DbType).Value = txtb[i].Text;
           }


Discover Other ....
http://www.islamHouse.com

AnswerRe: Problem with bind data in textbox Pin
Vimalsoft(Pty) Ltd18-Nov-08 19:44
professionalVimalsoft(Pty) Ltd18-Nov-08 19:44 
GeneralRe: Problem with bind data in textbox Pin
Ahmed R El Bohoty18-Nov-08 20:42
Ahmed R El Bohoty18-Nov-08 20:42 
GeneralRe: Problem with bind data in textbox Pin
Vimalsoft(Pty) Ltd18-Nov-08 21:16
professionalVimalsoft(Pty) Ltd18-Nov-08 21:16 
Questioncursor in stored procedure in oracle [modified] Pin
jhyn18-Nov-08 0:08
jhyn18-Nov-08 0:08 
AnswerRe: cursor in stored procedure in oracle Pin
Ennis Ray Lynch, Jr.18-Nov-08 4:13
Ennis Ray Lynch, Jr.18-Nov-08 4:13 
AnswerRe: cursor in stored procedure in oracle Pin
Wendelius18-Nov-08 4:44
mentorWendelius18-Nov-08 4:44 
Questionhi friends how to install SQL express in silent mode with parameters Pin
Denver Thomas17-Nov-08 20:16
Denver Thomas17-Nov-08 20:16 
AnswerRe: hi friends how to install SQL express in silent mode with parameters Pin
Wendelius18-Nov-08 4:37
mentorWendelius18-Nov-08 4:37 
QuestionExplanation for the Query PLZZZZZ Pin
harsha_mec34517-Nov-08 18:39
harsha_mec34517-Nov-08 18:39 
AnswerRe: Explanation for the Query PLZZZZZ Pin
Muhammad Shahid Farooq17-Nov-08 19:15
professionalMuhammad Shahid Farooq17-Nov-08 19:15 
GeneralRe: Explanation for the Query PLZZZZZ Pin
harsha_mec34517-Nov-08 19:34
harsha_mec34517-Nov-08 19:34 
GeneralRe: Explanation for the Query PLZZZZZ Pin
Muhammad Shahid Farooq17-Nov-08 19:50
professionalMuhammad Shahid Farooq17-Nov-08 19:50 
QuestionTrigger a SQL Script to Run Based on a Column in Flat File Source In SSIS Pin
rangermutt17-Nov-08 9:47
rangermutt17-Nov-08 9:47 
AnswerRe: Trigger a SQL Script to Run Based on a Column in Flat File Source In SSIS Pin
Muhammad Shahid Farooq17-Nov-08 19:41
professionalMuhammad Shahid Farooq17-Nov-08 19:41 
QuestionHandling a SELECT in a stored procedure Pin
stormydaniels17-Nov-08 5:54
stormydaniels17-Nov-08 5:54 
AnswerRe: Handling a SELECT in a stored procedure Pin
Wendelius17-Nov-08 7:02
mentorWendelius17-Nov-08 7:02 
GeneralRe: Handling a SELECT in a stored procedure Pin
stormydaniels17-Nov-08 8:54
stormydaniels17-Nov-08 8:54 

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.