Then how is possible to run desktop application in internet ...more than the persons and various location...Please help me ..I want to develop my own desktop application that should be used in internet for my client..They will be used their own data transaction from various location. Please suggestion for that which is the best choice for front-end development and back-end. Pls mention.
Windows Form / Windows Application and Desktop Application are those application which run in windows operating system in desktop mode not in web mode having different structure than web and hence they are run through executable and after publishing your source code you can upload it to live server.
Desktop Application create through File => New project in Visual Studio .net and chose the language in which you want to develop most widely used are C# and VB .
The Best backend database for application is Microsoft SQL Server.But depend on Requirement you use oracle, mysql or attach any other oledb.
Ofcourse, it will select the first item, since you are just binding the dropdownlist, i do not see the code line which is making the particular item as selected. i mean, if you wanted to make 2nd item to selected then you could have written as below.
ok fine, but this code is selecting the second item, I f i need to select the 3rd one (while application is running) it auto select the 2nd item. I need that whatever item I am selecting it should be there as selected.
I need selectedindexcahged event for some work, without AutoPostBack = true it is not possible. So I need to keep this property to true. By the way I tried by making it false but the same result I got, it didn't give the solution
So, Since you are re-binding the grid, Row_databound is firing, and dropdownlist is also re-binding and the default value is selecting. so, handle the dropdownlist selected index changed evnet, but do not rebind the grid, or else, before binding check the edit index whether edit index is equal to -1 or not. if EditIndex = -1, then bind the grid, otherwise leave as it is.
Hi..I am currently working on a project on Library Management System. I ve created a database to store the books in the Library. While adding books, i want to add multiple copies of the same book. i need to create a unique book ID for each book..how can i make multiple entries of the same book wid different IDs for each?
eg., Book name: Engineering Thermodynamics
Author: P K Nag
Category: Mechanical Engineering Quantity: 5
i need to add this data to the database making 5 different entries for the same book wid a unique ID. Plz help me!
using (SqlConnection cn = new SqlConnection("Data Source=127.22.125.11,1985;Initial Catalog=Test;uid=testing;pwd=123456"))
using (StreamReader sr = new StreamReader(Request.InputStream, Encoding.UTF8))
Response.ContentType = "text/plain";
c = Request.QueryString["query"]; //for debugging with the browser
//you can set the query by adding the query parameter For ex: http://127.0.0.1/test.aspx?query=select * from table1
if (c == null)
c = sr.ReadToEnd();
SqlCommand cmd = new SqlCommand(c, cn);
SqlDataReader rdr = cmd.ExecuteReader(CommandBehavior.CloseConnection);
List<dictionary<string, object="">> list = new List<dictionary<string, object="">>();
Dictionary<string, object=""> d = new Dictionary<string, object="">(rdr.FieldCount);
for (int i = 0; i < rdr.FieldCount; i++)
d[rdr.GetName(i)] = rdr.GetValue(i);
j.MaxJsonLength = Int64.MaxValue;
Error occurred. Query=select top(60000) * from [dbo].tblTesting
at ASP.test_aspx.Page_Load(Object sender, EventArgs e) in testing.com\test.aspx:line 44