5,346 Posted Topics

Member Avatar for MaxDes

Please read MSDN pages about MSSQL windows authentication. 1. [url]http://msdn.microsoft.com/en-us/library/aa337562.aspx[/url] 2. [url]http://technet.microsoft.com/en-us/library/ms144284.aspx[/url]

Member Avatar for kvprajapati
0
106
Member Avatar for chandruswami

[QUOTE=chandruswami;1236056]In C#.Net, I have a dataset containing only one column,.. i want to remove the first row,.. Can anyone help me?[/QUOTE] Remove 1st row from the table. [code] dsObject.Tables["tableName"].Rows[0].Delete() [/code]

Member Avatar for kvprajapati
0
66
Member Avatar for chama89

From java [URL="http://java.sun.com/j2se/1.5.0/docs/guide/jpda/jdi/"]documentation[/URL], [QUOTE]SUMMARY: The Java Debug Interface (JDI) is a high level Java API providing information useful for debuggers and similiar systems needing access to the running state of a (usually remote) virtual machine. The JDI provides introspective access to a running virtual machine's state, Class, Array, Interface, and …

Member Avatar for patrick076
0
1K
Member Avatar for MARKAND911

Take a look at this document - [url]http://www.opendocument4all.com/download/OpenOffice.net.pdf[/url]

Member Avatar for PsaltyDS
0
874
Member Avatar for basma.lm

[QUOTE=basma.lm;1234646]hi, when i run the application i get this error message:"Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints." please help me and thanks[/QUOTE] Open DataSet XSD (Typed dataset) and delete keys (Right click on table).

Member Avatar for basma.lm
0
104
Member Avatar for tashiDuks

Use [URL="http://en.wikipedia.org/wiki/MD5"]MD5[/URL] - A cryptographic [URL="http://msdn.microsoft.com/en-us/library/system.security.cryptography.md5.aspx"]hash function[/URL].

Member Avatar for BigJames
0
3K
Member Avatar for janu121

Welcome, Please follows this link - [URL="http://www.webdevelopment2.com/cakephp-installation-guide-just-add-water-and-2-medium-eggs/"]http://www.webdevelopment2.com/cakephp-installation-guide-just-add-water-and-2-medium-eggs/[/URL]

Member Avatar for saikamal
0
94
Member Avatar for "ICode"

Hi, Use WebClient to load images. Take a look at this blog - [url]http://blogs.msdn.com/b/katriend/archive/2008/04/27/different-ways-for-loading-images-and-files-in-silverlight-2-applications.aspx[/url]

Member Avatar for kvprajapati
0
179
Member Avatar for Nitin Daphale

Have a look at this thread - [url]http://social.msdn.microsoft.com/forums/en-US/winformsdatacontrols/thread/b378e179-3ea6-42de-966e-f0c636891a9e[/url]

Member Avatar for kvprajapati
-1
62
Member Avatar for prajaktaran

Read this article - [url]http://msdn.microsoft.com/en-us/library/bb264562%28SQL.90%29.aspx[/url]

Member Avatar for kvprajapati
0
101
Member Avatar for OnlyDanny

[b]>Combobox is bind correctly, the list of values are shown in the combobox...[/b] Check the combobox values. Can you please post combobox bind code?

Member Avatar for kvprajapati
0
119
Member Avatar for justech

DataSource Bindings. [code] MySqlConnection myconn = new MySqlConnection("server=localhost;database=octupus_db;userid=root;password=sys"); MySqlDataAdapter sqlgender = new MySqlDataAdapter("Select * from gender", myconn); DataTable dtgen = new DataTable("gender"); sqlgender.Fill(dtgen); cbxgender.DataSource=dtgen; cbxgender.ValueMember=dtgen.Columns[0].ColumnName; cbxgender.DisplayMember=dtgen.Columns[1].ColumnName; [/code]

Member Avatar for finito
0
736
Member Avatar for ticktock

You could use String.Format method. [code] string str=string.Format("INSERT INTO ContactList VALUES ('{0}','{1}','{2}')", contactListing[i].LastName,contactListing[i].FirstName,contactListing[i].MiddleName) [/code]

Member Avatar for finito
0
263
Member Avatar for Ms.passion

