Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #4K
~1K People Reached
Favorite Forums
Favorite Tags
Member Avatar for AngelicOne

[CODE] SqlCommand cmd = new SqlCommand("SELECT MAX(Register_ID) AS Register_ID FROM EnrollTbl", con); SqlDataReader reader; con.Open(); reader = cmd.ExecuteReader(); if (reader.HasRows) { while (reader.Read()) { RegisterID.Text = (Convert.ToInt32(reader["Register_ID"]) + 1).ToString(); } } else { RegisterID.Text = "10000"; } reader.Close();[/CODE] It says [B]Object cannot be cast from DBNull to other types.[/B] I …

Member Avatar for Geekitygeek
0
928
Member Avatar for MxDev

Hi guys, How to convert HTML syntax to RTF format using any existing library or dll?? any help appreciated. Thanks

Member Avatar for MxDev
0
108
Member Avatar for Nulty

Hi, I would like to add a project to my portfolio that showcases my skills in C#. I would like to somehow implement a feature of biometric security. For this particular project I wouldn't mind interfacing with a fingerprint reader for example. Can anyone make any suggestions what I might …

Member Avatar for alobal
0
97
Member Avatar for alobal

Hi, I am about to write a simple control for the Silverlight TM. I have found that it should be derrived from the Control class, but I can not find any rendering method. My goal was just write Hallo world, but after a long time wasted on googling info I'd …

0
44
Member Avatar for help_lucky

Hello Everyone, I need to upload excel sheet in to the database. Which i am doing with the query [CODE] SELECT * INTO temp FROM OPENROWSET('Microsoft.Jet.OLEDB.4.0', 'Excel 8.0;Database=C:\Dokumente und Einstellungen\l.varada\Desktop\BA-Control.xls', 'SELECT * FROM [qry_BA_Controlling (Report)$]')[/CODE] Here C:\Dokumente und Einstellungen\l.varada\Desktop\BA-Control.xls is the path from where the excel file needs to be …

Member Avatar for alobal
0
105