- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 8
- Posts with Downvotes
- 8
- Downvoting Members
- 4
94 Posted Topics
[QUOTE=Wiizl;829426]I'm imitating progressbar value change like: [CODE]private void playAnimation() { for(int i=1;i<=100;i++) { this.progressBar1.Value = i; System.Threading.Thread.Sleep(20); percent = i; } }[/CODE] At the same time I try to run another thread, to update label text like "...% completed". Of course I couldn't change text of label that was created …
Hi You can refer the following code. loginButton.Attributes.Add("onclick", "window.showModalDialog('/MyWebsite/login.aspx', null, 'status:no; dialogWidth:360px; dialogHeight:229px; help:no; scroll:no; menubar:no; resizable:no')"); It will help you to solve the issue of button not working.
Hi This Code is very useful to display data from textbox to sqldatabase OnButton Click Dim sqlStmt As String Dim conString As String Dim cn As Sqlconnection (Won't reconize SQL connection) Dim cmd As SqlCommand (Won't reconize SQL command) Try sqlStmt = "insert into Table1 (FName) Values (@Fname) " conString …
generate database connection string using .net sqldatasource
yes, you can pass field parameter as well as table name in stored procedure for inserting values
when you was installed MS-SQL, have u selected mixed mode authentication or not ?..you must be select mixed mode authentication for your solution
have you started your server again using right click on database and click on start. try another way... write services.msc in "Run" and then start Workstation Automatically...it will start your database services
Merging Two Tables(From Diffrent Database)Automatically -- you need to make cursor , using cursor take data from one datasource and then fill data to another database
try this ordering SELECT DISTINCT idNo FROM table WHERE entrytype='1' ORDER BY started asc, started LIMIT 0,10
split your Name values with "," and then use as per your needs
using virtual database all network computers can access with same login and password
in product table you can store manufacturer serial number and use as per your needs, no need to create another table
login in to hosting control panel and give rights to your MsAccess database
use select distinct payroll.empid, employees.firstname, payroll.basicpay, payroll.allowance1, count(month) AS monthcounter FROM payroll for distinct rows
yes, MS SQL support multilingual
for optimizing query you must manage table structure, field type and relation ship with tables
SELECT DISTINCT STUFF( (SELECT ', ' + [category] from [tblCategory] FOR XML PATH('')),1,1,'') as [category] FROM [tblCategory] MSSQL Merge multiple rows in single row with string store the row values into a variable using COALESCE in SQL. DECLARE @str VARCHAR(100) SELECT @str = COALESCE(@str + ', ', '') + [category] …
make master table for paymenttypes and save all four Paymnet, Deposite, Balance and insurance in this table and use its foreignkey to insert in another table where you save other data related this payment
click on "MicrosoftSQL-2008->ConfigurationTools->SQL server surface Area configuration" . configure this sql server surface area for network access. Then restart your computer
copy firstweb.com's connection string and paste to secondweb.com's connection string. It will allow access to firstweb.com data in secondweb.com website
good example for SQL Server 2005 Audit Log Using Triggers for generating log while inserting rows in database [url]http://aspadvice.com/blogs/andrewmooney/archive/2007/08/20/SQL-Server-2005-Audit-Log-Using-Triggers.aspx[/url]
change your url like NavigateUrl="http://localhost/website1/default2.aspx"
make query select top 1 * from table order by id desc
[QUOTE=bhagvad301;1542808]Hi, I made setup file, i install it on windows 7, it install successfully , when i execute using shortcut key or .exe file it gives a message "application has stop working" and not open any form and close automatically.[/QUOTE] i think you missing some component while making DLL setup. …
[QUOTE=miwa1;1517319]hey, i meed to do a school project in asp.net and i am relly bad, i need to connect database to a login (i use visual 2008 and sqlserver 2005), this is the start poin, pls help me whith this, thanks[/QUOTE] Your question is totally fundamental.So,if u have no database,you …
<asp:RegularExpressionValidator ID="REtxtMobileNo" ControlToValidate="txtMobileNo" ValidationExpression="^((-)?[0-9]+(\.[0-9]+)?)$" Display="None" runat="server" ErrorMessage="Invalid Mobile Phone"></asp:RegularExpressionValidator> try this code
[QUOTE=neo.mn;1542783]Hi Everyone, I am developing a desktop based inventory application using C#.NET. To make the interface more professional I am taking some concepts from other software. Therefore I have downloaded some trial version software from internet. The problem is I would like to develop a MDI Parent Form whose content …
[QUOTE=DaveTran;1542484]I've created a ray distribution method that generates rays over a fixed angle with an even distribution along the xz plane. [CODE] /// <summary> /// Generates rays that are evenly distrbuted in a circular formation around a point but are restricted to an angle /// </summary> /// <param name="point">The point …
Dim myCommand As New SqlCommand("connectionstring", myConnection) myCommand.CommandType = CommandType.StoredProcedure Dim paraProjectName As New SqlParameter("@ProjectName", SqlDbType.NVarChar, 50) paraProjectName.Value = CmbProjectName.SelectedItem.Value myCommand.Parameters.Add(paraProjectName) Try ' Open the connection and execute the Command myConnection.Open() myCommand.ExecuteNonQuery() TimeId = paramID.Value Catch ' failed to create a new user TimeId = 0 Finally ' Close the Connection …
Hi You can refer below code for convert asp.net to pdf. [code] public string Run(string sRawUrl) { string sFileName = GetNewName(); string sPage = Server.MapPath("" + sFileName + ".html"); string sUrlVirtual = sRawUrl; StringWriter sw = new StringWriter(); Server.Execute(sUrlVirtual, sw); StreamWriter sWriter = File.CreateText(sPage); sWriter.WriteLine(sw.ToString()); sWriter.Close(); System.Diagnostics.Process pProcess = new …
Hi The Calendar control is used to display a calendar in the browser. To get more detail about calendar just go for this below link. [url]http://www.w3schools.com/aspnet/control_calendar.asp[/url]
Hi I have same problem.thanks for this code. It will help me to solve the issue of display and search using 2 gridview in 1page.
Hi You can refer following code for back and logout. <a href="logout.jsp" target="_new" onclick="location.replace('browserClose.php');">Logout</a>
Hi SELECT department, SUM(sales) as "Total sales" FROM order_details GROUP BY department; this code shows the use of Summing up rows. To get more detail about code go this below link. [url]http://techonthenet.com/sql/sum.php[/url]
Hi For export in pdf file you can refer following link. [url]http://wiki.services.openoffice.org/wiki/Documentation/OOo3_User_Guides/Getting_Started/Exporting_to_PDF[/url]
Hi You can refer following code for login control and connection. [code] protected void Login1_Authenticate(object sender, AuthenticateEventArgs e) { bool Authenticated = false; Authenticated = SiteLevelCustomAuthenticationMethod(Login1.UserName, Login1.Password); e.Authenticated = Authenticated; if (Authenticated == true) { Response.Redirect("Home.aspx"); } } private bool SiteLevelCustomAuthenticationMethod(string UserName, string Password) { bool boolReturnValue = false; // …
Hi You can use following code to clear your textbox. textbox1.text="";
hi If you want to know how to use dropdownlist than just go for following links. [url]http://www.codersource.net/asp-net/asp-net-articles/dropdownlist-in-asp-net.aspx[/url] Or [url]http://www.w3schools.com/aspnet/control_dropdownlist.asp[/url]
Hi You can refer following code for Numbers and character validation. [CODE]function save() { if (document.getElementById("numberField").value == "") { alert("This field must not be empty!"); } else if (!document.getElementById("numberField").value.match(/^\d+$/)) { alert("Field must be a number!"); } else if (document.getElementById("publishDate").value == "") { alert("You must specify a date!"); } else if …
Hi You can refer following code for increment number.It will help you. [CODE]CREATE TABLE animals ( id MEDIUMINT NOT NULL AUTO_INCREMENT, name CHAR(30) NOT NULL, PRIMARY KEY (id) ) ENGINE=MyISAM; INSERT INTO animals (name) VALUES ('dog'),('cat'),('penguin'), ('lax'),('whale'),('ostrich'); SELECT * FROM animals;[/CODE] If you want to more detail about it than …
Hi If you want to get more detail about login box in asp.net than you have to refer following link. [url]http://www.asp.net/security/tutorials/an-overview-of-forms-authentication-vb[/url]
Hi Here following example shows the example of message box. MessageBox.Show("YourMessageHere", "YourBoxTitleHere", MessageBoxButtons.YourChoiceOfButtonsHere, MessageBoxIcon.YourChoiceOfIconHere);
Hi Session is one of the EJBs and it represents a single client inside the Application Server. Stateless session is easy to develop and its efficient. As compare to entity beans session beans require few server resources. To get more detail about session refer following article. [url]http://www.roseindia.net/javabeans/sessionbeantutorial.shtml[/url]
Hi you can refer the following code for remember cookie. [CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <% If request.form("remember") = "ON" Then ' Set cookie(s) to expire at later date, for example response.cookies("username") = value response.cookies("username").Expires = (Date+365) End If %> <html> <head> <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC …
Hi To solve the issue of showing the immediately saved data you can refer following article. [url]http://forums.asp.net/t/1627414.aspx?How+to+display+input+controls+to+save+data[/url]
Hi You can refer following code for row inserting. insert into recon values(1,'sri',-1,'20090806');
The End.
crishjeny