Hi Guys,
Here I attached my sample application,
in this I am able to fetch the whole data from database and shown in datagrid,
But here Suppose if I wanted to display the first row of first column then how we can ............?
Want to display first row first column in datagrid .......
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Kirtan PatelRank #292 · 8.6K reputationPosted Feb 19, 2010, 2:57 AM EST
Enjoy !!
and Please check "Do you like this answer" check box :)
Kirtan PatelRank #292 · 8.6K reputationPosted Feb 19, 2010, 1:52 AM EST
you just need to change your select query ..
like
select top 1 * from tbl1
this will fetch only first row of table. .
if my answer helps you then please check "Do you like this answer" check box :)
Ankit Rathore64 reputationPosted Feb 19, 2010, 2:03 AM EST
U just change the query over there ,
which show the first row simply,
But I don't want do that,
by keeping the same query {Select * from test}
but in datagrid it should display first row first column only.
Please help me
Ankit Rathore64 reputationPosted Feb 21, 2010, 8:18 PM EST
This code is not working man .............