Click here to Skip to main content
16,005,222 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionown email sending Pin
razikang4-Nov-08 10:21
razikang4-Nov-08 10:21 
AnswerCP Ignore - spamming the site Pin
Dave Kreskowiak4-Nov-08 10:37
mveDave Kreskowiak4-Nov-08 10:37 
AnswerREPORTED AS ABUSE Pin
leckey4-Nov-08 14:28
leckey4-Nov-08 14:28 
QuestionGeneral Question About Popup Pin
Davidv1234-Nov-08 6:48
Davidv1234-Nov-08 6:48 
QuestionExtraction of datas Pin
John.L.Ponratnam4-Nov-08 4:30
John.L.Ponratnam4-Nov-08 4:30 
AnswerRe: Extraction of datas Pin
Prasanna Kumar Pete4-Nov-08 16:18
Prasanna Kumar Pete4-Nov-08 16:18 
GeneralRe: Extraction of datas Pin
John.L.Ponratnam9-Nov-08 17:20
John.L.Ponratnam9-Nov-08 17:20 
QuestionHow to add New Row to a datagrid ? [modified] Pin
Prasadsm4-Nov-08 2:35
Prasadsm4-Nov-08 2:35 
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:02 AM

QuestionHelp needs in Logging In Pin
Senthil S4-Nov-08 1:53
Senthil S4-Nov-08 1:53 
AnswerRe: Help needs in Logging In Pin
cyber-drugs4-Nov-08 2:14
cyber-drugs4-Nov-08 2:14 
GeneralRe: Help needs in Logging In Pin
Senthil S4-Nov-08 2:19
Senthil S4-Nov-08 2:19 
AnswerRe: Help needs in Logging In Pin
saanj4-Nov-08 6:03
saanj4-Nov-08 6:03 
AnswerRe: Help needs in Logging In Pin
D4ever6-Nov-08 8:17
D4ever6-Nov-08 8:17 
QuestionUsers Bypass the Login Screen Pin
Vimalsoft(Pty) Ltd4-Nov-08 1:26
professionalVimalsoft(Pty) Ltd4-Nov-08 1:26 
AnswerRe: Users Bypass the Login Screen Pin
Brij4-Nov-08 2:47
mentorBrij4-Nov-08 2:47 
GeneralRe: Users Bypass the Login Screen Pin
Vimalsoft(Pty) Ltd4-Nov-08 2:54
professionalVimalsoft(Pty) Ltd4-Nov-08 2:54 
AnswerRe: Users Bypass the Login Screen Pin
Brij4-Nov-08 3:02
mentorBrij4-Nov-08 3:02 
GeneralRe: Users Bypass the Login Screen Pin
Vimalsoft(Pty) Ltd5-Nov-08 0:43
professionalVimalsoft(Pty) Ltd5-Nov-08 0:43 
QuestionSql Database Pin
shanthi jothi4-Nov-08 0:37
shanthi jothi4-Nov-08 0:37 
AnswerRe: Sql Database Pin
Vimalsoft(Pty) Ltd4-Nov-08 0:55
professionalVimalsoft(Pty) Ltd4-Nov-08 0:55 
AnswerRe: Sql Database Pin
J a a n s4-Nov-08 1:12
professionalJ a a n s4-Nov-08 1:12 
GeneralRe: Sql Database Pin
shanthi jothi4-Nov-08 1:38
shanthi jothi4-Nov-08 1:38 
AnswerRe: Sql Database Pin
Ashfield4-Nov-08 1:30
Ashfield4-Nov-08 1:30 
QuestionTextBox ID Problem Pin
raghvendrapanda4-Nov-08 0:23
raghvendrapanda4-Nov-08 0:23 
AnswerRe: TextBox ID Problem Pin
Ashfield4-Nov-08 0:26
Ashfield4-Nov-08 0:26 

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.