i have bound a dataset to a datagrid ... now .. private void monthCalendar1_DateChanged(object sender, DateRangeEventArgs e) { temp = e.Start.Date; DateTime dt; dataGridView1.Update(); foreach (DataGridViewRow dr in dataGridView1.Rows) { dt = System.Convert.ToDateTime(dr.Cells[2].Value); // textBox3.Text = dr.Cells[2].FormattedValue.ToString(); if (dr.Cells[2].Value != null && dt.Date.Month != temp.Month) // dataGridView1.Rows.Remove(dr); DataTable1DataConnector.RemoveCurrent(); } } what im trying to do here is ... i have a monthcalender object on the form .. and when i change the month ..i want to re-populate the datagridview such that it displays only entries of that month ... how do i do this ? here it does del the entries whihc are not of that month .. but doest repopulate again !
Ashwin C
Posts
-
refreshing datagrids -
Sys Monitor graphshow do i plot a graph that looks like the CPU load monitor graph in XP? I just need the formulae or some code that shows how to do it. I have the data available , and I could easily find my way to plot the graph using the graphics libs. I'm guessing , this is going to be using some Gaussian noise formulae. But google didnt give me any affirmitive results. Any ideas ?
-
slideshow app in vb6im trying to make a slideshow kind of app in vb6 thats similar to MS powerpoint. my idea is to use the MDI wizard and make each new child form as a slide. my prob is , how do i access these children when i click on , say, a button called , run slideshow. there must be some array of forms like MDI list where all the forms and their info must be stored right? if i get that , then all i have to do is run a for loop and use form.show() ! any clues??
-
DevDays 2004 : guys in India - take notefirst of all thanks for posting it here Nish , i wouldnt have found it otherwise but damn , im not elligible for any of these Early bird offer Get a special discount of Rs. 1,000/- (33%) for all complete registrations (including payment) before April 17, 2004. Just in time offer Get a special 30% discount Voucher, redeemable at MS Press site Valid for all complete registrations (including payment) before April 24, 20'04. but anyway im going to try to get there by hook or crook, since im from Pune, and such events dont happen nearby. are you sure about the DVD's and TSHIRTS ? id love to get em !
-
data recoveryDoes anyone know of any effective FREE software that rebuilds the MBR for a Win98 disk. I know of Partition Table Doctor. But the demo version does not save the changes. I tried DiskPatch too , again its the Demo version problem ! constant constipation in constantinople
-
This is odd !.NET ent architect 2k2 i tried this out on systems running .NET 1.1 and 1.037, same err on both !
-
This is odd !ok ok chill my app cant be specific for NT(or for that matter any other) , coz its just a normal beginner c# app. i have used simple basic XML functions and general GUI stuff, so its nothing complex. but sorry for not informing you. the err goes like , application has generated an exception that cannot be handled.. pid = 0xc70(3184) tid = 0xc78(3192),
-
This is odd !i want to distribute my C# app to a win98 platform... i installed the framework 1.1 redist on it and ran that app and this is what i get... " ...some exception... cannot be handled.....[some process value]...[some thread value]..." whats the conventional way of compiling an app to distribute? isnt it simply , setting the mode to release instead of debug and then compile?
-
no databaseshmm i was looking at it right now , i think i'll try out this serializer thing. thanks tho !
-
no databasesim new to C# , so im not really sure of my options. i dont want to use databases , but i want something similar. If i use files , then the problem comes when deleting a record. my main aim is that i should be able to retrieve records from a file , make all changes and then dump it into a file. can i use datasets and then dump the final thing into the o/p file ? or are there other options ? like XML , message queues etc ? if so then i'd appreciate if you could guide me !
-
WiFihuh?
-
WiFiAre there any books on WiFi programming in Linux ? Im finding it REAL hard to fathom anything from Jouni Malinen's HostAP driver ! This dude has written code that only he can understand. There's almost no documentation in the c/h files. I know some of you might think im heading towards hell trying to understand a device driver code, but i intend to grasp the concepts of wifi modules and their attachment to the kernel. And for those who know what im talking about , would there be any way to write this kind of code ( HostAP) in .NET for windows ? Thanks
-
would you want this ?(not a programming Q , more like a suggestion thing) In the conventional VoIP scene , theres a VoIP client who wants to talk to another client, which is possible only after the auth. procedure with the VoIP server and so on..( i assume you know the procedure) So my idea is , why not embed one VoIP client app. onto an access point and let it take care of the SIP ( session initiation protocol) etc . That way , all clients in range of the AP and wanting to talk to someone else , will share that VoIP client on the AP. what do you think?
-
commentsCan anyone tell me where I could get the javascript code that adds comments to a weblog ? He who laughs last thinks slowest.
-
Sneak peek at Matrix Revolutions..Smitha Vijayan wrote: You are never given a wish without also being given the power to make it true. You may have to work for it, however. -- Richard Bach hey smitha , isnt that from Richard Bach's novel : A bridge across forever ? ---------------------- He who laughs last thinks slowest.
-
Whatsup?Chris Meech wrote: Just bought it today for my kids. I'm just such a good daddy, ain't I? okay , if you say so :) ---------------------- He who laughs last thinks slowest.
-
Whatsup?So what are you ppl listening to ? im listening to Nickelback - Good times gone i like the guitaring in it. ---------------------- He who laughs last thinks slowest.
-
For all South AfricansDo you take part in the "Dung Spitting" competition ? For the uninitiated : http://www.google.co.in/search?q=dung+spitting+south+africa&ie=UTF-8&oe=UTF-8&hl=en&meta= ---------------------- He who laughs last thinks slowest.
-
resXhow do you get rid of invlalid resX input errors. they occur when i try to open up someone elses project solution file. i tried copy pasting all the code from each form file( in c#) into my new project... but that didnt do the trick.
-
Why ?this is what ive observed lately: im trying to learn how to prog. a bot for MSN using c#. so looked up for samples.......i got nothing.... all i get is loads of junk at MSN groups and other where you can only download BOTS without source. is it that prog. BOTS is just a lame thing ? or maybe my search query is wrong?