5,346 Posted Topics

Member Avatar for chandruswami

[URL="http://msdn.microsoft.com/en-us/library/system.applicationid.aspx"]ApplicationId[/URL] class.

Member Avatar for kvprajapati
0
73
Member Avatar for pritesh2010

Use Visual Basic Upgrade Wizard (Open the VB 6.0 project with Visual studio 2003/2005/2008).

Member Avatar for kvprajapati
0
117
Member Avatar for domingo

[code] cmd = new SqlCommand("sp_getUsersDetails", con); cmd.CommandType = CommandType.StoredProcedure; cmd.Parameters.Add("@Username", SqlDbType.VarChar); cmd.Parameters["@Username"].Value = txtSearch.Text; cmd.Parameters["@Username"].Direction = ParameterDirection.Input; SqlDataAdapter adp=new SqlDataAdapter(cmd); DataTable dt=new DataTable(); adp.Fill(dt); dgvUsers.DataSource=dt; [/code]

Member Avatar for domingo
0
108
Member Avatar for kiranbvsn

[b]>how can we identify the control in the edit mode.[/b] Check the EditIndex property value.

Member Avatar for Sals
0
103
Member Avatar for adobe71

[code] int []ar={1,2,3,4,5,,...100},i,j,temp,m; Random rnd = new Random(); for(m=1;m<=20;m++) { i = rnd.Next(1, 100); j = rnd.Next(1, 100); temp=ar[i]; ar[i]=ar[j]; ar[j]=temp; } . ... [/code]

Member Avatar for Freon22
0
194
Member Avatar for ravin26

[b]>how can i allow user to download an mp3 file on his click in asp.net vb.[/b] You can do so by creating/adding a dynamic link into web-page when that user has been authenticated & authorized.

Member Avatar for adobe71
0
101
Member Avatar for kaivalPrajapati
Member Avatar for adobe71
0
77
Member Avatar for jobojo

Set the DefaultValue, [code] <SelectParameters> <asp:FormParameter FormField="ID" Name="ID" Type="Int32" DefaultValue="0" /> <asp:FormParameter FormField="L_Name" Name="L_Name" Type="String" DefaultValue=" " /> </SelectParameters> [/code]

Member Avatar for kvprajapati
0
238
Member Avatar for vijaycare

[b]>but the dataset in my project is still not updated[/b] Issue a fill method of dataadapter to update the dataset.

Member Avatar for vijaycare
0
100
Member Avatar for Dhammakirty

[b]>asp.net problem[/b] That would be doing your work for you. Read the forum rules. You need to show effort, and what better way than posting the code that you have tried so far? 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 kvprajapati
0
69
Member Avatar for vikasbhadra

[b]>how to save image in binary format in vb.net [/b] The file format of Image file is a binary. You can use Copy method of File class.

Member Avatar for kvprajapati
0
39
Member Avatar for GreenDev.S

[b]>at the end i should point to the fact that i didn't save images into db and i do not know how and in which type they are saved.[/b] Take a look at this thread - [url]http://www.daniweb.com/forums/thread202562.html[/url]

Member Avatar for kvprajapati
0
233
Member Avatar for soniahariramani

Show us your code please. 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 kvprajapati
0
47
Member Avatar for rumpleteaser33
Member Avatar for rumpleteaser33
0
1K
Member Avatar for ramsham

[b]>,It is used just highlight that searched word on given web page and do the same as like Dani Web search[/b] Have a look at [URL="http://www.nsftools.com/misc/SearchAndHighlight.htm"]JavaScript text highlight[/URL].

Member Avatar for ramsham
0
157
Member Avatar for Nocturn

Take a look, [code] .... Dictionary<string, string> data = new Dictionary<string, string>() { {"A","1"}, {"B","2"}, {"C","3"} }; private void Form1_Load(object sender, EventArgs e) { foreach (KeyValuePair<string, string> item in data) { toolStripDropDownButton1.DropDownItems.Add(item.Key); } toolStripDropDownButton1.DropDownItemClicked += new ToolStripItemClickedEventHandler(toolStripDropDownButton1_DropDownItemClicked); } void toolStripDropDownButton1_DropDownItemClicked(object sender, ToolStripItemClickedEventArgs e) { MessageBox.Show(data[e.ClickedItem.Text]); } [/code]

