strongly typed dataset Insert record with C# problem
- by Eyla
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??