Click here to Skip to main content
13,148,427 members (68,747 online)
Rate this:
Please Sign up or sign in to vote.
I am working on an Invoice Application, I have placed Data Grid in my Invoice Form to insert information about Particulars, Quantity etc....

I want make my data grid in a such a way that it should only accept the data form the user and save it to the database, and does not show any earliest feed data.

If I can't use the Data Grid for this Achievement, so please help to know the control which I can use to get the data from the user other than TextBox.
Posted 11-May-12 5:05am
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

If I understood corectly, you just want user to enter new data, and you don't want to show previously entered data?

In that case you probably want FormView control.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

for not filling a datagrid automatically u just have to delete this

private void Form1_Load(object sender, EventArgs e)
  this >>>>--     this.datoTableAdapter.Fill(this.DataSet.Datos_de_estudiantes);

by this ur datagrid will just accepting data not showing

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.170924.2 | Last Updated 14 May 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100