Click here to Skip to main content
15,909,373 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Merging two GridView Rows Pin
BasharatAli29-Jul-07 19:10
BasharatAli29-Jul-07 19:10 
GeneralRe: Merging two GridView Rows Pin
varshavmane29-Jul-07 19:16
varshavmane29-Jul-07 19:16 
AnswerRe: Merging two GridView Rows Pin
BasharatAli29-Jul-07 19:43
BasharatAli29-Jul-07 19:43 
AnswerRe: Merging two GridView Rows Pin
BasharatAli29-Jul-07 19:52
BasharatAli29-Jul-07 19:52 
GeneralRe: Merging two GridView Rows Pin
varshavmane29-Jul-07 20:22
varshavmane29-Jul-07 20:22 
GeneralRe: Merging two GridView Rows Pin
BasharatAli29-Jul-07 20:24
BasharatAli29-Jul-07 20:24 
GeneralRe: Merging two GridView Rows Pin
varshavmane29-Jul-07 20:33
varshavmane29-Jul-07 20:33 
AnswerRe: Merging two GridView Rows Pin
BasharatAli29-Jul-07 21:57
BasharatAli29-Jul-07 21:57 
u r getting records in some table before displaying them in gridview
if u have same structure of your tables Search, Import....

then

let suppose if u have records in SearchDataTable wich u r binding with GridViewSearch and now u want to display ur ImportDataTable records in same SearchGridVeiw then u have todo somthing like this


SearchDataTable (with 5 rows)
ImportDataTable (with 2 rows)

'Creat a new DataTable and DataRow

Dim Dt As Data.DataTable
Dim dr As Data.DataRow


dt = SearchDataTable

For index As Integer = 1 To ImportDataTable.Rows.Count - 1
dr = dt.NewRow
dr.Item("Column Name 1") = ImportDataTable.Rows(index)("Column Name 1")
dr.Item("Column Name 2") = ImportDataTable.Rows(index)("Column Name 2")
dr.Item.....
dt.Rows.Add(dr)

Next

SearchGridVeiw.DataSourceID=""
SearchGridVeiw.DataSource = dt
SearchGridVeiw.DataBind()





BasharatAli

Internee
METESYS Lahore
Pakistan

QuestionRe: Merging two GridView Rows Pin
T.EDY29-Jul-07 20:24
T.EDY29-Jul-07 20:24 
Questionjava to visual basic Pin
duo!@#29-Jul-07 17:41
duo!@#29-Jul-07 17:41 
AnswerRe: java to visual basic Pin
Christian Graus29-Jul-07 19:25
protectorChristian Graus29-Jul-07 19:25 
GeneralRe: java to visual basic Pin
duo!@#29-Jul-07 20:10
duo!@#29-Jul-07 20:10 
AnswerRe: java to visual basic Pin
Paul Conrad29-Jul-07 19:43
professionalPaul Conrad29-Jul-07 19:43 
GeneralRe: java to visual basic Pin
duo!@#29-Jul-07 20:11
duo!@#29-Jul-07 20:11 
GeneralRe: java to visual basic Pin
Paul Conrad29-Jul-07 20:17
professionalPaul Conrad29-Jul-07 20:17 
AnswerRe: java to visual basic Pin
Dave Doknjas30-Jul-07 13:47
Dave Doknjas30-Jul-07 13:47 
QuestionHow to write this in C# Pin
hurrem29-Jul-07 16:36
hurrem29-Jul-07 16:36 
AnswerRe: How to write this in C# Pin
enjoycrack29-Jul-07 17:03
enjoycrack29-Jul-07 17:03 
GeneralRe: How to write this in C# Pin
hurrem29-Jul-07 17:11
hurrem29-Jul-07 17:11 
QuestionFindControle Pin
Assaf8229-Jul-07 11:36
Assaf8229-Jul-07 11:36 
AnswerRe: FindControle Pin
Christian Graus29-Jul-07 11:45
protectorChristian Graus29-Jul-07 11:45 
QuestionRe: FindControle Pin
Assaf8229-Jul-07 12:00
Assaf8229-Jul-07 12:00 
AnswerRe: FindControle Pin
Christian Graus29-Jul-07 12:29
protectorChristian Graus29-Jul-07 12:29 
AnswerRe: FindControle Pin
enjoycrack29-Jul-07 17:05
enjoycrack29-Jul-07 17:05 
Questionhow can I accessing controls from another page? Pin
kimo code29-Jul-07 10:49
kimo code29-Jul-07 10:49 

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.