1
Answer

Draw into other windows

myersger

myersger

20y
2.7k
1
hi, i want to draw into other windows (with help of gdi+ or mdx). i managed to draw into other winforms but my goal is to draw into a window that belongs to a game (dx). how can i draw into the game's window (without flickering)? or is there any possibility that i lay a drawing over the game's window? thx
Answers (1)
0
Ankit Sharma

Ankit Sharma

NA 8.8k 141k 7y
Hi kalyan
 
Please refer to this link
 
https://stackoverflow.com/questions/15129665/how-to-get-the-count-of-records-in-the-datasource-of-the-gridview 
Accepted
0
Gautam Parmar

Gautam Parmar

NA 872 2.2k 7y
Hi Kalyan,
 You may try below code whether it is paging or not once row will bind it will count...
  1. int totalRow= 0;      
  2. protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)      
  3. {      
  4.     if (e.Row.RowType == DataControlRowType.DataRow)      
  5.     {      
  6.         totalRow+=1;  
  7.     }      
  8.       
  9. }