azam3404 0 Newbie Poster

Hi i am using ASP.NET.I want to create Insertquery using Dataset.I have created this
using DataSet1TableAdapters;
FirstNameTableAdapter first = new FirstNameTableAdapter();
DataSet1.LoginDataTable de = first.InsertQuery(TextBox1.Text, TextBox2.Text);

and error is

Error: Cannot implicitly convert type 'int' to 'DataSet1.LoginDataTable

I also want to use same iN Dataset and want to create Login.

So,help me regarding this

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.