Click here to Skip to main content
15,889,595 members
Home / Discussions / Database
   

Database

 
QuestionReturning a DataSet from a Stored Procedure within a S.P. Pin
dwatkins@dirq.net7-Mar-07 9:44
dwatkins@dirq.net7-Mar-07 9:44 
AnswerRe: Returning a Resultset from a Stored Procedure within a S.P. Pin
andyharman7-Mar-07 22:36
professionalandyharman7-Mar-07 22:36 
Questionhow split function work in sql [modified] Pin
findtango7-Mar-07 5:06
findtango7-Mar-07 5:06 
AnswerRe: how split function work in sql Pin
Mark J. Miller7-Mar-07 5:29
Mark J. Miller7-Mar-07 5:29 
QuestionHow to insert data from Dataset to Data tables in SQL Pin
Nagaraj.k7-Mar-07 2:35
Nagaraj.k7-Mar-07 2:35 
AnswerRe: How to insert data from Dataset to Data tables in SQL Pin
Marek Grzenkowicz7-Mar-07 4:11
Marek Grzenkowicz7-Mar-07 4:11 
QuestionRe: How to insert data from Dataset to Data tables in SQL Pin
Nagaraj.k7-Mar-07 20:23
Nagaraj.k7-Mar-07 20:23 
AnswerRe: How to insert data from Dataset to Data tables in SQL Pin
Marek Grzenkowicz7-Mar-07 21:26
Marek Grzenkowicz7-Mar-07 21:26 
Try this snippet and let me know if it worked for you.

SqlConnection c = new SqlConnection(@"Data Source=(local)\SQL2005;Initial Catalog=TEST_DB;Integrated Security=True");<br />
SqlDataAdapter da = new SqlDataAdapter("select * from customer where customer_id = 1", c);<br />
SqlCommandBuilder cb = new SqlCommandBuilder(da);<br />
DataTable dt = new DataTable();<br />
<br />
// getting data<br />
da.Fill(dt);<br />
// changing data<br />
dt.Rows[0]["NAME"] = dt.Rows[0]["NAME"].ToString() + "1";<br />
// putting changed data back to the database<br />
da.Update(dt);

AnswerRe: How to insert data from Dataset to Data tables in SQL Pin
praveen_gattu20007-Mar-07 21:28
praveen_gattu20007-Mar-07 21:28 
QuestionHow to get primarykey and foreign key info of a given table Pin
NK77-Mar-07 0:55
NK77-Mar-07 0:55 
AnswerRe: How to get primarykey and foreign key info of a given table Pin
kubben7-Mar-07 2:32
kubben7-Mar-07 2:32 
GeneralRe: How to get primarykey and foreign key info of a given table Pin
NK77-Mar-07 18:14
NK77-Mar-07 18:14 
GeneralRe: How to get primarykey and foreign key info of a given table Pin
kubben8-Mar-07 2:48
kubben8-Mar-07 2:48 
GeneralRe: How to get primarykey and foreign key info of a given table Pin
NK712-Mar-07 2:07
NK712-Mar-07 2:07 
QuestionQuerry to get all the tables in Access Database Pin
blackjack21506-Mar-07 22:55
blackjack21506-Mar-07 22:55 
AnswerRe: Querry to get all the tables in Access Database Pin
Mark J. Miller7-Mar-07 5:34
Mark J. Miller7-Mar-07 5:34 
QuestionValidating a textbox field Pin
Member 37415626-Mar-07 22:20
Member 37415626-Mar-07 22:20 
AnswerRe: Validating a textbox field Pin
Colin Angus Mackay6-Mar-07 22:32
Colin Angus Mackay6-Mar-07 22:32 
Questionhow to make select query to access view in other server Pin
mohd imran abdul aziz6-Mar-07 20:43
mohd imran abdul aziz6-Mar-07 20:43 
AnswerRe: how to make select query to access view in other server Pin
M A A Mehedi Hasan6-Mar-07 21:19
M A A Mehedi Hasan6-Mar-07 21:19 
GeneralRe: how to make select query to access view in other server Pin
mohd imran abdul aziz6-Mar-07 22:43
mohd imran abdul aziz6-Mar-07 22:43 
AnswerRe: how to make select query to access view in other server Pin
Hesham Amin6-Mar-07 23:57
Hesham Amin6-Mar-07 23:57 
QuestionNumeric Issue Pin
Darkness846-Mar-07 19:13
Darkness846-Mar-07 19:13 
AnswerRe: Numeric Issue Pin
Colin Angus Mackay6-Mar-07 21:34
Colin Angus Mackay6-Mar-07 21:34 
GeneralRe: Numeric Issue Pin
Darkness847-Mar-07 1:58
Darkness847-Mar-07 1:58 

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.