TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Faisal Ansari
NA
451
832k
How to insert bit type value in database?
Jan 30 2012 3:45 AM
hello guys how r u ?
my question is that, i am trying this code...
using System;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using DataSet1TableAdapters;
public partial class _Default : System.Web.UI.Page
{
UsersTableAdapter insertUser;
protected void Page_Load(object sender, EventArgs e)
{
}
protected void btnSubmit_Click(object sender, EventArgs e)
{
insertUser = new UsersTableAdapter();
insertUser.Insert(txtUserName.Text, txtPassword.Text, txtSuperPassword.Text, ddlActive.SelectedItem.Text, Convert.ToBoolean(ddlActive.SelectedValue.ToString()));
Response.Write("inserted...");
}
}
but data is not being insert into database
what is the problem kindly guide me ...
Reply Soon
Thanks
Reply
Answers (
3
)
Height time of this error during publishing website
How to read all lines inside Custom methods in C#