- 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
- Interests
- ecommerce development , Sharepoint Development
106 Posted Topics
Re: [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 … | |
Re: Hi Thanks for code of insert query. It will help us in out project. | |
Re: 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. | |
Re: 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 … ![]() | |
Re: you can bind the data in datagrid or listview | |
Re: generate database connection string using .net sqldatasource | |
Re: yes, you can pass field parameter as well as table name in stored procedure for inserting values | |
Re: when you was installed MS-SQL, have u selected mixed mode authentication or not ?..you must be select mixed mode authentication for your solution | |
Re: 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 | |
Re: 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 | |
Re: SELECT 'name','owner' FROM table WHERE 'verified'='1' AND (name LIKE '$%term%' OR 'owner' LIKE '%$term%') for your solution | |
Re: try this ordering SELECT DISTINCT idNo FROM table WHERE entrytype='1' ORDER BY started asc, started LIMIT 0,10 | |
Re: split your Name values with "," and then use as per your needs | |
Re: using virtual database all network computers can access with same login and password | |
Re: in product table you can store manufacturer serial number and use as per your needs, no need to create another table | |
Re: login in to hosting control panel and give rights to your MsAccess database | |
Re: use select distinct payroll.empid, employees.firstname, payroll.basicpay, payroll.allowance1, count(month) AS monthcounter FROM payroll for distinct rows | |
Re: yes, MS SQL support multilingual | |
Re: for optimizing query you must manage table structure, field type and relation ship with tables | |
Re: 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] … | |
Re: 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 | |
Re: click on "MicrosoftSQL-2008->ConfigurationTools->SQL server surface Area configuration" . configure this sql server surface area for network access. Then restart your computer | |
Re: 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 | |
Re: 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] | |
Re: change your url like NavigateUrl="http://localhost/website1/default2.aspx" | |
Re: make query select top 1 * from table order by id desc | |
Re: you can get query string values using collection of parameter and then add it to your navigation url | |
Re: [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. … | |
Re: [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 … | |
Re: <asp:RegularExpressionValidator ID="REtxtMobileNo" ControlToValidate="txtMobileNo" ValidationExpression="^((-)?[0-9]+(\.[0-9]+)?)$" Display="None" runat="server" ErrorMessage="Invalid Mobile Phone"></asp:RegularExpressionValidator> try this code | |
Re: [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 … | |
Re: [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 … | |
Re: 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 … | |
Re: ALTER TABLE table1_name MODIFY field_name VARCHAR(50) NOT NULL; for modifying table field size | |
Re: While deleting records from a table you need to ensure that that there is no dependency child record in any other table (foreign key and primary key concern), values of which are dependent on the records of the current table. Remove dependencies from tables and then try for delete it … | |
Re: SELECT studId, courseId, max(yearTaken), grade, count(courseid) as countcourses FROM table GROUP BY studId, courseId | |
Re: select *,expression as HRA, expression as DA, expression as netsalary from employess *Here expression like - 100/10 | |
Re: 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 … | |
Re: 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] | |
Re: 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. | |
Re: Hi You can refer following code for back and logout. <a href="logout.jsp" target="_new" onclick="location.replace('browserClose.php');">Logout</a> | |
Re: 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] | |
Re: 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] | |
Re: 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; // … | |
Re: Hi Thanks for code. I have same problem.This code will help me to solve the issue of gridview. | |
Re: Hi You can use following code to clear your textbox. textbox1.text=""; | |
Re: 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] |
The End.