Click here to Skip to main content
15,887,435 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I hope to one day be a software developer, but right now I am new in my job. I don't understand how to use the data grid view in asp.net, despite all of the information that's available on the web, and the many examples on the MSDN site and here on code project.

Please reply

I can create a data grid view with select, edit and delete operation.
I am not working with grid view.
So, you tell me, how to crate this operation and how to bind data grid view. i hope you can understand my question.

Please reply.
Posted
Updated 18-Nov-16 14:20pm
v5

I kind of sounds like you are trying to use a DataGridView object on an ASP.Net webpage. I don't believe that is possible. I believe that on the web you will have to use the GridView object instead. The web and a PC project work very very differently and the grid objects between the two are very different as well.

Here is a CP article[^] that looks like a good walk-through.

I know it gets frustrating looking for articles and help online, but don't give up on that. No one is going to have the exact bit of code that you are looking for because everyone uses different combinations of technologies. Usually it results in having to research several different technologies and finding your own way to put them together. So you'll probably have to research the GridView object, then research binding to your specific database, and then research editing and updating. Breaking down your research may be helpful.

Hope this helps. Good luck.
 
Share this answer
 
wrote:
i am software developer.


I am sorry, that doesn't seem likely.

wrote:
i am fresher in this job.


You're being paid to write ASP.NET code, but you don't know how to use basic controls ? Wow.

wrote:
so, you must be reply me.


I realise that you said this b/c English is not your first language, but it does come off as rude. No-one MUST help you, we help you for free.

wrote:
i confused the how to use data grid view in asp.net


What is confusing you ? Data bound controls are very easy to use, if you add one to a page and bind it to a valid data source, it will generally auto generate a basic view. If you're working in ASP.NET, you should both have a few years real experience to start with, and own some books you can refer to. There's also the web. What have you tried, what experience do you have that qualifies you to take a paid job writing code, and what specific question do you have, based on your attempts to be an actual developer ( not someone who has no idea and asks us to do their job ), your attempts to write the code you need ( again as opposed to asking us to write it for you ) and your attempts to do basic research ( instead of being too lazy to search the web and instead asking us to do your job for you ).

The tag system is there for a reason. If you're using ASP.NET, you should tag the post as such. You should also tag it with what language you're using. Surely that's self explanatory ?
 
Share this answer
 
Comments
Cristina Carrasco Angulo 18-Nov-16 20:15pm    
Hey!!!, what's wrong with starting a new job? Don't be so rude.
No one knows everything.
If you're mad about this kind of questions don't answer.
And obviously English isn't the first language of everyone.

¿Tú hablas muy bonito el español?

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