[QUOTE=Ms.passion;1234146]Thaaanx alot 4 ur great effort still having the same error :( may I ask u what cause this statement??? thanx[/QUOTE] Always use Parametrized query, [code] sql = "Insert into [users] ([firstname], [lastname], [DOB], [phone], [mobile], [home], [pobox], [gender], [city], [username], [password]) values (@firstname, @lastname, @DOB, @phone, @mobile, @home, @pobox, …

Member Avatar for Ms.passion
0
202
Member Avatar for naresh9876

[QUOTE=naresh9876;1233600] i need help in this, i've searched the web and books but it cant seem to write any data to the database. it only writes it virtually. i've almost gave up.[/QUOTE] [CODE] Dim Customer As DataSet1TableAdapters.Customer1TableAdapter = New DataSet1TableAdapters.Customer1TableAdapter Try Customer.InsertQuery(TxtCust.Text, MaskedPhone.Text, TxtAddress.Text, MaskedIC.Text, MaskedDL.Text) MsgBox("data entered") Catch ex …

Member Avatar for kvprajapati
0
131
Member Avatar for basma.lm

I think you have to reinstall [URL="http://www.microsoft.com/Sqlserver/2005/en/us/compact.aspx"]Sql Server compact 3.5[/URL].

Member Avatar for kvprajapati
0
167
Member Avatar for mattloto

[QUOTE=mattloto;1234277]I want to make a FTP client in C#. I know that C# already has a FTP class, but I want to make my own with a Socket as a learning tool. I understand that FTP uses port 21 and port 20, but I don't understand how to connect with …

Member Avatar for kvprajapati
0
102
Member Avatar for madonline

Escape char [b]\b[/b] (backspace) and space. try this, [code] public class Sample { public static void main(String []args) { System.out.println("Help\b "); } } [/code] Do you know [b]System.console().[URL="http://java.sun.com/javase/6/docs/api/java/io/Console.html"]readPassword()[/URL][/b]?

Member Avatar for madonline
0
525
Member Avatar for Rated X

Handles clause is missing. [code] Private Sub txtNav_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles txtNav.KeyDown If e.KeyCode = Keys.Enter Then WebBrowser1.Navigate(txtNav.Text) End If End Sub [/code]

Member Avatar for Rated X
0
168
Member Avatar for Bukhari1986
Member Avatar for joewinsock

[quote] 'm having trouble with this code its part of a birthday profile for class everything else works but this [B]date.cpp[/B] file....looked all throughout forms but can't find this particular one..Please help [/quote] @joewinsock. Why did you post java code here? Can you maybe provide some more information about what …

Member Avatar for joewinsock
0
110
Member Avatar for lllllIllIlllI

[b]>The data source that i used was "Microsoft SQL Server Compact 3.5 (.NET Framework Data Provider for Microsoft SQL Server Compact 3.5)" and it was stored on my computer. [/b] Paul, you need to learn [URL="http://msdn.microsoft.com/en-us/library/a6cd7c08.aspx"]database integration class library[/URL] first (Data Provider classes of [URL="http://msdn.microsoft.com/en-us/library/e80y5yhx(v=VS.100).aspx"]ADO.NET[/URL]). Data providers are used for …

Member Avatar for kvprajapati
0
217
Member Avatar for JohnDove

[b]>Can I avoid referencing the Interop library Microsoft.Office.Interop,Excel?? Is there another way to link to Excel?[/b] [URL="http://www.knowdotnet.com/articles/exceldatasource.html"]ADO.NET[/URL] and [URL="http://en.wikipedia.org/wiki/Office_Open_XML"]OpenXML[/URL].

Member Avatar for gever
0
196
Member Avatar for bghodsi

[code] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Try Dim ConnectionString As String = "Server=hp;database=library;integrated security=SSPI" MessageBox.Show("Connection established") Dim sql As String = "SELECT snippetID, snippetName, snippetSource, snippetCode FROM snippet order by snippetName" Dim cnn As New SqlConnection(ConnectionString) Dim cmd As New SqlCommand(sql, cnn) Dim …

Member Avatar for meffe
0
97
Member Avatar for the_dawn

Please take a look at this article - [url]http://articles.techrepublic.com.com/5100-10878_11-5296198.html[/url]

Member Avatar for ritesh2190
0
101
Member Avatar for hiks

Take a look at code project article - [url]http://www.codeproject.com/KB/applications/thumbtools.aspx[/url]

Member Avatar for hiks
0
93
Member Avatar for American_4_Life

[QUOTE=American_4_Life;1226733]Well I want to populate the list box with the converted units as I have shown above, I have only done design for it, no coding as I dont know where to start.[/QUOTE] That's not help. That would be doing your homework for you. Read the forum rules. You need …

Member Avatar for finito
-1
193
Member Avatar for abcdabid

[QUOTE=abcdabid;1228707]I have written FTP server in C# which is working quite fine with client on one machine, but when i try to send file to server from other PC, Exception occurs, [B]Input string was not in correct format[/B] [CODE]double FileSize = double.Parse(System.Text.Encoding.ASCII.GetString(downBuffer, 0, bytesSize));[/CODE][/QUOTE] Parse failed - suggested by @sergb. …

Member Avatar for abcdabid
0
174
Member Avatar for mwaqas1990

[QUOTE=mwaqas1990;1227509]Hey! i am new in web development and asp.net as well. actually i am a student and want to make social network type website for my institute. Can any body help me by giving me some url about development of social networking. thank you![/QUOTE] Why are you not interested to …

Member Avatar for mwaqas1990
0
89
Member Avatar for faceandname
Member Avatar for landb

Have a look at this article - [url]http://www.vbdotnetheaven.com/UploadFile/plockwood/TicTacToeGame04222005044336AM/TicTacToeGame.aspx[/url]

Member Avatar for Luc001
0
99
Member Avatar for pickleleon

SELECT query. [code=Text] SELECT TOP 10 score from TableName order by score desc [/code]

Member Avatar for JOSheaIV
0
121
Member Avatar for sonia sardana

[QUOTE=pande;1228912]please give me complate program in VB 6, about defragment file program[/QUOTE] Welcome pande. We don't have programs. If you have any questions please ask. You are welcome to start [icode]your own threads.[/icode] Please read the rules before posting again - [url]http://www.daniweb.com/forums/thread78223.html[/url] and [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]rules[/URL].

Member Avatar for pritesh2010
0
198
Member Avatar for devLady

[QUOTE=devLady;1225783]hi guys, where can we find free pdf tutorial on asp.net 3.5 with mvc and silverlight and also in sql 2005 tnx in advance[/QUOTE] Short answer is [B]Google[/B]. Official sites of Microsoft : 1. [url]http://www.asp.net/(S(d35rmemuuono1wvm1gsp2n45))/mvc[/url] 2. [url]http://www.silverlight.net/[/url]

Member Avatar for devLady
0
183
Member Avatar for mindserve
Member Avatar for dnanetwork

[QUOTE]how do you measure the size of session in (KB, MB....) how can you say my session object is consuming ? space in (Kb & MB)[/quote] The size of an object in memory is not documented. However you can use Binary [URL="http://stackoverflow.com/questions/198082/how-to-find-out-size-of-session-in-asp-net-from-web-application"]Serialization [/URL]which gives you a rough approximation. [quote] is …

Member Avatar for dnanetwork
0
99
Member Avatar for pickleleon

[b]>I want multiple picture boxes to be handled by one event ..[/b] You want to write single event handler for multiple picture boxes. [code] private void Form1_Load(object sender, EventArgs e) { picture1.MouseEnter += new EventHandler(MyHandler); picture2.MouseEnter+=new EventHandler(MyHandler); } void MyHandler(object sender, EventArgs e) { PictureBox currentPic = sender as PictureBox; …

Member Avatar for pickleleon
0
262
Member Avatar for iamthwee

Thanks iamthwee. Working nicely! [URL="http://www.daniweb.com/forums/thread285657.html"]See[/URL].

Member Avatar for iamthwee
3
237
Member Avatar for MaxDes

Please read these threads : 1. [url]http://social.msdn.microsoft.com/Forums/en-US/winformsdatacontrols/thread/7551e1a9-343f-4da0-8b84-712681a4611d[/url] 2. [url]http://social.msdn.microsoft.com/Forums/en-US/winformsdatacontrols/thread/81bb864a-ab2a-46cc-a029-22a0cba1d615[/url] and article at codeproject - [url]http://www.codeproject.com/KB/grid/hierarchgrid.aspx[/url]

Member Avatar for MaxDes
0
1K
Member Avatar for pt730

Please ensure that an reference of an instance of ArrayList is not null. Code to open a new window [code] ArrayList ar=new ArraList(); frmMain frm=new frmMain(ar); frm.ShowDialog(); .... [/code]

Member Avatar for pt730
0
82
Member Avatar for tuomari

[code] else if((DropDownList1.SelectedValue == "") && (txtDate.Text != "")) { strSQL = "SELECT * FROM [" + DropDownList2.SelectedValue + "] WHERE DATE_START =#" + txtDate.Text + "#"; } [/code]

Member Avatar for tuomari
0
144
Member Avatar for visweswaran28

[QUOTE=visweswaran28;1229022]Hi, I used in-built template, that is createuser wizard. In that, I am creating new user and after that I logged in using that newly created username and password.. No prob it works fine. But I want to know where the data is stored. I have searched in my sql …

Member Avatar for kvprajapati
0
81
Member Avatar for trpsjt2008

[QUOTE=trpsjt2008;1228266]Hi I Have 100 Picture Box(PictureBox1-100) And I want to use Each PictureBox with loop like [CODE]Dim left as Integer Do while left > 1 PictureBox 'Picture Box number i used left = 'My Procedure Left += 1 Loop[/CODE] How Can I use Each PictureBox From 1 to 100 Thank …

Member Avatar for kvprajapati
0
466
Member Avatar for pragyabtech
Member Avatar for Sidiq

[QUOTE=Sidiq;1228396]Hi All, you have all probally heard this all before with interaction with MS access in vb.net. Basically i have a single table database, Please could someone provide or point me in the directiong for code for basic command for new, save, remove function via input thought textboxes. i am …

Member Avatar for kvprajapati
0
78
Member Avatar for srinivas_here

[QUOTE=srinivas_here;1226909]in global.asax: i given this code [code] public static int count = 0; void Application_Start(object sender, EventArgs e) { // Code that runs on application startup Application["myCount"] = count; } void Session_Start(object sender, EventArgs e) { // Code that runs when a new session is started //count = Convert.ToInt32(Application["myCount"]); count …

Member Avatar for kvprajapati
0
144
Member Avatar for MARKAND911

[QUOTE=MARKAND911;1228867]I have a small problem. I have got a fileupload control inside the update panel. and when i upload a file in it,it doesnt contains the file. if(fileupload1.hasfile) { } this statement doesnt get execution. the condition doesnt satisfies. so i got one solution for it.. Make the fileupload control …

Member Avatar for kvprajapati
0
114
Member Avatar for trippinz

Try this, [code] public void buttonX4_Click(object sender, EventArgs e) { button1.Invoke(new Action(()=> { button1.Text = "Your Bio Has Been Copied"; button1.Refresh(); System.Threading.Thread.Sleep(2000); button1.Text = "Copy To Clipboard"; button1.Refresh(); })); } [/code]

Member Avatar for kvprajapati
0
145
Member Avatar for saturikiran

[QUOTE=saturikiran;1228872]i have some data in the datagridview..now i want to delete the total data from the datagridview ..how can i do that ..plz give me reply[/QUOTE] Bounded datagridivew use, [code] dataGridView1.DataSource=null; [/code] Unbounded datagridView use, [code] dataGridView1.Rows.Clear(); [/code]

Member Avatar for kvprajapati
0
24
Member Avatar for Dr-Delta

Don't use [B]+[/B]. Use [B]&[/B] to concatenate strings. [code] sb.Append(("<div class=""widget " & Me.Name.Replace(" ", String.Empty).ToLowerInvariant() & """ id=""widget") & WidgetID.ToString() & """>") sb.Append(("<a class=""delete"" href=""javascript<b></b>:void(0)"" onclick=""BlogEngine.widgetAdmin.removeWidget('" & WidgetID.ToString() & "');return false"" title=""") & Resources.labels.delete & " widget"">X</a>") [/code]

Member Avatar for Dr-Delta
0
841

The End.