5,346 Posted Topics
Re: Please post the error and show us your code. [b]> i don't how to do this.[/b] You can think about [b]System.IO.File.ReadAllText[/b] and String's [b]replace[/b] method. | |
Re: Try to use if..else. [code] if (soldYesterday > soldToday) { /* statements */ } else { /* statements */ } [/code] | |
Re: Read this article - [URL="http://www.codeproject.com/KB/architecture/NHibernateBestPractices.aspx"]http://www.codeproject.com/KB/architecture/NHibernateBestPractices.aspx[/URL] | |
Re: Take a look at this article/tutorial - [URL="http://msdn.microsoft.com/en-us/library/aa479350.aspx"]http://msdn.microsoft.com/en-us/library/aa479350.aspx[/URL] | |
Re: Take a look at this article - [URL="http://www.asp.net/LEARN/whitepapers/aspnet4/default.aspx"]http://www.asp.net/LEARN/whitepapers/aspnet4/default.aspx[/URL] | |
Re: [b]>what is comment ...?[/b] Comments are usually added with the purpose of making the source code easier to understand but typically ignorable to compilers and interpreters. | |
Re: [b]>While I was trying to put in "using ClLib1;" ...[/b] [URL="http://msdn.microsoft.com/en-us/library/sf0df423(VS.71).aspx"]using[/URL] Directive has two usage: 1. Permit the use of types in a namespace. 2. Create an alias for a namespace. | |
Re: Text from [URL="http://en.wikipedia.org/wiki/Multitier_architecture"]Wikipedia[/URL]. [QUOTE]SUMMARY: In software engineering, multi-tier architecture (often referred to as n-tier architecture) is a client-server architecture in which the presentation, the application processing, and the data management are logically separate processes. For example, an application that uses middleware to service data requests between a user and a … | |
Re: You might want to read the [URL="http://www.daniweb.com/forums/announcement58-2.html"]homework[/URL] policy if you run into problems and want to ask for help here. | |
Re: [b]>I am stuck at a very basic problem.[/b] Please show us your code. [URL="http://msdn.microsoft.com/en-us/vcsharp/aa336809.aspx"]C#[/URL] is an object oriented programming language. | |
Re: SQL [URL="http://www.w3schools.com/Sql/sql_join.asp"]joins[/URL] are used to query data from two or more tables, based on a relationship between certain columns in these tables. | |
![]() | Re: Read error description - [URL="http://msdn.microsoft.com/en-us/library/cb8za975.aspx"]http://msdn.microsoft.com/en-us/library/cb8za975.aspx[/URL]. ![]() |
Re: Hi!, I think your account doesn’t have enough privileges to create the ldb file. Please have a look at this link - [URL="http://support.microsoft.com/kb/251254/en-us"]http://support.microsoft.com/kb/251254/en-us[/URL] | |
Re: Does your project have a reference to System.dll? | |
Re: Take a look at this article - [URL="http://visualbasic.about.com/b/2004/07/31/open-source-vbnet.htm"]http://visualbasic.about.com/b/2004/07/31/open-source-vbnet.htm[/URL] | |
Re: Take a look at MSDN article - [URL="http://msdn.microsoft.com/en-us/library/ka7h9fze(VS.100).aspx"]http://msdn.microsoft.com/en-us/library/ka7h9fze(VS.100).aspx[/URL] | |
Re: Take a look at article - [URL="http://www.c-sharpcorner.com/UploadFile/abylex/ImagesInReportsMicrosoftReportViewerThroughCodeAtRuntimeDynamically05112009051000AM/ImagesInReportsMicrosoftReportViewerThroughCodeAtRuntimeDynamically.aspx"]http://www.c-sharpcorner.com/UploadFile/abylex/ImagesInReportsMicrosoftReportViewerThroughCodeAtRuntimeDynamically05112009051000AM/ImagesInReportsMicrosoftReportViewerThroughCodeAtRuntimeDynamically.aspx[/URL] | |
Re: [b]>I was wondering how to make a progress bar...[/b] Then you should consider [URL="http://www.c-sharpcorner.com/UploadFile/mahesh/WorkingwithProgressBarinCSharp11302005045625AM/WorkingwithProgressBarinCSharp.aspx"]Working with ProgressBar in C#[/URL]. | |
Re: You can use the Regsvr32 tool to register and unregister [b]OLE controls such as DLL or ActiveX Controls (OCX)[/b] files that are self-registerable. Please read this article - [URL="http://support.microsoft.com/kb/815065"]What is a DLL?[/URL] | |
Re: Hi, Take a look at this article - [URL="http://linuxgazette.net/111/ramankutty.html"]http://linuxgazette.net/111/ramankutty.html[/URL] | |
Re: There are number of books but I recommend [URL="http://www.amazon.com/dp/0596001460/?tag=sollc-intl-20"]Object-Oriented Programming with Visual Basic .NET[/URL]. You might want to read MSDN pages - [URL="http://msdn.microsoft.com/en-us/library/sh9ywfdk.aspx"]Visual Basic Reference[/URL]. | |
Re: You might want to read the [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]homework[/URL] policy if you run into problems and want to ask for help here. Please show us your code. We're not the psychic friends network, here to solve all of you problems with a crystal ball and smile. | |
Re: Welcome, You might want to read the [URL="http://www.daniweb.com/forums/announcement58-2.html"]homework[/URL] policy if you run into problems and want to ask for help here. | |
Re: Create a shortcut of 2.xsl file. This shortcut will opens an xsl file with new instance of Excel. | |
Re: > No value given for one or more required parameters.. Error message says that your sql statement (query) has irrelevent column name. Show us your code please. Encase your code in code-tags. | |
Re: Two ways to go: 1. Form a query, [code] myCommand = new SqlCommand("INSERT INTO tblClasses (ClassId,ClassName,Department) VALUES "('" & nudClassId.Value & "','" & txtClassName.Text & "','" & txtDepartment.Text & "')") myCommand.Connection=myConnection myConnection.Open() myCommand.ExecuteNonQuery() myConnection.Close() 'Note: 'Wrap non-numeric (string or date) fields using single quote. [/code] 2. Use Parameterized query (Recommend … | |
Re: Here is a [URL="http://www.codeproject.com/KB/miscctrl/csEXWB.aspx"]link[/URL]. I hope you will get useful information. | |
Re: Think about [URL="http://social.msdn.microsoft.com/Forums/en/winformsdatacontrols/thread/dc9d3acf-ccf8-457f-ba31-ef09fb357aee"]DataGridView[/URL] to print data in tabular form. | |
Re: You might want to read the [URL="http://msdn.microsoft.com/en-us/library/ms178477.aspx"]ASP.NET and IIS Configuration[/URL]. | |
Re: You might want to read the [URL="http://www.anybrowser.org/campaign/abdesign.html"]Viewable with any browser[/URL] and [URL="http://www.maxdesign.com.au/presentation/checklist.htm"]Web Standard checklist.[/URL] | |
Re: >I have a windows application that prints a record in a given page size. I don't think there is a big problem with windows application. Use crystal report or microsoft report. | |
Re: Please try [URL="http://dev.mysql.com/doc/refman/5.1/en/mysqldump.html"]mysqldump[/URL]. | |
Re: Welcome, You wouldn't normally deploy sql server with an application, you normally have sql server running on a dedicated windows server on the network and clients connect to it, otherwise you have no single database for the company - each user has their own database, which doesn't make sense. Take … | |
Re: Subtract two dates. [code] DateTime d1 = DateTime.Parse("11/18/2009 18:15"); DateTime d2 = DateTime.Parse("11/25/2009 01:35"); TimeSpan ts = d2 - d1; Console.WriteLine("Seconds : {0} Minutes : {1}", ts.TotalSeconds, ts.TotalMinutes); [/code] | |
Re: For bug listing, please refere - [URL="http://www.menendezpoo.com/a.php?h=a4905e870cd806"]http://www.menendezpoo.com/a.php?h=a4905e870cd806[/URL] or [URL="http://www.codeplex.com/Ribbon"]http://www.codeplex.com/Ribbon[/URL] | |
Re: Think about common event handler for buttons, [code] ... private void Form1_Load(object sender, EventArgs e) { button1.Click += new EventHandler(commonHandler); button2.Click += new EventHandler(commonHandler); button3.Click += new EventHandler(commonHandler); button4.Click += new EventHandler(commonHandler); } void commonHandler(object sender, EventArgs e) { Button btn = sender as Button; if (btn.BackColor == this.BackColor) btn.BackColor … | |
Re: Store root relative into (daabase) table. [code] string dpath="~/Images/" + txtPrdId.Text.Trim() + ".jpg"; [/code] and use absolute path to save the uploaded file, [code] string ufile=MapPath("~/Images/" + txtPrdId.Text.Trim() + ".jpg"); upPic.SaveAs(ufile); [/code] [u]Don't flag your question as “Urgent”. [/u] | |
Re: Welcome, Use ADO.NET providers API (Use OleDB for MS-ACCESS, SqlClient for MS-SQL server) for database actions (saving/retrieving) and choose Microsoft report or crystal report for printing/viewing. | |
Re: [b]>Error: Invalid postback or callback argument. [/b] Event validation - What came back to the server is not what it sent down. Three possible options. I guess, 1. Disabled the eventvalidation however, it is not a good idea because you lose a little of security. 2. Manage Updatepanel controls. ViewState … | |
Re: I have used IO and Collection classes, [u].aspx markup[/u] [code] <form id="form1" runat="server"> <div> <asp:Repeater ID="Repeater1" runat="server"> <ItemTemplate> <asp:Image ID="img1" runat="server" ImageUrl='<%#Eval("Key")%>' /> </ItemTemplate> </asp:Repeater> </div> [/code] [u].cs - code behind[/u] [code] protected void Page_Load(object sender, EventArgs e) { string username = "xxyyxx"; Dictionary<string,string> t=System.IO.Directory.GetFiles(MapPath(username)).ToDictionary(p => username + "/" + … | |
Re: Take a look at this link - [URL="http://www.microsoft.com/downloads/details.aspx?FamilyID=075318ca-e4f1-4846-912c-b4ed37a1578b&DisplayLang=en"]COM Port in VB.NET[/URL]. ![]() | |
Re: Clear() method clears entire area of drawing surface and fill it specified background color. [code] GraphicsDisplay = pboGraphics.CreateGraphics GraphicsDisplay.Clear(pboGraphics.BackColor) [/code] | |
Re: Qualify [b]string[/b] identifier with [b][URL="http://www.parashift.com/c++-faq-lite/coding-standards.html#faq-27.5"]std[/URL][/b] [code] #include <iostream> int main() { std::string firstName; std::string lastName; int salary; std::cout << "Enter First Name, Last Name, Salary"; std::cin >> firstName >> lastName >> salary; std::cout << "\nFirst Name is " << firstName; std::cout << "\nLast Name is " << lastName; std::cout << … | |
Re: >how do I convert the 'MouseButtonEventArgs....? Class MouseButtonEventArgs is a subclass of MouseEventArgs. [code] private void UserControl_MouseUp(object sender, MouseButtonEventArgs e) { MouseEventArgs ee=e; //Boxing } [/code] | |
Re: [b]>..view it completely(especially save and cancel button).[/b] Try to set margin or padding. Show us your code please. | |
Re: Use [URL="http://php.net/manual/en/function.phpinfo.php"]phpinfo(INFO_MODULES)[/URL] or [URL="http://www.php.net/manual/en/function.get-loaded-extensions.php"]get_loaded_extensions()[/URL]. | |
Re: >But do nothing. I think FormClosing event is not handled properly. Add handler for Form's [b]FormClosing[/b] event. (Look at property windows). | |
Re: Take a look at this article - [URL="http://www.codeproject.com/KB/miscctrl/mschartvc.aspx"]http://www.codeproject.com/KB/miscctrl/mschartvc.aspx[/URL] | |
Re: I assume that the field data type of [b]ssk_matrah[/b] field is float. [code] if (oku4.Read()) { if(!oku4.IsDBNull(0)) { nSSKMatrahi = oku4.GetDouble(0); gmatrah = oku4.GetDouble(1); } } [/code] |
The End.