5,346 Posted Topics
Re: [b]>What I want to achieve next is if the powerpoint file is already opened..[/b] System.Runtime.InteropServices.Marshal.GetActiveObject() method. Have a look at - [url]http://support.microsoft.com/?scid=kb;en-us;316126&spid=2509&sid=global[/url] | |
Re: Try this sample - [url]http://www.trirand.com/blog/jqgrid/jqgrid.html#[/url] | |
Re: [b]>i want to be redirected to preform the actual conversion[/b] Ask specific questions, don't ask people to do your homework. | |
Re: [b]>i can't save my data into access using vb.net[/b] I can not see any code that insert row into a database. [b]>when i ru this program, MsgBox("Certificate already exist.!![/b] Clarify in which circumstances you want to show this message. | |
Re: You are working with SqlDataSource, so, you do not have to write any statement for updation or deletion. | |
Re: Check syntax of delete statement. [code] protected void btnSubmit_Click(object sender, ImageClickEventArgs e) { SqlConnection conn = new SqlConnection(WebConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString); SqlCommand comm = new SqlCommand("Delete From [Staff] Where Staff_number=@Staff_Number", conn); comm.Parameters.AddWithValue("@Staff_Number",txtStaff.Text); conn.Open(); comm.ExecuteNonQuery(); conn.Close(); } [/code] | |
Re: [b]>What is Global Class in ASP.Net[/b] ASP.NET application event file. [b]>where it is stored[/b] Root of web application. [b]>what is its functionality?[/b] It allows you to write event handlers that react to [URL="http://msdn.microsoft.com/en-us/library/2027ewzw.aspx"]global events[/URL]. | |
Re: [b]>I keep getting errors when making it. Any advice?[/b] Read - [url]http://www.parashift.com/c++-faq-lite/templates.html[/url] | |
Re: [b]IPAddress.Any[/b] will automatically choose [icode]the network interface for you.[/icode] To listen on a certain interface you have to use the correct IP. You need to specify the IP address on which you want to listen, instead of IPAddress.Any. For example, [code] For Each list In System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces() For Each … | |
Re: Choose page_load() event to add controls dynamically. [code] protected void Page_Load(object sender, EventArgs e) { CheckBox cx=new CheckBox(); ... form1.Controls.Add(cx); } [/code] | |
Re: [URL="http://www.asp.net/%28S%28dfjoah55n4ywsy45zregske4%29%29/Community/control-gallery/browse.aspx?category=37"]Ajax tree.[/URL] | |
Re: [b]>I was wondering if any knows how to specify the patch for the database[/b] Sorry, I'm not quite following the problem. Can you provide some more information about what are you trying to do? | |
Re: [b]>Is there anyway on how can I calculate the paragraph size in centimeters?[/b] Read this article (blog) - [url]http://blogs.technet.com/david_bennett/archive/2005/04/06/403402.aspx[/url] | |
Re: [b]>How can I open the form in the designer so that I can modify the same?[/b] Unfortunately, you can't do anything. | |
Re: Put an array into dictionary. [code] ... engine.put("lcc",lc); String script ="lcc[0]>lcc[1]"; Object bol = engine.eval(script); System.out.println(bol); ... [/code] | |
Re: [b]>I can not able to store file content into byte variable.[/b] Where you want to store these information. In database? In case of memory, information is already stored into FileList array. | |
Re: [b]>My problem is how to search any text in data grid view ?[/b] Use Filter property of DefaultView (DataView) of datasource (DataTabe). | |
Re: [b]>I'm trying to implement MVC pattern (Note: not by using ASP.net MVC framework).[/b] Do not use web.config create your own configuration file instead. | |
Re: [b]>I have the code working so that it locates the file however I receive an error once I click submit.[/b] It cannot work with asp.net (web-application). Look at apegram's post. | |
Re: >[b]Use of unassigned local variable 'ans'[/b] Local variables in c# are initially unassigned. So, initialize the 'ans' variable. [code] char ans='y'; [/code] | |
Re: Use [B]System.Globalization.CultureInfo.CurrentCulture.Calendar.GetWeekOfYear()[/B] method. | |
Re: [b]>Why i can't write a text in the box of a tab ?[/b] This is not an editable area. It is a container region in which you may add other controls (textboxes, buttons, etc). | |
Re: Sorry! Can you maybe provide some more information about what it is you are trying to do? | |
Re: [code] addpro.Parameters.Add("@DATE_ASSIGNEDDATETIMEPICKER", OleDbType.VarChar, 50).Value = [COLOR="Red"]date_AssignedDateTimePicker.Value[/COLOR]; [/code] | |
Re: Welcome manoj.sagoi@gma. If you want to ask question, start your own thread. | |
![]() | Re: Insert a field at specific index. [code] GridView1.Columns.Insert(0, field1) [/code] |
Re: Thanks for your suggestion. This thread is two years old. Thread Closed. | |
Re: [code] Private Sub Delete_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Delete.Click conn_1.Open() Dim sqladapter_1 As SqlClient.SqlDataAdapter = New SqlClient.SqlDataAdapter("select * from Table_1", conn_1) sqladapter_1.Fill(sa, "Table_1") Dim cmb1 As New SqlClient.SqlCommandBuilder(sqladapter_1) For Each row As DataGridViewRow In DataGridView1.SelectedRows DataGridView1.Rows.Remove(row) sa.Tables("Table_1").Rows.Remove(row) Next sqladapter_1.Update(sa, "Table_1") conn_1.Close() End Sub [/code] | |
Re: [code] string str = ((double)values[_row, _column]).ToString("N2"); [/code] | |
Re: [b]>I'm just learning and I'm sorry if you feel this a too basic question.[/b] In fact, your question is not basic. I would like to suggest you to read [URL="http://en.csharp-online.net/Deploying_Windows_Applications%E2%80%94Prerequisites"]this[/URL] article thoroughly. | |
Re: From the Microsoft help for FolderBrowserDialog class: [QUOTE]Typically, after creating a new FolderBrowserDialog, you set the RootFolder to the location from which to start browsing. Optionally, you can set the SelectedPath to an absolute path of a subfolder of RootFolder that will initially be selected.[/QUOTE] Are you possibly setting the … | |
Re: You might want to read [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]Daniweb [/URL]rules and homework policy ~[URL="http://www.daniweb.com/forums/announcement61-2.html"]We only give homework help to those who show effort[/URL]~ if you run into problems and want to ask for help here. | |
Re: [b]>mainly doesnot know the difference between mailitem and postitem.[/b] From [URL="http://msdn.microsoft.com/en-us/library/aa210983%28office.11%29.aspx"]MSDN article[/URL]. SUMMARY: PostItem represents a post in a [B]public folder[/B] that others may browse. Unlike a [icode]MailItem object, a PostItem object is not sent to a recipient.[/icode] You use the Post method, which is analogous to the Send method … | |
Re: Stored-procedure "InsertUser" has three parameters and you are adding four parameters. (There is no out parameter). [code] insertcommand.Parameters.AddWithValue("@username",UserName) insertcommand.Parameters.AddWithValue("@email",Email) insertcommand.Parameters.AddWithValue("@password",Password) [/code] | |
Re: [b]>how to save the jpg file into database using file upload control?[/b] Use/learn ADO.NET classes. [b]>how to retrive that stored jpg file from database and show on image control.[/b] 1. Retrieve binary data from database and save into a file (say temp.gif). 2. Set ImageUrl property of Image control. | |
Re: Read MSDN article - [URL="http://msdn.microsoft.com/en-us/library/bb264562%28SQL.90%29.aspx"]Embedding SQL Server Express into Custom Applications[/URL]. | |
Re: [b]>i try to repeat form depanding on drop down list[/b] In ASP.NET, you cannot add more than one form tag with runat="server" attribute. | |
Re: Read this article - [url]http://www.asp.net/%28S%28pdfrohu0ajmwt445fanvj2r3%29%29/learn/security/tutorial-02-vb.aspx[/url] | |
Re: [b]>I want to ask if there is a ready tool like..[/b] Use [URL="http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.imagebutton.click.aspx"]ImageButton[/URL]. [code] void ImageButton_Click(object sender, ImageClickEventArgs e) { } [/code] | |
Re: [b]>do in search engines like google when u want to search anything in it by entering 2 to 4 characters u can get full related topics of same characters[/b] Use following properties of Combobox, 1. AutoCompleteCustomSource 2. AutoCompleteMode 3. AutoCompleteSource | |
Re: [b]>Can a string be directly stored as a varchar or do I need to convert this to something else beforehand? [/b] If a string variable contains non-English characters then use nvarchar field type otherwise string will be stored as varchar. | |
Re: [b]>i'm new to WPF so i didn't understand the controls that does not exist in WinForms..[/b] The WPF is a graphical subsystem for rendering user interfaces in Windows-based applications. WPF, WPF is built on DirectX, which provides hardware acceleration and enables modern UI features like transparency, gradients and transforms. Have … | |
Re: [b]>Does anyone know how I can speed this up? or a BETTER alternitive?[/b] I suggest to read CodeProject article - [url]http://www.codeproject.com/KB/edit/SyntaxRichTextBox.aspx[/url] | |
Re: [b]>Is there a way to envoke a re-format of IDE so that all code will automatically align in its proper place ?[/b] If you are about visual studio then choose menu option Edit Menu + Advanced + Format Document. | |
Re: Have a look at FAQ - [url]http://social.msdn.microsoft.com/Forums/en/wcf/thread/e744fb34-04de-4200-a21a-9805e3ce6e56[/url] | |
Re: Have a look at this [URL="http://wiki.asp.net/page.aspx/282/passing-value-from-popup-window-to-parent-form39s-textbox/"]article[/URL]. | |
Re: I would suggest to use SELECT with WHERE clause. [code] private void loginBtn_Click(object sender, EventArgs e) { OleDbConnection conn = new OleDbConnection(@"provider = Microsoft.Jet.OLEDB.4.0;Data Source= C:\Documents and Settings\Developers ITD\My Documents\Visual Studio 2005\Projects\Jackson\Jackson\call.mdb"); OleDbCommand com = new OleDbCommand("SELECT username FROM Login WHERE username=@uname and password=@upass"); com.Connection=conn; com.Parameters.AddWithValue("@uname",usernameTextBox.Text); com.Parameters.AddWithValue("@upass",passwordTextBox.Text); conn.Open(); object result=com.ExecuteScalar(); … | |
Re: Correct me if I am wrong. I suggest you to use an expression field. [code] DataTable dt = new DataTable(); dt.Columns.Add("Title"); dt.Columns.Add("Colour1"); dt.Columns.Add("Colour2"); dt.Columns.Add("Expression", typeof(string), "'This ' +Title + ' is available in ' + Colour1 + ' or ' + Colour2"); dt.Rows.Add("A","Cyan","Blue"); [/code] |
The End.