Click here to Skip to main content
15,922,007 members
Home / Discussions / C#
   

C#

 
GeneralRe: RichTextBox not display the right string? Pin
Snowjim22-Apr-05 4:00
Snowjim22-Apr-05 4:00 
GeneralRe: RichTextBox not display the right string? Pin
Snowjim22-Apr-05 4:11
Snowjim22-Apr-05 4:11 
AnswerRe: RichTextBox not display the right string? Pin
leppie22-Apr-05 6:42
leppie22-Apr-05 6:42 
GeneralReg Ex Pin
mvermef21-Apr-05 13:00
mvermef21-Apr-05 13:00 
GeneralRe: Reg Ex Pin
leppie21-Apr-05 19:46
leppie21-Apr-05 19:46 
GeneralPopulating an XSD Dataset Pin
SignMan35921-Apr-05 11:10
SignMan35921-Apr-05 11:10 
GeneralRe: Populating an XSD Dataset Pin
Carl Mercier21-Apr-05 15:21
Carl Mercier21-Apr-05 15:21 
GeneralRe: Populating an XSD Dataset Pin
Hrashita Triapthi21-Apr-05 21:23
Hrashita Triapthi21-Apr-05 21:23 
first drag n drop sqldataadpter component on ur form
then one wizard will be shown
click on the next option then it will ask for the server name
give . for local host
if u r using sql server authentication select that radio button
else
select windows authentication
if u select sql server then give user name and password
u acan leave password blank by checking allow blank password
after that u give the database name u want to use
and click on test connection
if it give one message window with "TEST SUCCEED" then click
ok
and
next
there it will show u one query6 builder button click on it
it will give u a list of ur tables in the database
select tables from the list and add
after rhat click next
and then click on finish

it will automatically create a sql connection for u

then right click on sqldataadapter pasted on ur form
one menu will be shown to u
choose generate dataset
use typed dataset
and click ok

after that drag n drop one datagrid on ur form

write the following code in the page load event

sqlDdataAadapter.Fill(dataset name);
DataGrid1.Databind();

set properties OF
DATA GRID
DATASOURCE NAME
DATATEXT FIELD



TRY IT IT WILL SURELY WORK

BEST OF LUCK

TripathiH
GeneralHelp Plz in that e-mail client Pin
SherKar21-Apr-05 9:26
SherKar21-Apr-05 9:26 
GeneralRe: Help Plz in that e-mail client Pin
John Fisher22-Apr-05 7:45
John Fisher22-Apr-05 7:45 
Questionbyte[] ? Pin
Snowjim21-Apr-05 9:02
Snowjim21-Apr-05 9:02 
AnswerRe: byte[] ? Pin
Dave Kreskowiak21-Apr-05 10:13
mveDave Kreskowiak21-Apr-05 10:13 
GeneralRe: byte[] ? Pin
Snowjim21-Apr-05 11:25
Snowjim21-Apr-05 11:25 
Generalstarting and stopping processes Pin
Mridang Agarwalla21-Apr-05 7:29
Mridang Agarwalla21-Apr-05 7:29 
GeneralRe: starting and stopping processes Pin
Dave Kreskowiak21-Apr-05 10:06
mveDave Kreskowiak21-Apr-05 10:06 
GeneralRe: starting and stopping processes Pin
Polis Pilavas22-Apr-05 10:13
Polis Pilavas22-Apr-05 10:13 
Generaldetecting net connection Pin
Mridang Agarwalla21-Apr-05 7:18
Mridang Agarwalla21-Apr-05 7:18 
GeneralRe: detecting net connection Pin
Dave Kreskowiak21-Apr-05 10:02
mveDave Kreskowiak21-Apr-05 10:02 
GeneralRe: detecting net connection Pin
Mridang Agarwalla21-Apr-05 18:13
Mridang Agarwalla21-Apr-05 18:13 
GeneralRe: detecting net connection Pin
tawammar22-Apr-05 0:27
tawammar22-Apr-05 0:27 
GeneralRe: detecting net connection Pin
Polis Pilavas22-Apr-05 10:26
Polis Pilavas22-Apr-05 10:26 
GeneralRe: detecting net connection Pin
tawammar23-Apr-05 2:27
tawammar23-Apr-05 2:27 
GeneralRe: detecting net connection Pin
tawammar23-Apr-05 6:09
tawammar23-Apr-05 6:09 
GeneralRe: detecting net connection Pin
Polis Pilavas23-Apr-05 8:22
Polis Pilavas23-Apr-05 8:22 
GeneralRe: detecting net connection Pin
tawammar23-Apr-05 10:16
tawammar23-Apr-05 10:16 

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.