13,153 Topics

Member Avatar for
Member Avatar for lulu79

I have a LINQ function to get 3 things :: Line, Average of Duration and Count I have a problem to sort it based on Average Of Duration column. Here is my code: Dim group2 As IEnumerable(Of DataRow) = _ From row In Ds.Tables(0).AsEnumerable() _ Group row By LINENAME = …

Member Avatar for lulu79
0
748
Member Avatar for crazydevelopervish

i have one datalist having shopping cart table which retrieves values as per customer_id aspx code. <asp:DataList ID="DataList1" runat="server" DataKeyField="Customer_Product" DataSourceID="SqlDataSource2" onupdatecommand="DataList1_UpdateCommand" oneditcommand="DataList1_EditCommand1" ondeletecommand="DataList1_DeleteCommand" oncancelcommand="DataList1_CancelCommand1"> <HeaderTemplate> <table border="solid 1px black"> <tr> <th style="width: 250px"> </th> <th style="width: 400px"> Item Description </th> <th style="width: 100px"> Price </th> <th style="width: 100px"> Qty …

Member Avatar for kvprajapati
0
179
Member Avatar for HunainHafeez

what is the difference between class diagram and ERD ? i have to present my project , which i developed in asp.net 3.5 and sqlserver 2008, so my Supervisor told me to present diagrams, architetures etc of my project ? so guide me about it, please ?

Member Avatar for pritaeas
0
114
Member Avatar for missc

i am displaying products in list view ! now in <itemTemplate> i'm showing the product name by doing : <b> <%# Eval("ProductName") %></b> now i would like to also show the price of this product. but the price is in another table since prices are different for different types of …

Member Avatar for missc
0
169
Member Avatar for HunainHafeez

i put a code in my website to redirect user to paypal sandbox , after entering his email id , and storing it in session , in return url of paypal sandbox i mentioned a page but it doesn't work, it doesn't maintaing the session variable, it assigns null to …

Member Avatar for HunainHafeez
0
1K
Member Avatar for Sevyt

I am not really experienced with asp.net so forgive me if this is something simple. What would be the best option to have a calendar on your webform(as popup)? I already have a windows application for making appointments(used by secretary, so its a offline program). But now i want to …

Member Avatar for Sevyt
0
69
Member Avatar for crazydevelopervish

my aspx code <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox><asp:DataList ID="DataList1" runat="server" DataSourceID="SqlDataSource1" > <ItemTemplate> Product_Image: <asp:Label ID="Product_ImageLabel" runat="server" Text='<%# Eval("Product_Image") %>' /> <br /> Item_Description: <asp:Label ID="Item_DescriptionLabel" runat="server" Text='<%# Eval("Item_Description") %>' /> <br /> Price: <asp:Label ID="PriceLabel" runat="server" Text='<%# Eval("Price") %>' /> <br /> Qty: <asp:Label ID="QtyLabel" runat="server" Text='<%# Eval("Qty") %>' /> <br …

Member Avatar for crazydevelopervish
0
126
Member Avatar for rpv_sen

Hi Friends I am having a domain with name **domainname.com**, and its working fine. i have create a sub domain named **cds.domainname.com** and i have upload some set of asp.net files. when i was trying to access **cds.domainname.com** it is showing the domainname.com web content. Can any one please help …

Member Avatar for JorgeM
0
178
Member Avatar for joshl_1995

Hello Community, I was wondering if there is a way to make a spark effect the follows a path using WPF. Please Help...

0
156
Member Avatar for tinstaafl

In a recent discussion these code snippets were developed to replace Convert.ToInt32 and Convert.ToDouble. The person I was helping had a very large number of conversions to do. In our tests, using these 2 routines we were able to do over 1 million conversions in less than half the time. …

1
144
Member Avatar for anonymousi

how to write a vb.net code for asp.net to display image in gridview by using the url of the image stored as text in sql database.So whatever the url may be the gridview should show the image using that text as reference instead of just using the name of the …

Member Avatar for anonymousi
0
2K
Member Avatar for cyberdaemon

Good day, I want to use N-TIER for my application.I have DAL and BAL already, since i have that 2 project already. am missing 1 project which is the UI.so i created my UI project. Since am excited to test my simple n-tier i created a simple GUI using gridview …

Member Avatar for cyberdaemon
0
127
Member Avatar for clausont

I am building a new website and migrating all users off a CMS (ExpressionEngine) that uses MYSql. I have all of the users imported into a MS SQL staging table (except passwords). I am trying to create members in asp.net membership by looping through the users in the staging table. …

Member Avatar for clausont
0
214
Member Avatar for shahai.ali

hi i have a table like this for attendence: table name attendence. id std_rolNum std_fname date std_bkfast std_lunch std_dinner i want to make search on the base of `date`, `std_rolnum`, `std_lunch`, `std_bkfast` and `std_dinner`. so that if on the same date if student have already taken breakfast, lunch or dinner …

Member Avatar for shahai.ali
0
323
Member Avatar for shahai.ali

