string str;
str="insert into <table> values('" +txname.Text +"', "+txtpwd.Text +")";Aditya You are taking too long to learn this. Join some Training course nearby. On 3/29/10, aditya chavan <[email protected]> wrote: > > this select data from the table > but i want data from textboxes should be inserted through table adapter in > database > > On Mon, Mar 29, 2010 at 5:14 PM, Bernardo Rosmaninho < > [email protected]> wrote: > >> SqlCeDataAdapter da = new SqlCeDataAdapter("SELECT * FROM TABLE", >> "ConectionString"); >> >> >> 2010/3/29 aditya chavan <[email protected]> >> >>> hello >>> >>> >>> i have made smart device in which m using *.sdf file as a database. >>> >>> >>> now in this i have created table adapter in the dataset and also made >>> insert query command in table adapter >>> >>> >>> but i dont how to use this insert query in table adapter in c# .. >>> so can i geta smaple code how to add or write insert query ..? >>> >>> >>> thank you... >>> >>> >>> Aditya >>> >>> To unsubscribe from this group, send email to dotnetdevelopment+ >>> unsubscribegooglegroups.com or reply to this email with the words >>> "REMOVE ME" as the subject. >>> >> >> >> >> -- >> Bernardo Rosmaninho >> >> >> >> To unsubscribe from this group, send email to dotnetdevelopment+ >> unsubscribegooglegroups.com or reply to this email with the words "REMOVE >> ME" as the subject. >> >> > > To unsubscribe from this group, send email to dotnetdevelopment+ > unsubscribegooglegroups.com or reply to this email with the words "REMOVE > ME" as the subject. >
