I have used the script as follows to display simple alert and confirmation. On confirmation if the result is true i have to execute button click code that was written but i am unable to do thatÂ
I have this ListView that has a Drop Down List.Everything works fine (I think/hope) except that the drop down list are not showing its result correctly.This is the code.
Front-End [Code]....
The code behind consist of the page_load and the ItemDataBound [Code]....
I'm having a problem with my Linq to XML query. I'm getting the result data I want, but it's nested so deep that there must be a better way.Here is my XML:
[Code]....
I'm trying to get a list (simple string[]) of all Item IDs where Category Names contains "Other".Here is my Linq:
[Code]....
[Code]....
Here is a snapshot of my result from Visual Studio:The results I want are there ("item100", "item400", "item500"), but buried so deeply in the results var.
I need to create a slide Gallery on multiple rows (two) with jquery.There is already made some plugin, or can give me an example to be able to realize?
After insert a grid or any other tool into an aspx page it generates enough code for that tool(for ex.): <dx:ASPxGridView ID=ASPxGridView1 runat="server"></dx:ASPxGridView>...
But,after adding any property to this control (like Show group Panel) it generates more than 3000 lines of code in aspx page () and after adding any other tool the code is increasing in a enormous way...
How can I reduce the code, maybe there is a property(settings) in DevExpress option...
I am trying to display this query result in an aspx page.
It is very slow in loading. Here is the query. The inner query inside the outer quesry is the problem.(Please see the underlined part in the query) - (If I remove that part it is very fast.)
select
top 500
--This column is the issue ,Governing_Class=( case when exists (select top 1 tqc.class_code from t_quote_class tqc inner join t_quote_class_premium tqcm on tqc.class_code =tqcm. class_code where tqc.appid=pi.appid and tqc.class_code not in('8742' ,'8810','7380') order by tqcm.premium_amt desc ) then ( select top 1 tqc.class_code from t_quote_class tqc inner join t_quote_class_premium tqcm on tqc.class_code =tqcm. class_code where tqc.appid=pi. appid order by tqcm.premium_amt desc ) ......... From tables
Not sure if this is the right forumn for this kind of question.Basically I have just started with MVC and also have done simple programming and have not used Interfaces earlier.I encountered this 3 line code used in my company application and was wondering if someone can explain me this. Thanks.
I use the follwoing code to get a value from the SQL query. But now i would like to use some sql function like Sum() count() ... and i would like to get the result of that. vb Code: Dim constg As New SqlConnection constg.ConnectionString = "Data Source=m......." constg.Open() Dim payrollquery As String '= ("SELECT * FROM xxxxx.nnnnn WHERE ID IN(" & ID & " ) AND sent = 'U' ") Dim cmd3 As New SqlCommand(sqlstr, constg) Dim reader As SqlDataReader = cmd3.ExecuteReader
i need to make 2 funtions on an ASP.NET c# page working with an SQL server (using Visual Web Developer 2010 Express) the 1st one is a simple serach and i've done the 2nd thing is an update , the sp is like:(it works in SQL)
UPDATE [lens] SET [qty] = @b+@c WHERE [id] = @a
@a is the id which user input in the textbox1
@b is an number user input in the textbox2
now @c should be the result of an query "select [qty] from [lens] where [id] = @a"
so ,the new value of [qty] will be the "old valus"+"valus in textbox2"
I have convert code from C# to vb.net, I have done some type tweaks, but the code still does not work. I need code in vb.net.I have created a test project here: http://www.screencast.com/t/M2Y2MzVkZDIFile : 20MB (GeoIP data files is the reason for the size)Please run the project and run the test pages. Could you help me fix the code and please make NOTES ON YOUR CHANGES.I need the final result in vb.netThe code uses maxmind.com free GeoIP database to get country and city etc from an IPAddress.