I am new to ASP.Net and using VS 2008.Can anyone plz help me with a sample database code to try with ? I want to insert into table fields and retrive it. I tried many codes from net.But its not workingh. Plz help!
priya which db u r using secondly post your code here so that i can seewhat wrong in that code problem could be with connection string or u have not used required namespace. it is easy will work in seconds or email me at candychip gmail
k, u r using MSSQL c# U HAVE INCLUDED SQL NAMESPACE and how do u know ur connection string is correct? what erro message u r getting ? without code it will be difficult to help.
I want to code using ASP.Net/MsSql. I don't even to do a simple database program.So can anyone plz post a code.
Have you searched for samples on the web? There are literally thousands on ASP.NET and related technologies. I would also suggest you download some of the samples on the ASP.NET site and watch the tutorials. Here you go: http://www.asp.net/learn/data-access/tutorial-16-vb.aspx (Overview of Inserting, Updating, and Deleting data).