Click here to Skip to main content
15,914,165 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionproviding the final link in PROJECT NAME ??? [modified] Pin
Karan_TN13-Aug-08 1:20
Karan_TN13-Aug-08 1:20 
AnswerRe: providing the final link in PROJECT NAME ??? Pin
Anand Desai13-Aug-08 1:41
Anand Desai13-Aug-08 1:41 
GeneralRe: providing the final link in PROJECT NAME ??? Pin
Karan_TN13-Aug-08 2:06
Karan_TN13-Aug-08 2:06 
GeneralRe: providing the final link in PROJECT NAME ??? Pin
Manas Bhardwaj13-Aug-08 2:13
professionalManas Bhardwaj13-Aug-08 2:13 
GeneralRe: providing the final link in PROJECT NAME ??? Pin
Karan_TN13-Aug-08 2:19
Karan_TN13-Aug-08 2:19 
GeneralRe: providing the final link in PROJECT NAME ??? Pin
eyeseetee13-Aug-08 2:28
eyeseetee13-Aug-08 2:28 
Questionhow to add new rows at runtime in grid view control Pin
Member 465900113-Aug-08 0:57
Member 465900113-Aug-08 0:57 
AnswerRe: how to add new rows at runtime in grid view control Pin
Jörgen Andersson13-Aug-08 1:32
professionalJörgen Andersson13-Aug-08 1:32 
This is one way. This example adds an empty row in the gridview

Private Sub GridView1_PreRender(ByVal sender As Object, ByVal e As System.EventArgs) Handles GridView1.PreRender
        Dim GV As GridView = CType(sender, GridView)
        Dim Tbl As Table = CType(GV.Controls(0), Table)
        Tbl.Controls.AddAt(index, AddEmptyRow)
End Sub

Function AddEmptyRow() As GridViewRow
        Dim GVR As GridViewRow = New GridViewRow(0, 0, DataControlRowType.EmptyDataRow, DataControlRowState.Normal)
        Dim cell As TableCell = New TableCell
        cell.ColumnSpan = ColumnCount
        cell.Text = " "
        GVR.Cells.Add(cell)
        Return GVR
End Function

GeneralRe: how to add new rows at runtime in grid view control (thanks for guiding me (i still have prob Pin
Member 465900113-Aug-08 2:09
Member 465900113-Aug-08 2:09 
GeneralRe: how to add new rows at runtime in grid view control (thanks for guiding me (i still have prob Pin
Jörgen Andersson13-Aug-08 2:13
professionalJörgen Andersson13-Aug-08 2:13 
GeneralYours given code worked correctly(thanks a lot) Pin
Member 465900113-Aug-08 2:13
Member 465900113-Aug-08 2:13 
GeneralSir this code only help you in adding one row but when u want to add more row how to deal with Pin
Member 465900113-Aug-08 3:28
Member 465900113-Aug-08 3:28 
GeneralRe: Sir this code only help you in adding one row but when u want to add more row how to deal with Pin
Jörgen Andersson13-Aug-08 3:34
professionalJörgen Andersson13-Aug-08 3:34 
GeneralRe: Sir this code only help you in adding one row but when u want to add more row how to deal with Pin
Member 465900113-Aug-08 3:46
Member 465900113-Aug-08 3:46 
GeneralRe: Sir this code only help you in adding one row but when u want to add more row how to deal with Pin
Jörgen Andersson13-Aug-08 3:53
professionalJörgen Andersson13-Aug-08 3:53 
GeneralRe: Sir this code only help you in adding one row but when u want to add more row how to deal with Pin
Member 465900113-Aug-08 4:00
Member 465900113-Aug-08 4:00 
GeneralRe: Sir this code only help you in adding one row but when u want to add more row how to deal with Pin
Jörgen Andersson13-Aug-08 4:07
professionalJörgen Andersson13-Aug-08 4:07 
GeneralRe: Sir this code only help you in adding one row but when u want to add more row how to deal with Pin
Member 465900113-Aug-08 4:20
Member 465900113-Aug-08 4:20 
GeneralRe: Sir this code only help you in adding one row but when u want to add more row how to deal with Pin
Jörgen Andersson13-Aug-08 4:58
professionalJörgen Andersson13-Aug-08 4:58 
GeneralRe: Sir this code only help you in adding one row but when u want to add more row how to deal with Pin
Jörgen Andersson13-Aug-08 4:11
professionalJörgen Andersson13-Aug-08 4:11 
GeneralRe: Sir this code only help you in adding one row but when u want to add more row how to deal with Pin
Member 465900113-Aug-08 4:47
Member 465900113-Aug-08 4:47 
QuestionNUnit Test Case Issue Pin
Member 451421813-Aug-08 0:38
Member 451421813-Aug-08 0:38 
AnswerRe: NUnit Test Case Issue Pin
Anand Desai13-Aug-08 0:57
Anand Desai13-Aug-08 0:57 
GeneralRe: NUnit Test Case Issue Pin
Member 451421813-Aug-08 1:06
Member 451421813-Aug-08 1:06 
GeneralRe: NUnit Test Case Issue Pin
Anand Desai13-Aug-08 1:10
Anand Desai13-Aug-08 1:10 

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.