hi m getting the following exception: `System.Data.SqlClient.SqlException: Incorrect syntax near '4'.` the following is what i was trying: public void hostel_cpacity(ManageHostelRoomsBE hmr) { string str; string conString = System.Configuration.ConfigurationManager.ConnectionStrings["Hosteluog"].ConnectionString; SqlConnection con = new SqlConnection(conString); SqlCommand cmd = new SqlCommand(); cmd.Connection = con; con.Open(); DataTable dt = new DataTable(); DataTable dt1 …

Member Avatar for shahai.ali
0
150
Member Avatar for coder91

Pulling column names from a database. Column names aren't user friendly so was wanting to rename them on the pdf. Is there a way to do this? foreach (DataColumn column in dt.Columns) { PdfPCell pCell = new PdfPCell(new Phrase(column.ColumnName, TableHeaderFont)); pCell.BackgroundColor = BaseColor.BLUE; pCell.Padding = 6; contentTable.AddCell(pCell); } this is …

Member Avatar for coder91
0
437
Member Avatar for shahai.ali

hi m new to `asp.net` and m trying to secure my pages so that if the user is not logged the pages are not accessed to him. previously i have done in `php` like in the following: if(!isset($_SESSION['adminlogin']) || $_SESSION['adminlogin'] == ''){ header("Location: index.php"); exit; } but i don't know …

Member Avatar for shahai.ali
0
141
Member Avatar for zeroflee09

I have a different buttons for each item i have, each buttons has a function of which compute total price of item versus the quantity that have been entered in the textbox qty and summing all the total bill of all items to textbox3 or totalbilltext. but it seems that …

Member Avatar for JorgeM
0
160
Member Avatar for fakhra

suggest me any algorithmic sorting problem solved by 'Skiena' . state the problem and give solution.. i ve to do a mini project

Member Avatar for pritaeas
0
35
Member Avatar for lkkkeith

I am trying to connect to db2, but there is an error "system.data.oledb.oledbexception unspecified error" and highlighted the line conn.Open() . I want to know what are the prerequisites for the connection. Or simply my code is doing wrong??? Thank you for any help. Dim Source As String Source = …

Member Avatar for pritaeas
0
61
Member Avatar for weeraa

Im creating ASP.NET project. There is a gridview. in grid it has a hyperlinked column named with "select" when I click "select", i want to get row data. Most of the web sites have a lot of code about this. But I feel there must be a very simple method …

Member Avatar for philiptdotcom
0
114
Member Avatar for missc

i'm trying to make an if statment in asp.net. the if statement is done in the listView . but its not working ! all the if statement is been viewed upon runtime <ItemTemplate> <div class="productItem"> <div> <img src='<%# Eval("ProductImagePath") %>' alt="<%#Eval("ProductName") %>" height="120" width="120" /> </a> </div> <div> <br /> …

Member Avatar for AleMonteiro
0
676
Member Avatar for xanawa

Hi i am using views in order to join 3 tables return (from p in this.Entities.priceTypes join userType in this.Entities.userTypes on p.userType equals userType.userTypeID // join product in this.Entities.products on p.product equals product.productID select new CommonDB.Views.PriceTypeView() { ProductName = p.product, Price=p.price, }); I managed to join two tables but i …

Member Avatar for mwatson81
0
254
Member Avatar for james19862012

Hello all, I'm drawing a blank on how I should proceed with the final steps in completing my website. I guess to sum it up is I would essentially like to let the users be able to submit something that shows up on the home page and stays there (this …

Member Avatar for AleMonteiro
0
170
Member Avatar for ChrisHunter

Now then, It's not often I start a thread but I'm struggling to find the answer after a lot of tries on Google. The issue is that I have a "Profession" comboBoxCell as well as a "Discipline" comboBoxCell which is populated/ repopulated with a short list of disciplines dependent on …

Member Avatar for james6754
0
2K
Member Avatar for mlesniak

I have a VB.NET application that has a site.master with a navigation menu in landscape format. In my default.aspx I have a multiview component. When I select the second view in my multiview the navigation menu momentarily changes to portrait format and then back to landscape format. Ideally, I would …

Member Avatar for JorgeM
0
172
Member Avatar for Depreciated

Greetings I have a USB RFID scanner. While I have this form1 up, I want to send any keyboard input and put it in a textbox which is in another form(say form2). I tried using this code but to no avail. The first form is named "MainMenu". Every time of …

Member Avatar for Depreciated
0
679
Member Avatar for tuse

Hi Folks - back on DaniWeb after a long time. I used to be an active developer a few years back - now I am leading a team that needs some help. So here goes: We need to create a dynamic menu - (dynamic in the sense that the values …

Member Avatar for JorgeM
0
96
Member Avatar for rubalins

Hi, I'm new in wpf applications. I'm trying to transform the overlay image that is on the background image by rotating, scaling and skewing. After do transforms in wpf UI, I'm trying to generate that image with its modifications through image magick. Seperatly only the scaling or rotation or skewing, …

Member Avatar for nmaillet
0
163
Member Avatar for fabio.bozzo

Hi to all, I'm using the WIA Aut. Library [url]http://www.microsoft.com/downloads/details.aspx?familyid=a332a77a-01b8-4de6-91c2-b7ea32537e29&displaylang=en[/url] , trying to capture photos from 5 digital cameras (Nikon D90) USB-connected to my pc. Now, I partially achieved my goal, what I do is: - loop through the attached devices, connecting to every camera; - fotocamera.ExecuteCommand (WIA.CommandID.wiaCommandTakePicture) ; - …

Member Avatar for vince8290
0
523

The End.