Posted on July 10, 2009, 6:10 am, by , under
Software.
Hi, I am trying to implement a network sniffer applicatio in C++ on unix system. For this application I need to include pcap library files (pcap.h) in my main file. But when I try to compile my main file I am getting a problem that pcap.h file is not found
Posted on July 10, 2009, 6:05 am, by , under
Software.
Hello Friends, I am getting a problem to update the database from datagridview row. I am using the following code private void showButton_Click(object sender, EventArgs e) { con = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\MoneyData.mdb"); String query = "SELECT * FROM Categories"; da = new OleDbDataAdapter(query, con); OleDbCommandBuilder cb = new OleDbCommandBuilder(da); ds = new DataSet(); da.Fill(ds); dataGridView1.DataSource = ds.Tables[0]; con.Close(); } private void UpdateButton_Click(object sender, EventArgs e) { da.Update(ds); } if i run the code i am getting the following error "Dynamic SQL generation for the UpdateCommand is not supported against a SelectCommand that does not return any key column information." Please help me..
Tags:
event,
following-code,
include-pcap,
main-file,
object-sender,
objects-using,
pcap-library,
pointer-object,
private-void,
source,
you-elaborately No Comments |
Read the rest of this entry »