Member Avatar for Geekitygeek
0
287
Member Avatar for chiwawa10

Download the[URL="http://www.microsoft.com/downloads/en/confirmation.aspx?familyId=2cc30a64-ea15-4661-8da4-55bbc145c30e&displayLang=en"] WMI code creator[/URL].

Member Avatar for chiwawa10
0
380
Member Avatar for ecrockers

You need to import System.Data.SqlClient namespace. [code] Imports System.Data.SqlClient .... [/code] Use SqlConnection class to connect, [code] Dim Cn as New SqlConnection("your_connection_string") Cn.Open() .. [/code]

Member Avatar for ecrockers
0
597
Member Avatar for bhavu4u

You can find some useful detail on tabpanel at - [url]http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/Tabs/Tabs.aspx[/url]

Member Avatar for bhavu4u
0
698
Member Avatar for bhavu4u

Please take a time to read this blog - [url]http://siderite.blogspot.com/2007/07/fixing-tabcontainer-to-work-with.html[/url]

Member Avatar for bhavu4u
0
124
Member Avatar for tiwas

Correct me if I am wrong. [code] .. Nameofapp obj=new Nameofapp(arguments); Application.Run(obj); [/code]

Member Avatar for tiwas
0
756
Member Avatar for yawar260

[b]>how to populate dataGridView Columns with data coming from database when Columns already exist in c#[/b] You can use list or datatable object. [code] .... datagridView1.Datasource=dataTabObject; .... [/code]

Member Avatar for WargRider
0
199
Member Avatar for GAME

[b]>can you help me?[/b] Of course. Let us know what's your problem?

Member Avatar for GAME
-1
97
Member Avatar for jockfaire

Line #73 [code] aDBcommand.CommandText = "SELECT * FROM [User] WHERE [password] = @password"; aDBcommand.Parameters.Add("@password", SqlDbType.NVarChar); aDBcommand.Parameters["@password"].Value = password; aDataReader = aDBcommand.ExecuteReader(); if(aDataReader.Read()) { resultMsg = "Successful Login"; return (1); } else { resultMsg = "Invalid Password"; return(2); } } [/code]

Member Avatar for jockfaire
1
156
Member Avatar for adam2009

Using [URL="http://support.microsoft.com/kb/306273"]Directory services.[/URL] Take a look at this codeproject article - [URL="http://www.codeproject.com/KB/system/everythingInAD.aspx"]Everything In Active Directory via C#[/URL]

Member Avatar for adam2009
0
205
Member Avatar for skybomb0

