strongly typed dataset Insert record with C# problem
Posted
by Eyla
on Stack Overflow
See other posts from Stack Overflow
or by Eyla
Published on 2010-04-12T22:28:58Z
Indexed on
2010/04/12
22:33 UTC
Read the original article
Hit count: 411
c#
|strongly-typed-dataset
Greetings,
I'm using strongly typed data-set in windows application and I'm creating table adapter object to call insert function.
The problem that there is nothing inserted to the table after calling the function and no error produced.
here is my code:
public PacketsDBDataSet1TableAdapters.packetsTableAdapter ds = new PacketsDBDataSet1TableAdapters.packetsTableAdapter();
private void btnSavePacketsInFile_Click(object sender, EventArgs e)
{
byte[] w = null;
ds.InsertPackets("s", "s", "s", "s", "s", w);
}
I'm using same same code with ASP.Net but it is working OK.
any advice??
© Stack Overflow or respective owner