473,387 Members | 1,693 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Erorr Handling in data grid??

hi
how can i handle dataset erros in the datagrid which is bound to a
datatable??
Nov 16 '05 #1
5 1378
Perpolis,

What kind of errors are you talking about? Exceptions, logic errors?

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"perpolis" <re*****@hotmail.com> wrote in message
news:Oy*************@TK2MSFTNGP11.phx.gbl...
hi
how can i handle dataset erros in the datagrid which is bound to a
datatable??

Nov 16 '05 #2
when i bind a dataset to a datagrid and user enter wrong info in datagrid
,the data grid show a message to
the user and wants him to correct it..but i want to override these erros and
show my message to the user.
..
"perpolis" <re*****@hotmail.com> wrote in message
news:Oy*************@TK2MSFTNGP11.phx.gbl...
hi
how can i handle dataset erros in the datagrid which is bound to a
datatable??

Nov 16 '05 #3
when I bind a dataset to a datagrid and user enter wrong info in datagrid
,the data grid show a message to
the user and wants him to correct it..but I want to override these errors
and
show my message to the user. ?/?
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:#E**************@TK2MSFTNGP14.phx.gbl...
Perpolis,

What kind of errors are you talking about? Exceptions, logic errors?

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"perpolis" <re*****@hotmail.com> wrote in message
news:Oy*************@TK2MSFTNGP11.phx.gbl...
hi
how can i handle dataset erros in the datagrid which is bound to a
datatable??


Nov 16 '05 #4
Is this a Web grid or a WinForms grid?

With web forms you can use templated columns and add validation
controls inside the template. There is an example here:
http://msdn.microsoft.com/msdnmag/is...g/default.aspx

For WinForms there are examples here:
http://msdn.microsoft.com/library/de...ridcontrol.asp

--
Scott
http://www.OdeToCode.com/blogs/scott/

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Mon, 1 Nov 2004 20:22:38 +0330, "perpolis" <re*****@hotmail.com>
wrote:
when i bind a dataset to a datagrid and user enter wrong info in datagrid
,the data grid show a message to
the user and wants him to correct it..but i want to override these erros and
show my message to the user.
.
"perpolis" <re*****@hotmail.com> wrote in message
news:Oy*************@TK2MSFTNGP11.phx.gbl...
hi
how can i handle dataset erros in the datagrid which is bound to a
datatable??


Nov 16 '05 #5
no body can solve my problem???
i need it..
"perpolis" <re*****@hotmail.com> wrote in message
news:Oy*************@TK2MSFTNGP11.phx.gbl...
hi
how can i handle dataset erros in the datagrid which is bound to a
datatable??

Nov 16 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Hiusing Ngai | last post by:
Hello, I'm porting some C code to VC++ 7. A line of C code is: int (*v); and the C code allocate memory: v = calloc (width*5, sizeof **v); The VC++ 7 has the following erorr when I compile...
2
by: Jorge Ayala | last post by:
Well I'm trying to catch and act upon a button event that is placed within the item template of a repeater control. Yet the code I'm using isn't working. What I've seen out there to explain how...
0
by: Colin Ramsay | last post by:
Hi all, I don't normally post swathes of code like this but I am truly banging my head off my desk here... I've dynamically created a datagrid within a usercontrol. There are two columns...
2
by: Gopalan | last post by:
Hi I have got a Datagrid populated with a Dataset. The first time the datagrid shows the first page data. When I clicked the Next link to display the next page data it displays the same...
0
by: Devesh | last post by:
Hi, I want to display some parameters & their value in Same data grid as shown Parameter | Value | Parameter | Value |Parameter | Value So please suggest me the way to Split...
3
by: topmind | last post by:
I am generally new to dot.net, coming from "scriptish" web languages such as ColdFusion and Php. I have a few questions if you don't mind. First, how does one go about inserting dynamic SQL...
1
by: TARUN | last post by:
Hello All, I am facing problem regarding Atlas. I have install the AtlasSetup.msi in my .NET framework 2.0, and i open the new Atlas Website...... Let me first explain the my senario, I...
5
by: =?Utf-8?B?TWFyYyBXb29sZnNvbg==?= | last post by:
Hi, I have a strange issue occurring with LinkButtons that are dynamically added to each (data) row of my DataGrid on that grid's ItemDataBound event. Each LinkButton is assigned its own event...
1
by: RAJAKUMARMCA | last post by:
what are the erorr in c how to use 1bit for int data type, so what is its range?
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.