My Opera is closing 3rd of March

In my Thoughts

"Dream is Not that What you see in Sleep. Dream is the thing Which Does Not Allow You to Sleep."

Bind GridView With Data and Serial Number as First Column

Bind Serial Number as First Column to GridView


Please refer

http://balavardhanreddy.over-blog.com/article-28737414.html

Message Box for ASP.NetDANGEROUS DRUGS

Comments

Trần Mạnh Nhấtnhattm Tuesday, February 19, 2008 10:31:57 AM

thank Balu,
this you code solve my problem

BaluBalu.narani Tuesday, February 19, 2008 11:23:28 AM

smile

Unregistered user Wednesday, September 24, 2008 12:11:58 PM

K C Yadav writes: hi

Unregistered user Monday, February 16, 2009 5:52:49 AM

Selvam writes: Hi.., I'm getting the error "Object reference not set to an instance of an object" at assigning the value to label's text (lblref.Text = _counter.ToString() + 1;) Could you please help me to get this done.

BaluBalu.narani Tuesday, February 17, 2009 6:58:30 AM

I think your Error like..

lblref.Text = _counter.ToString() + 1;

you must assign string value to Lable, but in your code _counter.ToString() is string but "1" is not string.. that is numeric value, it not possible to add string and numeric.

If you have any problem give me your mail id I will help through the chat.

Have a nice day.

Unregistered user Thursday, April 23, 2009 7:45:28 AM

sonal writes: i have some difficulities with grid view as below i want to show data from database with serial no within gridview control the data will be only of today's date i mean current date so pls hel me thanks

Unregistered user Thursday, April 23, 2009 7:49:35 AM

sonal writes: i am doing proj in asp.net3.5 i want perticular data with automatic generate serialno with in grid view and data will show only which are of curetn date or only Todays Example Today i have enter 10 patient in database than only 10 patient show within gridview with serial no 1,2 ,10 and tommorow if i added 5 new patient than gridview shows only 5 data which will added with serial no 1,2, ,5 so how can i do it pls help me

Write a comment

New comments have been disabled for this post.