C# Code
===========
DataRow dr=yourDataSet.Tables[0].Rows[0];
yourLabel.Text=dr["ColumnName"].ToString();
"TV Karthick
Kumar" To: [EMAIL PROTECTED]
<[EMAIL PROTECTED] cc:
hoo.com> Subject: [AspNetAnyQuestionIsOk] Re:
Retrieve value in a label
control
09/15/2004
06:48 PM
Please respond
to
AspNetAnyQuest
ionIsOk
Hey, can anybody please help me on this ?
Thanks...
Regards,
Karthick
--- In [EMAIL PROTECTED], "Karthick Kumar"
<[EMAIL PROTECTED]> wrote:
> HI, I have a simple function which gets data value from a table
thru a
> stored procedure in the following code:
>
> dgClients.DataSource =
objSchedule.pds_DispClient(theID)
> dgClients.DataBind()
>
> and wondering how can I get the first column's value in a label
control
> instead of displaying in a DataGrid. dgClients is the name of the
datagrid
> in my case.
>
> Please help. Thanks.
>
> Regards,
> Karthick
>
>
>
> [Non-text portions of this message have been removed]
Yahoo! Groups Links
Disclaimer:
The contents of this e-mail are strictly confidential and may be
privileged. It represents solely the views of the author and is meant only
for the stated recipient/s.
Any unauthorized distribution is strictly prohibited. F J Benjamin Group
or its subsidiaries will not accept responsibility for any damage caused by
this e-mail or
attachment/s (if any), which have been checked for viruses.
Please visit our website http://www.fjbenjamin.com
------------------------ Yahoo! Groups Sponsor --------------------~-->
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/