Click here to Skip to main content
15,900,110 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Hiding address bar and title bar in IE7.0 - browser security settings Pin
balaji.t5-Nov-08 17:10
balaji.t5-Nov-08 17:10 
Questionatlas:ScriptManager and asp:scriptmanager in same form Pin
shovaly4-Nov-08 21:29
shovaly4-Nov-08 21:29 
AnswerRe: atlas:ScriptManager and asp:scriptmanager in same form Pin
Abhishek Sur4-Nov-08 23:10
professionalAbhishek Sur4-Nov-08 23:10 
GeneralRe: atlas:ScriptManager and asp:scriptmanager in same form Pin
shovaly5-Nov-08 2:12
shovaly5-Nov-08 2:12 
QuestionPrinting report at client side Pin
Sasmi_Office4-Nov-08 21:13
Sasmi_Office4-Nov-08 21:13 
AnswerRe: Printing report at client side Pin
Kannan Ar4-Nov-08 21:36
professionalKannan Ar4-Nov-08 21:36 
QuestionParent Client Id! Pin
blakshmi4-Nov-08 20:52
blakshmi4-Nov-08 20:52 
QuestionHow to add new row in datagrid ? [modified] Pin
Prasadsm4-Nov-08 20:22
Prasadsm4-Nov-08 20:22 
Hi All,

Glance this code..

" Public Sub CreateNewRow()
Dim index As Integer
index = StatusGrid.Items.Count
Dim da As New SqlDataAdapter
conn.Open()

da = New SqlDataAdapter("select * from Status", conn)

'New Row Creation
da.Fill(dt)
dt.Rows.Add(dt.NewRow)
'dt.Rows.InsertAt(dt.NewRow(), index)
StatusGrid.EditItemIndex = index
dt.AcceptChanges()
StatusGrid.DataSource = dt
StatusGrid.DataBind()
conn.Close()

End Sub"

With this code, I got new row in the datagrid.

But the problem Occurs, When the pagesize exceeds.

Here I have given pagesize as 10.

Assume there is 10 rows.Now When AddNewRow button is clicked, I should get new row in next page.(Total 11 rows).10 in first page and the new row in next page.

How can I get this?

Thanks in Advance...

modified on Wednesday, November 5, 2008 4:04 AM

QuestionHow to close the web application Pin
sarang1214-Nov-08 18:45
sarang1214-Nov-08 18:45 
AnswerRe: How to close the web application Pin
Sandeep Akhare4-Nov-08 19:09
Sandeep Akhare4-Nov-08 19:09 
GeneralRe: How to close the web application Pin
sarang1214-Nov-08 19:14
sarang1214-Nov-08 19:14 
General[Message Deleted] Pin
Sandeep Akhare4-Nov-08 19:15
Sandeep Akhare4-Nov-08 19:15 
GeneralRe: How to close the web application Pin
sarang1214-Nov-08 19:21
sarang1214-Nov-08 19:21 
GeneralRe: How to close the web application Pin
Sandeep Akhare4-Nov-08 19:36
Sandeep Akhare4-Nov-08 19:36 
GeneralRe: How to close the web application Pin
sarang1214-Nov-08 19:38
sarang1214-Nov-08 19:38 
AnswerRe: How to close the web application Pin
Tarik Guney4-Nov-08 19:10
Tarik Guney4-Nov-08 19:10 
GeneralRe: How to close the web application Pin
sarang1214-Nov-08 19:12
sarang1214-Nov-08 19:12 
QuestionValidation Expression for this pattern 1000-A1-A Pin
Shaista Shafiq4-Nov-08 18:31
Shaista Shafiq4-Nov-08 18:31 
AnswerRe: Validation Expression for this pattern 1000-A1-A Pin
Kannan Ar4-Nov-08 20:02
professionalKannan Ar4-Nov-08 20:02 
QuestionHow to assign master page through web.config Pin
md_azy4-Nov-08 18:28
md_azy4-Nov-08 18:28 
AnswerRe: How to assign master page through web.config Pin
Tarik Guney4-Nov-08 19:11
Tarik Guney4-Nov-08 19:11 
AnswerRe: How to assign master page through web.config Pin
Kannan Ar4-Nov-08 19:52
professionalKannan Ar4-Nov-08 19:52 
Questionhow to select an item in datalist Pin
sarang1214-Nov-08 16:04
sarang1214-Nov-08 16:04 
AnswerRe: how to select an item in datalist Pin
Prasanna Kumar Pete4-Nov-08 16:22
Prasanna Kumar Pete4-Nov-08 16:22 
GeneralRe: how to select an item in datalist Pin
sarang1214-Nov-08 16:25
sarang1214-Nov-08 16:25 

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.