hi all ...i'am having a problem ..i'm working on an asp.net & silverlight project ....but the data base contain the (unique identifier) type ..and i don't know how to handles this type ...and also i can't add data to my data base coz this type is giving me alot of errors and it's not auto increment for an id ...plz help ....and thnx in advance
weblover 0 Junior Poster
Recommended Answers
Jump to Postusing System; using System.Data; using System.Data.SqlClient; using System.Windows.Forms; namespace daniweb { public partial class frmUniqueId : Form { public frmUniqueId() { InitializeComponent(); } public static string BuildSqlNativeConnStr(string server, string database) { return string.Format("Data Source={0};Initial Catalog={1};Integrated Security=True;", server, database); } private void button1_Click(object sender, EventArgs e) { string …
All 3 Replies
sknake 1,622 Senior Poster Featured Poster
weblover 0 Junior Poster
sknake 1,622 Senior Poster Featured Poster
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.