Click here to Skip to main content
15,896,349 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Asp.net Scheduler Pin
psamy30-Jun-06 1:49
psamy30-Jun-06 1:49 
AnswerRe: Asp.net Scheduler Pin
Paddy Boyd30-Jun-06 2:52
Paddy Boyd30-Jun-06 2:52 
Questionhi Pin
Amit Agarrwal30-Jun-06 1:02
Amit Agarrwal30-Jun-06 1:02 
AnswerRe: hi Pin
PlayByTheRules30-Jun-06 1:05
PlayByTheRules30-Jun-06 1:05 
Generalproblem regarding Imageswapping Pin
Amit Agarrwal30-Jun-06 1:11
Amit Agarrwal30-Jun-06 1:11 
QuestionDatagrid item count while paging........ Pin
Nagraj Naik30-Jun-06 0:50
Nagraj Naik30-Jun-06 0:50 
AnswerRe: Datagrid item count while paging........ Pin
Amit Agarrwal30-Jun-06 1:07
Amit Agarrwal30-Jun-06 1:07 
AnswerRe: Datagrid item count while paging........ Pin
Tirthadip30-Jun-06 1:11
Tirthadip30-Jun-06 1:11 
Hi ,
I cant actually understand your problem. You are binding your grid with some table data through dataset.Then you can easily count your total no. of records by a single query or one line of code.

if you are using dataset then put----
DataTable dt=(DataTable) ds.Table[0];// ds is the DataSet name<br />
int count;<br />
count=dt.Rows.Count();

Alternatively you can use SQL query or stored procedure for counting total records.
Even if you add or delete records from datagrid then update the dataset.
Why are you using datagrid1.items.count ?

May be I cant understand your problem. If I am wrong then write without hesitation.

Tirthadip

Live life to the fullest
GeneralRe: Datagrid item count while paging........ Pin
Nagraj Naik30-Jun-06 1:40
Nagraj Naik30-Jun-06 1:40 
AnswerRe: Datagrid item count while paging........ Pin
DIMPLE_R30-Jun-06 2:08
DIMPLE_R30-Jun-06 2:08 
AnswerThanks for help..... Pin
Nagraj Naik30-Jun-06 3:06
Nagraj Naik30-Jun-06 3:06 
QuestionNew Web 2.0 Site using .Net Pin
sbjc2330-Jun-06 0:28
sbjc2330-Jun-06 0:28 
QuestionMSWord HTTP Handler. Pin
deepaks329-Jun-06 23:49
deepaks329-Jun-06 23:49 
AnswerRe: MSWord HTTP Handler. Pin
Tirthadip30-Jun-06 1:34
Tirthadip30-Jun-06 1:34 
QuestionImage Control. and Event Handler. Pin
deepaks329-Jun-06 23:39
deepaks329-Jun-06 23:39 
QuestionASP.NET 2.0 DropDownList problem Pin
martin_hughes29-Jun-06 22:57
martin_hughes29-Jun-06 22:57 
AnswerRe: ASP.NET 2.0 DropDownList problem Pin
DIMPLE_R29-Jun-06 23:12
DIMPLE_R29-Jun-06 23:12 
AnswerRe: ASP.NET 2.0 DropDownList problem Pin
minhpc_bk29-Jun-06 23:33
minhpc_bk29-Jun-06 23:33 
AnswerRe: ASP.NET 2.0 DropDownList problem Pin
Amit Agarrwal29-Jun-06 23:42
Amit Agarrwal29-Jun-06 23:42 
Questionserver error Pin
nishak29-Jun-06 21:44
nishak29-Jun-06 21:44 
AnswerRe: server error Pin
l0kke30-Jun-06 5:26
l0kke30-Jun-06 5:26 
Questionproblem with connecting to Payment Gateway Pin
Jeeva Mary Varghese29-Jun-06 21:34
Jeeva Mary Varghese29-Jun-06 21:34 
AnswerRe: problem with connecting to Payment Gateway Pin
Amit Agarrwal29-Jun-06 21:44
Amit Agarrwal29-Jun-06 21:44 
AnswerRe: problem with connecting to Payment Gateway Pin
Paddy Boyd29-Jun-06 23:20
Paddy Boyd29-Jun-06 23:20 
GeneralRe: problem with connecting to Payment Gateway Pin
Jeeva Mary Varghese30-Jun-06 1:43
Jeeva Mary Varghese30-Jun-06 1:43 

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.