5,346 Posted Topics
Re: [b]>how to access xml using vb6?[/b] Document Object Model - MSXML library. | |
Re: [b]>How can we enable MTOM feature on the asp.net Client ?[/b] Configure [URL="http://msdn.microsoft.com/en-us/library/ms977317.aspx#newwse3_topic5"]MTOM[/URL] and also have a look at tutorial - [url]http://dotnetslackers.com/articles/aspnet/GettingStartedCreatingWSEEnabledWebService.aspx[/url] | |
Re: Welcome. Ask specific questions, don't ask people to do your homework. Please read [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]member rules[/URL] and [URL="http://www.daniweb.com/forums/announcement61-2.html"]homework[/URL] policy at daniweb. | |
Re: Double thread - [url]http://www.daniweb.com/forums/thread262145.html[/url] Thread Closed. | |
Re: [b]>Now I want to add row in datagrid. And I want to save newly added data to same XML file.[/b] Serialized that object. I don't think that there will be any problem. Take a look at this sample, [code] namespace org { public class Student { public int Roll { … | |
Re: [b]>how to structure C# web application?[/b] Have a look [URL="http://msdn.microsoft.com/en-us/library/ms227432.aspx"]ASP.NET Web Site Structure.[/URL] [b]>how can I do "separation" of code in much better way ?[/b] Have a look at MSDN tutorial -[URL="http://msdn.microsoft.com/en-us/library/aa581779.aspx"] Creating a Business Logic Layer[/URL]. | |
Re: Welcome, [b]>how to save/retrive image into database in vb.net[/b] You need a blob (binary large object) or image field type to store the content of image file into a database. Use [URL="http://coder000.com/store-retrieve-binary-data-blobs-audio-video-image-exe-etc-in-database-in-vb-net/"]ADO.NET[/URL] database integration class library to store/retrieve images. | |
Re: Copy DBAddress.mdb file into your project folder. | |
Re: Try - [url]http://www.startvbdotnet.com/[/url] | |
Re: Have a look at this thread - [url]http://www.google.com/support/forum/p/maps/thread?tid=46762cf678af4fdc&hl=en[/url] | |
Re: [b]>how could i pass the data coming from the left frame into the bottom frame[/b] You have following options: 1. Querystring 2. Session 3. Cookies. | |
Re: [b]>i dont have any code so far >do any1 can help me >thanks in advance for those helping[/b] That's not help. That would be doing your homework for you. Read the forum rules. | |
Re: [b]>How can I do this?[/b] Classes of Oledb namespace. See, [code] str="UPDATE [Sheet1$A1:A1] SET B1=90"; [/code] | |
Re: [b]>hello i need to learn C#[/b] Purchase some good books. [b]>i am in my 8th semester of bachelors..i chose Network Monitoring System to develop kindly help me how to work on it...[/b] Mr. verutak, a member of daniweb quotes: [QUOTE]If I have to develop a project I'd rather like it … | |
![]() | Re: [b]>i want to download a file from a SSL web to my local(C:\)[/b] Think about WebRequest class. Read sknake's post - [url]http://www.daniweb.com/forums/thread203253.html[/url] ![]() |
Re: [b]>Unable to transfer data from one form to another[/b] In order to solve your problem you have to post complete code. If DsgnForm is a name of Form class then, [code] DsgnForm.InsertOE = txtOrderEntry.Text DsgnForm.InsertFN = txtFirstName.Text DsgnForm.InsertLN = txtLastName.Text DsgnForm.InsertAD = TxtAddress.Text DsgnForm.Show() [/code] OR if it is an … | |
Re: [b]>can this be used on windows mobile[/b] Yes. | |
Re: [b]>What am aiming for is processing a XML file into an array[/b] The shortest way to solve your problem is DataSet. Use ReadXml() method of DataSet class | |
Re: > What am I missing? Please post complete code. Wrap programming code within posts in code blocks. | |
Re: [b]>i know the query command but I don't know how to display it to one data grid[/b] Create dataAdapter instance and use its Fill method to populate datatable, [code] string query="put_your_select_statement_here"; OleDbDataAdapater adp=new OleDbDataAdapter(query,"put_connection_string_here"); DataTable dt=new DataTable(); adp.Fill(dt); dataGridView1.DataSource=dt; [/code] | |
Re: [b]>with their own score (Integer type) and grades (String Type).[/b] Do not use object type. Think about a class having score and grade fields, [code] Public Class TwoD Private _score As Integer Private _grade As String Public Sub New() _grade = String.Empty End Sub Public Sub New(ByVal _score As Integer, … | |
Re: Non-numeric field value must enclosed with [b]'[/b] (single quote). [code] INSERT INTO `details` (`Forename`, `Surname`, `Username`, `Password`) VALUES ('" & ForenameTextBox.Text & "', '" & SunameTextBox.Text & "', '" & UsernameTextBox & '", '" & PasswordTextBox & "')" [/code] | |
Re: I would suggest to use pull model reporting services. | |
Re: Use [URL="http://msdn.microsoft.com/en-us/library/system.windows.forms.maskedtextbox.aspx"]MakedTextBox[/URL] control. | |
Re: [b]Microsoft.VisualBasic.FileIO.TextFieldParser[/b] is a very good option to parse/split text. | |
Re: [b]>I would like to know if there is any method by which I can directly get all the rows currently shown in the datagrid in a datatable.[/b] Use ChildTable propety of relation object. [code] objdsInvoice.Relations("put_your_relation_name").ChildTable [/code] | |
Re: AMACHIDE. We welcome you and your post. Firstly, I would like to suggest you that do not resurrect old/solved threads. Please, read daniweb [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]member rules[/URL]. Thread Closed. | |
Re: [b]>Is there a way to print the contents of each tab and have each tab print on a separate page?[/b] PrintForm control. [code] .. PrintForm1.PrintAction = Printing.PrintAction.PrintToPrinter For i As Integer = 0 To Me.TabControl1.TabPages.Count - 1 Me.TabControl1.TabPages(i).Show() PrintForm1.Print(Me, PowerPacks.Printing.PrintForm.PrintOption.FullWindow) Next .. [/code] | |
Re: Try this, [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Sample</title> <style type="text/css"> .increaseFont, .decreaseFont, .resetFont { color:#CCCCCC; font-size:14px; float:left; margin:10px; } </style> <script type="text/javascript" language="javascript" src="jquery-1.2.2.pack.js"></script> <script type="text/javascript" language="javascript"> $(document).ready(function(){ // Reset Font Size var originalFontSize = $('html').css('font-size'); $(".resetFont").click(function(){ $('html').css('font-size', … | |
Re: Welcome. Please, show us your code. Wrap programming code within posts in code blocks. | |
Re: [b]>java.lang.NoSuchMethodError: main Exception in thread "main"[/b] Error description tells you to check signature of main() method. [code] public class Test { public static void main ([B]String args[][/B] ) { TwoNumbersTester test = new TwoNumbersTester(); test.startTest(); } } [/code] | |
Re: [b]>how can i implement this in javascript language in asp.net form?[/b] In asp.net web form add <script> tag, [code] .... <head runat="server"> <script type="text/javascript"> // put javascript code here... </script> </head> .... [/code] | |
Re: [B]VB.NET[/B] has a project level setting to check for overflow. (Project properties + Compile Tab + Advanced Compiler Option + Chech "Remove integer overflow checks") [B]C#[/B] statements can run in either a [icode]checked or an unchecked context.[/icode] In a checked context, arithmetic overflow raises an exception error. In an unchecked … | |
Re: public property in [U]code in .ascx.cs file[/U], [code] public string Text { get { return TextBox1.Text;} set { TextBox1.Text=value;} } [/code] | |
Re: [b]>I need to put the TabControl in the WebApplication...but i dont know how i do that???[/b] [URL="https://www.asp.net/AJAX/AjaxControlToolkit/Samples/Tabs/Tabs.aspx"]AJAX[/URL] controls toolkit. | |
Re: You must have to read - [url]http://www.microsoft.com/Sqlserver/2008/en/us/compact.aspx[/url] SUMMARY: Top Features [LIST=1] [*]Free to use and distribute [*]Supports desktops and mobile devices [*]Small footprint for easy deployment [*]Fully embeddable architecture [*]No administration required [*]Single file, code-free database format [*]Support for ClickOnce, XCopy, MSI, CAB, and non-admin embedded installation options [*]Supports all … | |
Re: [b]>"s_id" should display in "RollNo" column ..should be editable in gridview.[/b] Customize Columns collection. (ie. Adds three columns programatically or have a DataTable with three columns) [b]>how can I add marks in Marks column in datagrid during runtime and those marks should save in table named "result" having one of … | |
Re: Welcome to Daniweb. Firstly, read the forum [rules](http://www.daniweb.com/forums/faq.php?faq=daniweb_policies). For easy readability, always wrap programming code within posts in code blocks. @-quoting is that escape sequences are not processed. myConn.ConnectionString = @"Data Source=.\SQLEXPRESS;AttachDbFilename=D:\Postmyadd\App_Data\postmyad.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True"; | |
Re: [b]>Update Datagridview in multi-user environment[/b] Refresh the DataSource. | |
Re: I'm glad you got it helpful. If you want to ask question, start your own thread. Thread Closed. | |
Re: [b]>how to search the file using the C#.net windows application ? [/b] Using System.IO.Directory.GetFiles() method. | |
Re: I would like to suggest you to use [URL="http://msdn.microsoft.com/en-us/library/8xs8549b.aspx"]BackgroundWorker[/URL]. | |
Re: [b]>Any idea how to get the main assembly info?[/b] Sorry, I'm not quite following the problem. My understanding from your description is that you are looking for [URL="http://msdn.microsoft.com/en-us/magazine/cc163641.aspx"]Assembly Dependencies[/URL]. | |
Re: [b]>how can we check whether database query has returned any records or not ? >my query is like "select max(empid) as maxid from employees"[/b] ExecuteScalar() method of Command class return null or max empid. | |
Re: [b]>i just need the solution for calculating my balance...[/b] Simply, execute select statement. [code=text] Select opening_balance from table1 where itemcode='1001' select sum(quantity_purchased) from table2 where itemcode='1001' select sum(no_of_issue) from table3 where itemcode='1001' [/code] | |
Re: [b]>Are the pre-defined login tools on Visual Studio good enough?[/b] Of course but you have to customize it. Authentication, authorization, user accounts, and roles or profile are major features. You can take advantage of a lot of the tools and features that the framework provides for you by writing a … | |
Re: [URL="http://articles.techrepublic.com.com/5100-10878_11-1044759.html"]Article[/URL] - DOM in VB.6. | |
Re: [b]>Anybody know printing with sorting in visual basic 2008?[/b] 1. Microsoft Report. 2. Crystal Report. 3. Microsoft SQL Server Reporting service. | |
Re: [b]>I've been all over the internet and nothing worked. I think it might be because i am using vb.net 2008.[/b] Take a look [URL="http://lmgtfy.com/?q=Microsoft Report with vb.net"]at[/URL]. [b]>where I can link certain data in my report to other files in my project[/b] Use Form_load or any other handler (click etc.) … | |
Re: You may show a form (instance) into the area of panel by setting false value to TopLevel property of form. [code] Form fm=new Form(); fm.TopLevel=false; fm.Show(); Panel1.Controls.Add(fm); [/code] |
The End.