Declare volatile boolean varible to control the thread. [code] volatile bool ServRunning = false; [/code] Check for pending request, [code] private void KeepListening() { //While the server is running while(ServRunning == true){ try { //Accept a pending connection if (tlsClient.Pending()){ tcpClient = tlsClient.AcceptTcpClient(); //Create a new instance of Connection Connection …

Member Avatar for skybomb0
0
138
Member Avatar for sandip vav

[b]>do you have code for custom paging with user control in asp.net?[/b] You need to use ViewState or SessionState.

Member Avatar for Ramesh S
0
73
Member Avatar for pwk064
Member Avatar for Benniit

Handle the CellClick event - you will get columnIndex and rowIndex from eventargument object.

Member Avatar for kvprajapati
0
96
Member Avatar for Mena samy

[b]>and it works fine in my machine but when i test it in other machine it cause error!![/b] You have to copy those database files in another machine too.

Member Avatar for kvprajapati
0
93
Member Avatar for Krstevski

[b]>The parameter is incorrect[/b] Error says that it doesn't like the values you gave. Something is missing.

Member Avatar for Krstevski
0
97
Member Avatar for kaivalPrajapati

[b]>plz give me information about adrotator[/b] You can read codeproject article - [url]http://www.codeproject.com/KB/webforms/AdRotator_VT.aspx[/url]

Member Avatar for kvprajapati
-1
37
Member Avatar for praveen_dusari

[b]>i used asp bound field but it showing along with all fields[/b] Set AutoGenerateColumns="false"

Member Avatar for kvprajapati
0
74
Member Avatar for raja0412

[b]>how to replace file when file is open in vb.net using c#.net[/b] Can you maybe provide some more information about what it is you are trying to do?

Member Avatar for kvprajapati
0
37
Member Avatar for 9676442764

[b]>i want to connect two windows forms in c#[/b] I think you want to pass data/values from one form to another form. You have to write public methods with appropriate arguments inside the form classes.

Member Avatar for kvprajapati
0
46
Member Avatar for carlakawill

[b]>When i code in a date into the query itself it works but not when passed from a text box. [/b] Use mm/dd/yy date format.

Member Avatar for kvprajapati
0
181
Member Avatar for sarsekim

[b]>How do I evaulate a variable first, then join it to something.[/b] [URL="http://msdn.microsoft.com/en-us/library/f7ykdhsy%28VS.71%29.aspx"]Reflection.[/URL]

Member Avatar for kvprajapati
0
112
Member Avatar for nicolasmarie

[b]>Is that possible in data binding.[/b] Yes. Have a look at - [url]http://www.daniweb.com/forums/tag-datarelation.html[/url]

Member Avatar for kvprajapati
0
92
Member Avatar for SCass2010

Use For Each statement to traverse One/Two-dim arrays. [code] Dim twoD(,) As Integer = {{11, 22, 3, 2, 3, 1}, {22, 33, 44, 2, 3, 1}, {3, 4, 5, 66, 7, 3}} Dim oneD() As Integer = {3, 33, 1, 2} For Each playerNo As Integer In oneD For Each …

Member Avatar for kvprajapati
0
122
Member Avatar for reescooper

[b]>I have a basic knowledge of web development[/b] You need to improve your knowledge by learning XHTML/CSS/JavaScript.

Member Avatar for kvprajapati
0
98
Member Avatar for Rohith Reddy

[b]>fit to all screen resolutions[/b] Choose % (percent) unit to manage height & width.

Member Avatar for kvprajapati
0
85
Member Avatar for giahmed

[b]>An exception occurred while executing a Transact-SQL statement or batch. Incorrect syntax near '/'.[/b] Use [B]GO[/B] instead of [b]/[/b] if your product is MS-SQL server.

Member Avatar for giahmed
0
150
Member Avatar for JCDenton

[b]>Reading individual lines of a CSV into a string array? [/b] Try using System.IO.File.ReadAllLines("file.txt") method.

Member Avatar for Chris147
0
2K
Member Avatar for tiwas

Take a look at codeproject article - [url]http://www.codeproject.com/KB/dialog/PrevInstance.aspx[/url]

Member Avatar for tiwas
0
133
Member Avatar for Bapes

Please read this article - [url]http://bytes.com/topic/net/answers/871506-determining-size-data-being-sent-socket-server[/url]

Member Avatar for Bapes
0
228
Member Avatar for botaxsmaniz

[b]>can i modify this template?[/b] Yes. You can. Use profile (state management) feature to add more data/details.

Member Avatar for botaxsmaniz
0
71
Member Avatar for bill_kearns

[b]>What is the best Installer creation software for Windows Forms applications with the least learning curve?[/b] [URL="http://www.c-sharpcorner.com/UploadFile/vishnuprasad2005/SetupProjects12022005022406AM/SetupProjects.aspx"]Setup & Deployment Project[/URL] - VS.NET.

Member Avatar for bill_kearns
0
203
Member Avatar for love_dude1984

[b]>Urgent:How to Split the Data..[/b] [URL="http://msdn.microsoft.com/en-us/library/system.string.split.aspx"]Split[/URL].

Member Avatar for bhavu4u
0
127
Member Avatar for ALOK.53

[code] GridViewRow row = GridView.Rows[e.RowIndex]; TextBox empno = (TextBox)row.Cells[0].FindControl("txtEmployeeNo"); if(empno==null) return; .... [/code]

Member Avatar for reach_yousuf
0
145
Member Avatar for Ashu.sharma

[b]>how is its work[/b] Code uses JavaScript and cssClass. [b]>pl tell me the step to follow[/b] Learn Xhtml/css/Javascript.

Member Avatar for kvprajapati
0
64

The End.