|
no, datagrid in form1 and the insert,update in form2
tha form1 must be open all the time,
i cklick tha save button in form2 and i want the datagrid in form1 to be updated, and i will say it again, without closing the form1
|
|
|
|
|
In that case i think you might be binding the records by checking for is postback.
try binding the data removing the ispostback block that should help. if you feel that this is not helping out please post the code that you have written so that anybody who looks at that can help you out.
Regards
Venkatesh Ellur
Engineer - Software
+919886417764
+919886235553
|
|
|
|
|
the datagrid of the table is made aytomaticly when i drag and drop it from the datasourse window
so he code that appears is
private void Form2_Load(object sender, EventArgs e)
{
// TODO: This line of code loads data into the 'programmersHeavenDataSet1.Article' table. You can move, or remove it, as needed.
this.articleTableAdapter.Fill(this.programmersHeavenDataSet1.Article);
// TODO: This line of code loads data into the 'programmersHeavenDataSet1.Article' table. You can move, or remove it, as needed.
this.articleTableAdapter.Fill(this.programmersHeavenDataSet1.Article);
}
private void articleBindingNavigatorSaveItem_Click(object sender, EventArgs e)
{
this.Validate();
this.articleBindingSource.EndEdit();
this.tableAdapterManager.UpdateAll(this.programmersHeavenDataSet1);
}
|
|
|
|
|
My task is as follows...
I have 2 data files a Source (A) and a Destination (B) both located in the shared network drive.
A is a data file (plain text) between 2GB and 3GB made up of records of fixed size.
A is always being written into by other processes (new records being appended at the end).
I would like to read through the whole file A, read each record, leave what I still need and archive the rest to B.
There is a 10 character string I can use within each record as a filter.
My question is, is there a (fast, as in run-time fast) way to do this in C#? I have been trying to do this with MMF but I'm beginning to think it's overkill?
Thanks for any help.
----------------------------------------------------------
Lorem ipsum dolor sit amet.
|
|
|
|
|
Hey, Im making an application to telnet my NAS and punch in some simple commands like chmod etc . Ive been googling for the last two hours and all ive found are fully functional telnet clients which i have no hope of integrating into my tiny application .
Can anyone point me in the direction of a telnet activex control or even suggest a way of using my application tto punch commands automatically into an existing telnet client like putty ?
Thanks
|
|
|
|
|
No, not really. I wrote my own, but it's not ready for publication.
|
|
|
|
|
it's possible to load a form as a desktop background?
if possible how i do it ?
thanks
|
|
|
|
|
No. You might have been able to do this on XP and below using Active Desktop and a webpage, but Vista removed this possibility and replaced it with the sidebar
Between the idea
And the reality
Between the motion
And the act
Falls the Shadow
|
|
|
|
|
You can use an IMAGE of your form. Taking over the users desktop is definately frowned upon.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
I want to watch youtube video from C# win application. I am a newbei- please help me. I used webbrowser control but in that way I can only load the full page. I just want to show the youtube player
|
|
|
|
|
Faysal wrote: I want to watch youtube video from C# win application
But why would you want to do that?
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
I think YouTube has a data API for that. Never used it though - you'd have to research that yourself
Between the idea
And the reality
Between the motion
And the act
Falls the Shadow
|
|
|
|
|
I'd like to write a windows pc application that will be able to communicate with another device using TCP/IP via a USB connection. The PC application would be a client and the remote device the host. Can anyone point me in the right direction on how to get started with this or to some articles to read? I don't really have any experience with network programming but I'm quite comfortable programming in C# otherwise. Is this going to be a major undertaking?
Thanks in advance
|
|
|
|
|
google
I know nothing , I know nothing ...
|
|
|
|
|
Well, the .NET Framework makes network programming a virtually straight-forward task, not like alot of other programmers would have you believe...
A few months ago I found a link to an article that's very similar to what you're trying to accomplish. If I can find it again I'll post it on here.
jase
|
|
|
|
|
I would have people believe differently. If you can manually forward all relevant ports on all computers that will have a listening socket then it's easy enough, but otherwise NAT will get you.
edit: there probably isn't going to be NAT between an USB thing and a computer though, so that's 1 problem less.
|
|
|
|
|
If you have drivers that allow you to network two or more machines over USB, then you don't have to do anything in your code. TCP/IP is the carrier for your data, abstracting the underlying hardware and links away. You don't have to account for the link type at all.
After that, pick up a book on Windows Communication Foundation and Sockets Programming.
|
|
|
|
|
hi all.
i want to read pieace of data from wave file and play data.
i dont want to write data to other Wave file and play it/
i want to play data in memory or ram not diffrent just without write file
but i dont know how is it?
thanks
|
|
|
|
|
Read the WAV file into a MemoryStream, and create a SoundPlayer, passing the MemoryStream as an argument. Then, just call Play
Between the idea
And the reality
Between the motion
And the act
Falls the Shadow
|
|
|
|
|
Hi All
I use C#.Net To Create Windows Application system
I want to save the problems resulting from the system in the Right Click On
My Computer-> Manage -> Event Viewer -> Application Error
How can I do this
Thanks
Thaer
modified on Sunday, June 7, 2009 8:15 AM
|
|
|
|
|
using System.Diagnostics;
EventLog ApplicationEventLog = new System.Diagnostics.EventLog();
ApplicationEventLog.Source = "My application name here";
ApplicationEventLog.WriteEntry("My message here", EventLogEntryType.Error);
You should have a look at the docs for EventLog , you will see you can specify many more options.
2+2=5 for very large amounts of 2
(always loved that one hehe!)
|
|
|
|
|
Hello Experts!!
I am taking linklabel from toolbox and i want to set internet explorer to that link thr' which i can show my organisation site.Dont knw what to do??
Help me!
|
|
|
|
|
Hi,
LinkLabel has a LinkClicked event; use Process.Start(myURL) to launch default browser, or Process.Start("iexporer.exe", myUrl) to launch Internet Explorer. There must be some documentation somewhere that contains all the details...
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
Thanx for reply.....but what is MyURL....in my code it gives error->MyURL does not exist in current context
|
|
|
|
|
string myUrl = "http://www.mycompanysite.com";
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn) Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia) Why are you using VB6? Do you hate yourself? (Christian Graus)
|
|
|
|