Click here to Skip to main content
16,005,473 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionadding a record to database Pin
bambo123414-Apr-06 20:52
bambo123414-Apr-06 20:52 
AnswerRe: adding a record to database Pin
Mike Ellison15-Apr-06 3:05
Mike Ellison15-Apr-06 3:05 
Questionpass argument to web class Pin
2hdass14-Apr-06 18:57
2hdass14-Apr-06 18:57 
AnswerRe: pass argument to web class Pin
Mike Ellison15-Apr-06 2:51
Mike Ellison15-Apr-06 2:51 
QuestionCreating Reports Dynamically Pin
kc_tri14-Apr-06 11:25
kc_tri14-Apr-06 11:25 
AnswerRe: Creating Reports Dynamically Pin
jitendra gupta14-Apr-06 17:38
jitendra gupta14-Apr-06 17:38 
QuestionHow do i empty my DataSet? Pin
munklefish14-Apr-06 9:21
munklefish14-Apr-06 9:21 
AnswerRe: How do i empty my DataSet? Pin
Jakob Farian Krarup14-Apr-06 10:55
Jakob Farian Krarup14-Apr-06 10:55 
Hi Munklefish Smile | :)

We're gonna have to see some code to determine where it goes wrong.
It sounds more like the data is being added to the lists on top of what is already there.. but as I said - post some code and we'll catch that bug Smile | :)

The code you're looking for to empty a datatable is:
dtMyDataTable.Clear();

More specifically - let's see where you
- fill the datasets/datatables
- add data to the lists

Kind regards - Jakob Cool | :cool:
*********************************************
Three kinds of people in the world:
- Those who can count..
- Those who can't!

10 kinds of people in the world:
- Those who understand binary
- Those who don't

-- modified at 16:56 Friday 14th April, 2006
GeneralRe: How do i empty my DataSet? Pin
munklefish14-Apr-06 11:01
munklefish14-Apr-06 11:01 
GeneralRe: How do i empty my DataSet? Pin
Jakob Farian Krarup14-Apr-06 22:10
Jakob Farian Krarup14-Apr-06 22:10 
GeneralRe: How do i empty my DataSet? Pin
munklefish14-Apr-06 23:45
munklefish14-Apr-06 23:45 
GeneralRe: How do i empty my DataSet? Pin
Jakob Farian Krarup15-Apr-06 11:00
Jakob Farian Krarup15-Apr-06 11:00 
GeneralRe: How do i empty my DataSet? Pin
munklefish16-Apr-06 2:25
munklefish16-Apr-06 2:25 
GeneralRe: How do i empty my DataSet? Pin
Jakob Farian Krarup16-Apr-06 9:18
Jakob Farian Krarup16-Apr-06 9:18 
GeneralRe: How do i empty my DataSet? Pin
munklefish16-Apr-06 9:24
munklefish16-Apr-06 9:24 
GeneralRe: How do i empty my DataSet? Pin
Jakob Farian Krarup16-Apr-06 9:27
Jakob Farian Krarup16-Apr-06 9:27 
GeneralRe: How do i empty my DataSet? Pin
munklefish15-Apr-06 0:10
munklefish15-Apr-06 0:10 
GeneralRe: How do i empty my DataSet? Pin
Jakob Farian Krarup15-Apr-06 10:58
Jakob Farian Krarup15-Apr-06 10:58 
QuestionWeb Reference Error??? Pin
JimFeng14-Apr-06 8:53
JimFeng14-Apr-06 8:53 
QuestionProblems losing the state with SQL Session State in a Web Farm Pin
Albert Pascual14-Apr-06 7:26
sitebuilderAlbert Pascual14-Apr-06 7:26 
AnswerRe: Problems losing the state with SQL Session State in a Web Farm Pin
Mike Ellison14-Apr-06 10:47
Mike Ellison14-Apr-06 10:47 
GeneralRe: Problems losing the state with SQL Session State in a Web Farm Pin
Albert Pascual14-Apr-06 11:01
sitebuilderAlbert Pascual14-Apr-06 11:01 
Questionhow to display Windows form in ASP.NET 2.0 Pin
wasif_Muhammad14-Apr-06 7:18
wasif_Muhammad14-Apr-06 7:18 
AnswerRe: how to display Windows form in ASP.NET 2.0 Pin
Mike Ellison14-Apr-06 10:45
Mike Ellison14-Apr-06 10:45 
QuestionAutoPostBack on a Gridview Pin
Jason K14-Apr-06 6:58
Jason K14-Apr-06 6:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.