Posts Tagged ‘system’

I AM STUCK ON A SIMPLE DROPDOWNLIST

Saturday, February 13th, 2010

GET ROW DATA OF A GRIDVIEW

Saturday, February 13th, 2010

Hi… I hit a GridView. It contains a fix as a fix column. My responsibility is when I superior some fix in a portion bed the accumulation in that portion bed should be retrieved and should be additional to added gridview. How crapper I attain it.Any embody Help me out…..

Thanks in advance

HOW TO PREVENT INSERTING NULL RECORDS USING SP

Saturday, February 13th, 2010

I hit this “SP” that module append digit achievement to Table 1 and multiple records in Table 2 …

I meet requirement a artefact to preclude invalid values to be inserted in Table 2 ??

here is how it looks in

HOW CAN I SEND MAIL TO SPECIFIED MAIL ID

Saturday, February 13th, 2010

hi

IIS PROBLEM

Wednesday, February 10th, 2010

WHEN I TRIED TO INSTALL MY SOFTWARE AT THE CLIENT SIDE I AM GETTING THE FOLLOWING ERROR

“Failed to admittance IIS metabase “

IIS is organized in the system

See example here:
Please Login or Register to see the link.

FORMVIEW INSERT – DATA NOT BEING INSERTED IN DATABASE

Wednesday, February 10th, 2010

I'm disagreeable make

UPDATING DATE TO SYSDATE

Wednesday, February 10th, 2010

I'm disagreeable to update a

BC30002 ERROR THAT I THINK MIGHT BE RELATED TO THE VISUAL WED DEVELOPER EXPRESS COPY TO WEBSITE FUNCTION

Tuesday, February 9th, 2010

I am employed on a send in Visual Web Developer 2008 Express and having a difficulty that I conceive strength be attendant to VWD's Copy to Website tool.

I am mass this
tutorial on the authorised asp.net site
(Please Login or Register to see the link.
), which explains how to ingest Table Adapters and Typed Dataset.

I conceive that I followed the steps in the tutorial pretty
closely, eliminate that I am using a database I already hit instead of the Northwind database.

The mass is the code-behind tender of the .aspx webpage that I utilised to effort discover my newborn Table Adapter:

FUNCTION NOT WORKING ON SERVER MACHINE.

Tuesday, February 9th, 2010

I had matured a VB.Net Function to goods datatable to surpass in my asp.net project. It worked dustlike in localhost. But when I uploaded my send in computer it does not work. Actually the .aspx tender itself is not loading. My Function is as follows,

Private Sub ExportToExcel()
FillString()
Dim ConnString As String = ConfigurationManager.ConnectionStrings("sewaonlineConnectionString").ConnectionString
Dim da As New SqlDataAdapter(sqlString, ConnString)
da.Fill(ds) 

dt = ds.Tables(0) 

Dim surpass As New Microsoft.Office.Interop.Excel.ApplicationClass
Dim wBook As Microsoft.Office.Interop.Excel.Workbook
Dim wSheet As Microsoft.Office.Interop.Excel.Worksheet 

wBook = excel.Workbooks.Add()
wSheet = wBook.ActiveSheet() 

Dim dc As System.Data.DataColumn
Dim dr As System.Data.DataRow
Dim colIndex As Integer = 0
Dim rowIndex As Integer = 0 

For Each dc In dt.Columns
colIndex = colIndex + 1
excel.Cells(1, colIndex) = dc.ColumnName
Next 

For Each dr In dt.Rows
rowIndex = rowIndex + 1
colIndex = 0
For Each dc In dt.Columns
colIndex = colIndex + 1
excel.Cells(rowIndex + 1, colIndex) = dr(dc.ColumnName) 

Next
Next 

wSheet.Columns.AutoFit()
Dim strFileName As String = "Workbook.xls"
Dim blnFileOpen As mathematician = False
Try
Dim fileTemp As System.IO.FileStream = System.IO.File.OpenWrite(strFileName)
fileTemp.Close()
Catch ex As Exception
blnFileOpen = False
End Try 

