Click here to Skip to main content
15,926,144 members
Home / Discussions / C#
   

C#

 
GeneralGrid programming question Pin
Alex Korchemniy3-Apr-04 22:11
Alex Korchemniy3-Apr-04 22:11 
GeneralRe: Grid programming question Pin
leppie3-Apr-04 22:26
leppie3-Apr-04 22:26 
GeneralRe: Grid programming question Pin
Alex Korchemniy5-Apr-04 5:51
Alex Korchemniy5-Apr-04 5:51 
GeneralRe: Grid programming question Pin
Ista4-Apr-04 15:40
Ista4-Apr-04 15:40 
GeneralRe: Grid programming question Pin
Alex Korchemniy5-Apr-04 6:51
Alex Korchemniy5-Apr-04 6:51 
QuestionHow to remove data from a access dataset? Pin
MeterMan3-Apr-04 15:41
MeterMan3-Apr-04 15:41 
AnswerRe: How to remove data from a access dataset? Pin
leppie3-Apr-04 21:17
leppie3-Apr-04 21:17 
GeneralRe: How to remove data from a access dataset? Pin
MeterMan3-Apr-04 21:52
MeterMan3-Apr-04 21:52 
thanks for the reply. I have a question maybe you or someone else can help with. Either my sql statement is not correct or something. I keep getting an exception because the catch keeps showing up.
I have a database with a table called Movie and it has fields Information and Title.
I have a test value in there called tony.
thanks for the help.

try
{

string strSQL = "DELETE * FROM Movie WHERE Title = ";
strSQL += searchbox.Text;
oleDbDeleteCommand1.CommandText = strSQL;
oleDbDataAdapter1.DeleteCommand = oleDbDeleteCommand1;

oleDbDeleteCommand1.Connection = oleDbConnection1;
oleDbDeleteCommand1.Connection.Open();
oleDbDeleteCommand1.ExecuteNonQuery();
oleDbDeleteCommand1.Connection.Close();

}
catch
{
MessageBox.Show("Not found");
}

Win32newb
"Making windows programs worse than they already are"
GeneralRe: How to remove data from a access dataset? Pin
leppie3-Apr-04 22:12
leppie3-Apr-04 22:12 
GeneralRe: How to remove data from a access dataset? Pin
MeterMan3-Apr-04 22:36
MeterMan3-Apr-04 22:36 
GeneralShockwave Movie in C# Pin
Imad_4u3-Apr-04 15:15
Imad_4u3-Apr-04 15:15 
GeneralRe: Shockwave Movie in C# Pin
leppie3-Apr-04 21:13
leppie3-Apr-04 21:13 
General.NET Framework Crashes!!!SWF Pin
Imad_4u4-Apr-04 15:33
Imad_4u4-Apr-04 15:33 
GeneralCreating a binary file Pin
Ista3-Apr-04 9:04
Ista3-Apr-04 9:04 
GeneralRe: Creating a binary file Pin
leppie3-Apr-04 10:14
leppie3-Apr-04 10:14 
GeneralRe: Creating a binary file Pin
Nick Parker3-Apr-04 10:22
protectorNick Parker3-Apr-04 10:22 
GeneralRe: Creating a binary file Pin
leppie3-Apr-04 11:14
leppie3-Apr-04 11:14 
GeneralRe: Creating a binary file Pin
Ista3-Apr-04 10:43
Ista3-Apr-04 10:43 
GeneralRe: Creating a binary file Pin
leppie3-Apr-04 11:01
leppie3-Apr-04 11:01 
GeneralRe: Creating a binary file Pin
Ista3-Apr-04 11:36
Ista3-Apr-04 11:36 
GeneralRe: Creating a binary file Pin
leppie3-Apr-04 11:47
leppie3-Apr-04 11:47 
GeneralRe: Creating a binary file Pin
Ista3-Apr-04 12:41
Ista3-Apr-04 12:41 
GeneralRe: Creating a binary file Pin
leppie3-Apr-04 21:09
leppie3-Apr-04 21:09 
GeneralRe: Creating a binary file Pin
Ista4-Apr-04 15:43
Ista4-Apr-04 15:43 
GeneralRe: Creating a binary file Pin
leppie5-Apr-04 7:12
leppie5-Apr-04 7:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.