|
Thanks for your efforts, I gave a thumbs up.
Unfortunately the parse event didn't give the desired results either.
I've solved the problem by making an extra unbound text column, hiding the date column, and on the validating event from the new unbound text column the hidden "real" date column is filled.
It's not pretty but it works.
Rob
|
|
|
|
|
To test the events, I tried the dataerror event, but with no luck, I can catch the exception (which is ugly), but the value doesn't write through to the EditedFormattedValue.
so still looking for a solution.
Rob
|
|
|
|
|
Consider that there are two files named file1.txt and file2.txt.
file1.txt consists 50lines
file2.txt consists 50lines
Now I want to compare the text of two files taht to line by line,
I mean How can I compare 1st line of file1.txt with 1st line of file2.txt
similarly 2nd line of file1.txt with 2nd line of file2.txt, etc., till the last line
|
|
|
|
|
string[] file1 = File.ReadAllLines("file1.txt");
string[] file2 = File.ReadAllLines("file2.txt");
then use "for" to go through the array and compare it.
|
|
|
|
|
You have to use StreamReader
Suppose you have Two streamreader objects
sr1 and sr2
while((str1=sr1.ReadLine())!="" &&(str2=sr2.ReadLine()))
{
if(str1!=str2)
//The Files Are different...
}
Vinod Kumar Prajapati
Software Engineer
EBC Publishing Pvt. Ltd.
|
|
|
|
|
Hi,
Is anyone can help me? please.
I have a small project that I need to view a certain document file in my program, example a .doc file.
Is there any class or a control that I can used to view this certain document?
You're help is appreciated.
Thanks in advance.
regards,
erson
|
|
|
|
|
RichTextBox might suit the needs.
It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD
|
|
|
|
|
Is there a possibility that I can embed the text editor of the winword.exe? but only to view such a text and also the graphics, there is no menu and toolbar. Is that possible?
best regards,
erson
|
|
|
|
|
Have you checked the RichTextBox? It has a lot of features which you might like. As far as embedding the winword.exe is concerned you can start the process outside the application but no idea about embedding it.
It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD
|
|
|
|
|
Thank you with this kind of information
It help my problem.
kind regards,
erson
|
|
|
|
|
i would like to upload the videos in any format and convert it in .flv or swf formats using VS 2008....
is there any third party control available for asp.net/C#
|
|
|
|
|
|
THANX stancrm
i have downloaded class library..
as i am new in the programming, can you plz help me out how to use it in my web page
thanks in advance
|
|
|
|
|
If you are new to programming, then buy a book, learn first C#, learn first something easy.
Video convertion is not so easy.
|
|
|
|
|
not that new to buy a book
actually i havnt use any external library yet,
|
|
|
|
|
|
Are you tryed Video to Flash Converter Pro ( geovid )? It must help...
|
|
|
|
|
Hello there I am currently coding a RPG game and need a good book to help me check some of my work (and also give me some ideas) I have already a good knowledge of how to code, so I don't really need to know the basics, can anyone recommend a good book?
Just remember I am programming in vs2005, so please only books which apply to this.
|
|
|
|
|
If I were you, I'd consider using XNA to help you out (it integrates into Visual Studio). This link[^] seems promising; I know it's not a book, but it looks like a decent resource, and there are links to books on XNA in there as well.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
I was just cruising the message boards and I came across this.
Needless to say it's now been 20 mins so I need to get back to work but I'm just going to be thinking about how I'm going to build my RPG all afternoon.
If at first you don't succeed ... post it on The Code Project and Pray.
|
|
|
|
|
Hi Experts
I am working with vs2005 winform.i am making a winform that contain
the splitter control in upper panel1 of spliter contain the gridview
and lower panel2 dock the form at run time when i am double click on the gridview i send one value to the form that i have dock in panel two.
pls help me how to send value from grid double click to docked forms
thank U
Dinesh Sharma
|
|
|
|
|
Use a delegate to communicate between forms.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace lastone
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
// TODO: This line of code loads data into the 'database21DataSet.Table1' table. You can move, or remove it, as needed.
this.table1TableAdapter1.Fill(this.database21DataSet.Table1);
// TODO: This line of code loads data into the 'database21DataSet1.Table1' table. You can move, or remove it, as needed.
this.table1TableAdapter.Fill(this.database21DataSet1.Table1);
}
private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
{
}
private void groupBox1_Enter(object sender, EventArgs e)
{
}
private void button1_Click(object sender, EventArgs e)
{
this.table1TableAdapter.Update(database21DataSet1);
MessageBox.Show("Updated ,,,successfully");
}
private void button2_Click(object sender, EventArgs e)
{
}
private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
{
}
}
}
|
|
|
|
|
You posted a ton of useless code. Type your question into google to get the sort of in depth answer I suspect you will need.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|