|
Hello. I am doing a CRM application where the end user browse a file, selects their csv file, and imports their contacts.
I have no problem reading the csv file, but I am having difficulty on assigning which column goes into which database field.
Will the end user have to map manually? And if so, anyone have any code out there for that or any other resources? Thansk.
Anyone have any ideas on this or possibly, is there a resource out there?
Thanks.
Anthony
c#, mysql, visual studio
|
|
|
|
|
I have a scrolling div that is -- overflow-y property of div set to "auto" ,
and i have capture mouse events of whole page to this div using setcapture()
problem is... this does not allow me to scroll this div as mousedown on scroll bar is also capture by div itself.
Pls help me to sort out this problem, i want to setcapture on div as well as scroll it.
Thanks in Advance
|
|
|
|
|
Hi...
If I updated some records in dataset table... How would I come to know which records are updated in that perticular dataset table..
Please tell me..
Thanks
Hemant Thaker
By:
Hemant Thaker
|
|
|
|
|
You can use the DataViewRowState to select the records which have been updated.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
HI...
I have one gridview and displaying records 10 per page... also showed page indexes...
Now once I click next page index it does not show me the next 10 records..
tell me the settings in properties..
Thanks
Hemant Thaker
By:
Hemant Thaker
|
|
|
|
|
Hi
You need to handle "PageIndexChanging" event of GridView.
In the Procedure write down
//GridRecords is Name of GridView Control
protected void GridRecords_PageIndexChanging(object sender, GridViewPageEventArgs e)
{
GridRecords.PageIndex = e.NewPageIndex;
}
|
|
|
|
|
I have to add meta tag in aspx page by javascript at run time when page is load, it is possible.
Web Developer
|
|
|
|
|
shames(Sam) wrote: it is possible.
Great! I have always wanted to do that!
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
|
|
|
|
|
Don't know if it works in all browsers, but the following should do something:
meta = document.createElement('meta');
meta.name = "foo";
meta.content = "bar
document.getElementsByTagName('head').item(0).appendChild(meta);
|
|
|
|
|
Hi...
I am developing a web application through .Net 2008 (framework 3.5).
I have one crystal report in that , I get the crystal report loaded in crystal viewer, but when I export it or print it it gives me following error:
"Logon failed. Details: crdb_adoplus : Object reference not set to an instance of an object. Error in File C:\DOCUME~1\user\LOCALS~1\Temp\rptPayslipZIUS {DBB80325-B90D-4181-9AA3-FD44D878254D}.rpt: Unable to connect: incorrect log on parameters."
I suppose that this is because the page is posted back , once i click print or export button and once it comes back it does not find data source to bind itself...
What could be the solution for this..
Is there any property to be handled for it...
Please give me the solution
Thanks...
Hemant Thaker
By:
Hemant Thaker
|
|
|
|
|
|
hi all
what is the Progam that the developers used to build websites like yahoo and msn and google
thank's all
-*-*-*-*-*-*-*-*-*
To Be Or Not To Be
(KARFER)
-*-*-*-*-*-*-*-*-*
|
|
|
|
|
if you are good, notepad
Seriously, there are a multitude of progran=mming languages and development environments for developing websites, its a matter of choice (usually the client's, not yours!).
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Here.[^]
---- You're right.
These facts that you've laid out totally contradict the wild ramblings that I pulled off the back of cornflakes packets .
|
|
|
|
|
Real programmers use VI
No, there are many WYSIWYG tools, such as dreamweaver, but this is purely from a graphical "how it will look like" point of view.
The backend is either done in an IDE such as visual studio (though, i don't think yahoo nor google run anything on C# or VB ), or in plain text editors.
|
|
|
|
|
Hi
Can any one let me know, How to change the color of Div based scrolls in Mozilla firs fox ?, i have just implemented it it's working fine, but it's not working in Mozilla Firefox, thanks in advance, kinly reply ASAP,
regards,
|
|
|
|
|
King Shez wrote: How to change the color of Div based scrolls in Mozilla firs fox ?
You don't. That's an IE-specific hack, and is not supported elsewhere. If you really, really need it, you can build fake scrollbars using HTML and JS - but you should avoid that if at all possible.
---- You're right.
These facts that you've laid out totally contradict the wild ramblings that I pulled off the back of cornflakes packets .
|
|
|
|
|
Can you provide me with the code how to do it with javascript and html ?
|
|
|
|
|
|
Hi
Abhijeet thanks for ur reply man but iwas not able to find any thing on google with javascript, do you have any link or any javascript code ?
|
|
|
|
|
Hi
I have a project that when a certain event occurs in the websit a report is generated
with crystal reports and then loaded on another page which opens infront of the parent page,
is there some way that i can disable the parent page while the child page is still loading , without using
a modal dialog .??
A proplem I've encountered with the modal dialog is that when i want to print or download the report another page opens when I click the export or print button on the reportviewer.
modified on Thursday, December 18, 2008 5:51 AM
|
|
|
|
|
The thing i was actually looking for was javascript thickbox , it grays out the main page, lets it look like its disabled
|
|
|
|
|
Is it possible to embed a MPC into a html? If not, is there any other media player (that supports .flv)can be insert into a html?
Thanks
Merry X'mas.... ^_^
|
|
|
|
|
|
I am getting this error in my browser when I debug my site, code is at the bottom.
The build works and no errors show in the 2008 web developer, yet this shows up when I try to view. I don't understand because if I was missing a reference that contained 'SearchYouTubeSource' wouldn't it show an error ? Anybody can explain this for me? Thanks
(By the way I know I have no a href links in my body)
_______________________________________________
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[InvalidOperationException: The type specified in the TypeName property of ObjectDataSource 'SearchYouTubeSource' could not be found.]
System.Web.UI.WebControls.ObjectDataSourceView.GetType(String typeName) +1122515
System.Web.UI.WebControls.ObjectDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +1171
System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +19
System.Web.UI.WebControls.DataBoundControl.PerformSelect() +142
System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +73
System.Web.UI.WebControls.GridView.DataBind() +4
System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82
System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls() +72
System.Web.UI.Control.EnsureChildControls() +87
System.Web.UI.Control.PreRenderRecursiveInternal() +44
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842
_________________________________________________
vvvvv Default.aspx.cs has this code in it vvvvv
_________________________________________________
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class SearchVideos : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Search_Click(object sender, EventArgs e)
{
this.SearchYouTubeSource.Select();
}
}
________________________________________
vvvv Default.aspx has this code vvvvv
________________________________________
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="SearchVideos" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<title>Search YouTube</title>
</head>
<body>
<form id="form1" runat="server">
<a href="default.aspx">Your Videos</a>
<a href="">Most Popular</a>
<a href="">Your Playlists</a>
<a href="">Most Commented</a>
<b>Search YouTube</b>
<div>
<br />
This will be searching the top rated video feed.<br />
<br />
Video Query: <asp:TextBox ID="VideoQuery" runat="server"></asp:TextBox>
Author:
<asp:TextBox ID="Author" runat="server"></asp:TextBox><br />
<br />
Category:
<asp:TextBox ID="CategoryQuery" runat="server"></asp:TextBox><br />
<br />
Order By:
<asp:DropDownList ID="Relevance" runat="server">
<asp:ListItem Value="relevance">Relevance</asp:ListItem>
<asp:ListItem Value="published">Published</asp:ListItem>
<asp:ListItem Value="viewCount">ViewCount</asp:ListItem>
<asp:ListItem Value="rating">Rating</asp:ListItem>
</asp:DropDownList><br />
<br />
Include Racy?
<asp:CheckBox ID="Racy" runat="server" /><br />
<br />
In Timeframe
<asp:DropDownList ID="Timeframe" runat="server">
<asp:ListItem>All Time</asp:ListItem>
<asp:ListItem>Today</asp:ListItem>
<asp:ListItem>This Week</asp:ListItem>
<asp:ListItem>This Month</asp:ListItem>
</asp:DropDownList>
<asp:Button ID="Search" runat="server" Text="Search YouTube" OnClick="Search_Click" /><br />
<br />
<br />
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="SearchYouTubeSource">
<Columns>
<asp:BoundField DataField="Id" HeaderText="Id" SortExpression="Id" />
<asp:BoundField DataField="Description" HeaderText="Description" SortExpression="Description" />
<asp:BoundField DataField="Uploader" HeaderText="Uploader" SortExpression="Uploader" />
<asp:BoundField DataField="Title" HeaderText="Title" SortExpression="Title" />
<asp:BoundField DataField="Author" HeaderText="Author" SortExpression="Author" />
<asp:BoundField DataField="Content" HeaderText="Content" SortExpression="Content" />
<asp:BoundField DataField="WatchPage" HeaderText="WatchPage" SortExpression="WatchPage" />
</Columns>
</asp:GridView>
<asp:ObjectDataSource ID="SearchYouTubeSource" runat="server" SelectMethod="Search" TypeName="ListVideos">
<SelectParameters>
<asp:ControlParameter ControlID="VideoQuery" Name="videoQuery" PropertyName="Text"
Type="String" />
<asp:ControlParameter ControlID="Author" Name="author" PropertyName="Text" Type="String" />
<asp:ControlParameter ControlID="Relevance" Name="orderby" PropertyName="SelectedValue"
Type="String" />
<asp:ControlParameter ControlID="Racy" Name="racy" PropertyName="Checked" Type="String" />
<asp:ControlParameter ControlID="Timeframe" Name="time" PropertyName="SelectedValue"
Type="String" />
<asp:ControlParameter ControlID="CategoryQuery" Name="category" PropertyName="Text"
Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
</div>
</form>
</body>
</html>
|
|
|
|