selicon_valley — 2010-08-12T17:41:26-04:00 — #1
i am developing website which on asp.net n backend is microsoft access
now i have the grid into it with show 3 colums my questions are
if i want to add2 more colums which i want to 5 how do i do
now i want to add records into grid rows and colums rember rows are unlimited i m programmer of vb6 i used to have recordset to map the field how do i add records what technique i used plz write code also n what is datareader etc
so please provide code that grid is on th epage i have to show records into grid where rows are unlimited
chroniclemaster1 — 2010-08-26T17:34:34-04:00 — #2
Given your background in vb6 and access databases, I suspect it would make more sense to use more of your current skillset, then trying to wrap your head around the entire new .NET philosophy. I would set the GridView to AutoGenerateColumns and then construct your DataSet in SQL and / or with data adapter code. Then you can apply your VB knowledge in VB.NET, and once your DataSet (the .NET version of a recordset) can then just be passed to the GridView which will take care of the rest.
system — 2010-08-26T08:03:03-04:00 — #3
dear sir you join table and insert data in grid view
selicon_valley — 2010-08-13T21:56:52-04:00 — #4
nightstalker — 2010-08-13T06:22:48-04:00 — #5
As I said in your other thread, I would suggest using another database for web projects.
Adding columns to a gridview would be done on the design of the page. You can use VS gui tools to help you or you can add columns in the html. You could also set it to auto generate columns.
Then it will show all the columns that is in your data collection.
What language are you looking at writing this in? VB.NET?