or
I want to use two different WebUserControl forms , one for insert and one for edit.
I have tried the following logic to implement this. But it is not working.
| //Get Counts and Bind to Bar Chart |
| var itemdata = from x in Data.Items |
| join r in Data.SubItems on x.ItemID equals r.ItemID |
| join d in Data.Documents on r.DocID equals d.DocID |
| where d.DocID == documentID |
| select new |
| { |
| MajorCount = getCount(x.ItemID, r.Lookup1.Value, "Major"), |
| MinorCount = getCount(x.ItemID, r.Lookup1.Value, "Minor"), |
| NonCount = getCount(x.ItemID, r.Lookup1.Value, "Non") |
| }; |
| //Bar Chart |
| PerformanceChart.DataSource = itemdata; |
| PerformanceChart.DataBind(); |
Line 1: <%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Tools.master.cs" Inherits="iTools.MasterPage.Tools1" %>
Line 2:
Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|