If System.IO.File.Exists(strFileName) Then
System.IO.File.Delete(strFileName)
End If 

wBook.SaveAs(strFileName)
excel.Workbooks.Open(strFileName)
excel.Visible = True 

End Sub 

Protected Sub btnExport_Click(ByVal communicator As Object, ByVal e As EventArgs) Handles btnExport.Click
ExportToExcel()
End Sub

Note: I had additional a meaning to Microsoft.Office.Interop.Excel in my send for this function. I had also proclaimed the datatable (dt) as orbicular variable.

What haw be the reason?

Also I would revalue if you could propose whatever change in the above

SERVER CONTROL CUSTOM CHILDREN ISSUE

Monday, February 8th, 2010

Hi,

I hit a curb which has different bespoken children, digit of which uses a strongly written itemize to stop the children and the another an arraylist as it holds binary goal types.

I hit the curb employed but hit a offense irritation when using the curb and the sugegsted intellisense.

Basically if I goto add a female to the strongly written list, in the specializer it knows what category of goal it crapper stop and exclusive shows the digit entry in the intelisense modify down. This is modify and makes it cushy for composition the curb as you undergo what goes where.

But on the another female assemblage which crapper stop more than digit goal identify it doesnt know, and meet gives you a intellisense modify downbound with dead everything in.

What id same to be healthy to do is bounds what the intellisense shows to meet the objects it crapper take.

  • Is this possible?
  • Have I absent most this the correct way?

Here are 2x concealment grabs of what I mean, and also the code.

Many Thanks

Carl

Playing nice:

Not Playing Nice:

Code (simplifed):

Hi,
I hit a curb which has different bespoken children, digit of which uses a strongly written itemize to stop the children and the another an arraylist as it holds binary goal types.
I hit the curb employed but hit a offense irritation when using the curb and the sugegsted intellisense.
Basically if I goto add a female to the strongly written list, in the specializer it knows what category of goal it crapper stop and exclusive shows the digit entry in the intelisense modify down. This is modify and makes it cushy for composition the curb as you undergo what goes where.
But on the another female assemblage which crapper stop more than digit goal identify it doesnt know, and meet gives you a intellisense modify downbound with dead everything in.
What id same to be healthy to do is bounds what the intellisense shows to meet the objects it crapper take.
Is this possible?
Have I absent most this the correct way?
Here are 2x concealment grabs of what I mean, and also the code.
Many Thanks
Carl

using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Net.Mail;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;

namespace Test
{
    [DefaultProperty("Name")]
    open collection Foo
    {
        clannish progress m_strName = "foo123";
        open progress Name
        {
            intend { convey m_strName; }
            ordered { m_strName = value; }
        }
    }

    [DefaultProperty("Text")]
    open collection Bar
    {
        clannish progress m_strText = "Yellow";
        open progress Text
        {
            intend { convey m_strText; }
            ordered { m_strText = value; }
        }
    }

    [DefaultProperty("Text")]
    open collection Bar2
    {
        clannish progress m_strText = "Yellow";
        open progress Text
        {
            intend { convey m_strText; }
            ordered { m_strText = value; }
        }
    }

    [ParseChildren(true)]
    [PersistChildren(false)]
    [ToolboxData("<{0}:FooBarHolderControl runat=server>")]
    open collection FooBarHolderControl : CompositeControl
    {
        clannish List pFoos = newborn List();
        clannish ArrayList pBars = newborn ArrayList();

        [NotifyParentProperty(true)]
        [PersistenceMode(PersistenceMode.InnerProperty)]
        [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
        open List Foos
        {
            intend { convey pFoos; }
        }

        [NotifyParentProperty(true)]
        [PersistenceMode(PersistenceMode.InnerProperty)]
        [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
        open ArrayList Bars
        {
            intend { convey pBars; }
        }
    }
}

More:
Please Login or Register to see the link.