Click here to Skip to main content
15,914,905 members
Home / Discussions / Database
   

Database

 
AnswerRe: Subquery Pin
Reza Raad23-Jul-06 21:48
Reza Raad23-Jul-06 21:48 
GeneralRe: Subquery Pin
Uma Kameswari23-Jul-06 21:57
Uma Kameswari23-Jul-06 21:57 
AnswerRe: Subquery Pin
Reza Raad23-Jul-06 23:31
Reza Raad23-Jul-06 23:31 
GeneralRe: Subquery Pin
Uma Kameswari24-Jul-06 1:44
Uma Kameswari24-Jul-06 1:44 
QuestionRegarding DataGrid Pin
dayakar_dn23-Jul-06 20:07
dayakar_dn23-Jul-06 20:07 
AnswerRe: Regarding DataGrid Pin
rah_sin24-Jul-06 0:05
professionalrah_sin24-Jul-06 0:05 
QuestionHow do I display in a textbox a relational database field Pin
Glen Harvy23-Jul-06 19:17
Glen Harvy23-Jul-06 19:17 
AnswerRe: How do I display in a textbox a relational database field Pin
ToddHileHoffer24-Jul-06 3:40
ToddHileHoffer24-Jul-06 3:40 
Something like this.
Here is a function that returns a dataTable
public static DataTable GetDataTable(string ProcName, Hashtable Paramters)
{
SqlCommand cmd = new SqlCommand(ProcName);
cmd.CommandType = CommandType.StoredProcedure;
SqlConnection conn = UAIG.SQL.ConnectionManager.GetConnection();
cmd.Connection = conn;
ApplyValues(ref cmd, Paramters);
SqlDataAdapter da = new SqlDataAdapter(cmd);
DataTable dt = new DataTable();
cmd.Connection.Open();
da.Fill(dt);
cmd.Dispose();
return dt;
}

DataRow r = dt.rows[0];
Textbox1.text = r["policy"].ToString();
I'm assuming you can figure out how to get a datatable from this code. Then set the textbox.text property equal to

how vital enterprise application are for proactive organizations leveraging collective synergy to think outside the box and formulate their key objectives into a win-win game plan with a quality-driven approach that focuses on empowering key players to drive-up their core competencies and increase expectations with an all-around initiative to drive up the bottom-line. But of course, that's all a "high level" overview of things
--thedailywtf 3/21/06

GeneralRe: How do I display in a textbox a relational database field Pin
Glen Harvy27-Jul-06 23:53
Glen Harvy27-Jul-06 23:53 
QuestionCursor limitations Pin
cmk23-Jul-06 18:23
cmk23-Jul-06 18:23 
AnswerRe: Cursor limitations Pin
Mike Dimmick24-Jul-06 6:11
Mike Dimmick24-Jul-06 6:11 
GeneralRe: Cursor limitations [modified] Pin
cmk24-Jul-06 12:47
cmk24-Jul-06 12:47 
QuestionADO.NET Question Pin
ghost18123-Jul-06 18:09
ghost18123-Jul-06 18:09 
AnswerRe: ADO.NET Question Pin
Mairaaj Khan23-Jul-06 19:06
professionalMairaaj Khan23-Jul-06 19:06 
AnswerRe: ADO.NET Question Pin
Colin Angus Mackay23-Jul-06 20:02
Colin Angus Mackay23-Jul-06 20:02 
GeneralRe: ADO.NET Question Pin
ghost18124-Jul-06 4:01
ghost18124-Jul-06 4:01 
GeneralRe: ADO.NET Question Pin
S Douglas29-Jul-06 21:16
professionalS Douglas29-Jul-06 21:16 
GeneralRe: ADO.NET Question Pin
Colin Angus Mackay29-Jul-06 22:41
Colin Angus Mackay29-Jul-06 22:41 
QuestionGet Data Vertically From Clone Tables Pin
Heinz_23-Jul-06 17:06
Heinz_23-Jul-06 17:06 
AnswerRe: Get Data Vertically From Clone Tables Pin
Eric Dahlvang24-Jul-06 3:13
Eric Dahlvang24-Jul-06 3:13 
GeneralRe: Get Data Vertically From Clone Tables Pin
Heinz_24-Jul-06 7:36
Heinz_24-Jul-06 7:36 
QuestionSQL - Invalid use of IS operator in query expression Pin
silvioribeiro23-Jul-06 11:44
silvioribeiro23-Jul-06 11:44 
AnswerRe: SQL - Invalid use of IS operator in query expression Pin
Rob Graham23-Jul-06 13:22
Rob Graham23-Jul-06 13:22 
AnswerRe: SQL - Invalid use of IS operator in query expression Pin
Eric Dahlvang24-Jul-06 3:18
Eric Dahlvang24-Jul-06 3:18 
QuestionADO.NET disconnected model doubts Pin
Gilles Plante23-Jul-06 7:37
Gilles Plante23-Jul-06 7:37 

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.