Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hello Experts,

I feel little weird posting this question. However I want to clear my mind.
I am looking for something which is very similar to ASP:Gridview in HTML. In which I should Bound rows, delete rows and also edit rows. I searched google, and I see Table. I cannot use table for the requirement as above because of too many lines of code.

I know this question may be downvoted. I am here to learn something not to gain points.
Can anyone tell me what can I use in HTML for above requirements like in ASP:Gridview. My Gridview should be dynamic row generator in HTML.
Appreciate your help.
Posted
Comments
Sergey Alexandrovich Kryukov 31-Mar-15 10:56am    
Yes, it's table...
I just wonder, why not ASP.NET? (and why would you tag VB.NET then?)
—SA
sudevsu 31-Mar-15 11:02am    
Thank SA. I was in a misconception about HTML. I am creating a webforms in VS2013. And I thought I cannot use any ASP controls. My mistake read somewhere something crappie. So I can use ASP controls in an HTML page for a web application in VS2013.
Sergey Alexandrovich Kryukov 31-Mar-15 11:19am    
I think you are not using ASP, but ASP.NET. It's a common mistake to think that ASP.NET is ASP. It is not. Only the names have something in common; ASP.NET have majorly replaced ASP, but was not derived from ASP.
—SA
sudevsu 31-Mar-15 11:36am    
Yeah correct.

1 solution

You can use HTML in combination with JavaScript. Actually, you cannot resolve it without JavaScript. And you have to seize being afraid of "too many line of code". Rather, you need to organize the code properly, use regular approach, plan ahead your steps, and so on.

To make it easier, you can use jQuery. Please see, in particular:
http://api.jquery.com/category/manipulation,
http://api.jquery.com/category/manipulation/dom-insertion-around/,
http://api.jquery.com/category/manipulation/dom-insertion-inside/,
http://api.jquery.com/category/manipulation/dom-insertion-outside/,
http://api.jquery.com/category/manipulation/dom-removal/,
http://api.jquery.com/category/manipulation/dom-replacement/.

If you need to learn jQuery (highly recommended), please see:
http://en.wikipedia.org/wiki/JQuery,
http://jquery.com,
http://learn.jquery.com,
http://learn.jquery.com/using-jquery-core,
http://learn.jquery.com/about-jquery/how-jquery-works (start from here).

—SA
 
Share this answer
 
Comments
sudevsu 31-Mar-15 11:02am    
Thanks for the API links.
Sergey Alexandrovich Kryukov 31-Mar-15 11:17am    
You are welcome. Will you accept the answer formally?
—SA
sudevsu 31-Mar-15 11:23am    
Ofcourse. I will. I was waiting for comment above for the question you asked "why not ASP.NET?". Also I hope you can explain me about one more doubt. In VS2013, I added a dll. I build the solution. I don't see that in my web.config. My Dll is MysqlConnection 6.9 version MySQL.Data.dll. Because of this I cannot actually do any code. It doesn't recognize that there is a Dll.
Sergey Alexandrovich Kryukov 31-Mar-15 11:39am    
Basically, it's here.
—SA
sudevsu 31-Mar-15 11:57am    
Earlier I used to wait to here comments/thoughts/advices from you. Infact I don't how much you remember that I asked you about if there is chat window in this site, that would help in knowing the solution much better. Then you said "there is no such thing in this site but you can always to go my website". These days, I just don't like the sarcasm and rudeness. This is all because, may be I didn't tell you clear what's wrong with dll thing. or You are just busy and having a rough day. I did google and didn't find solution. Thanks though

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900