|
Hello all,
I am using SqlDataSource to configure GridView in my application.
I am using Editing, delting and inserting features of GridView to update my database.
My problem is while specifying DakaKeyName in SqlDataSource, i don't have any primary key in my table.
It is a table in which are referring primary keys of two table. So, the two foreign keys will make up a primary key for my table.
Can anybody tell me how can i put DataKeyName in SqlDataSource by making a primary key from combination of two foreign keys.
Thanks,
Nagendra.
|
|
|
|
|
Hi,
I am developing a web based application using Asp.net and C#. We are using Microsoft Outlook Express, I need same user and password should have access to application and once if any user changes his/her exchange password it should automatically reflect to my web application.
This will help my user to keep the same user and password for exchange and web applications.
required urgent solution and if possible some code snippet.
Thanks in advance.
Regards,
Sadanand
|
|
|
|
|
I think you can use Windows Authentication for your application.
|
|
|
|
|
Plz can Anyone give me the code for implementing A horizontal Slider having two handles giving range of value in Asp.Net in VB
|
|
|
|
|
|
|
Hello, This is Vikash Gohil.
I have a DropDownList on my Webpage which displays numbers from 1 to 31.
When i open the page and click this dropdownlist, it display all the items in list at once, ie it displays a Long List with all the items in it getting displayed.
I don't want this and want to show on 10 items in the dropdown and a scroll bar to scroll down for other items.
Could any one please help me.
Thanks in Advance.
Awaiting a reply soon.
|
|
|
|
|
|
Thanks for the reply.
Will try with my Own Control
|
|
|
|
|
|
Thanks for the reply.
Will try developing my own control.
|
|
|
|
|
I want to restrict the size of a datagridview to only 5 rows at a time..How can i achieve this?
|
|
|
|
|
Use <asp:DataGridView AllowPaging=true PageSize=5>
|
|
|
|
|
|
Hello all,
I have created an application using third party literary and also added the .exe
file in scheduler that will run after every after 1 hour. But the problem is that
before running the code a popup come is displayed and when i click on "OK" button in the popup then the code will start to run. When i setup a task in scheduler then no one will
be there to click on "OK" button in popup and without clicking the button code will not run.
Could you tell me what can do to disable the popup or any other solution?
Thanks
People Laugh on me Because i am Different but i Laugh on them
Because they all are same.
|
|
|
|
|
There should be an option to execute the scheduler in SILENT mode??
|
|
|
|
|
Hi
Means in silent mode even if i have not clicked on OK button in popup code will run?
thanks
People Laugh on me Because i am Different but i Laugh on them
Because they all are same.
|
|
|
|
|
Yes - Silent means it wont ask you for confirmation.
Check for the option which would execute the scheduler (.exe) in Silent mode.
|
|
|
|
|
i have made a application in .net 2005 and is using crystal report in that.
my problem is to change the data displayed T runtime after fetching from the database.
like we did in gridview using rowdatabound function and able to change the row.cell text.\
my data displayed is:
c_id status
1 No
2 Yes
3 Not applicable
4 null
5 No
6 Yes
and i want to display it as:
1 granted
2 abandoned
3 pending
4 new application
5 granted
6 abandoned
granted in place of No, abandoned in place of Yes, pending in place of Not applicable and new application in case of null
can anybody help.
thankx in advance
|
|
|
|
|
i am using a jquery control i add library and javascript function on a separate page .it is work fine .But when use master page and kept javascript function in master page then it is not working .
master page code
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPageEntry.master.cs" Inherits="MasterPageEntry" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
// this function is nor working
$(function() {
enterFunction = function() {
$(this).html('ACTIVE');
}
leaveFunction = function() {
$(this).html('inactive');
}
$('.accordion1').hSlides({
totalWidth: 733,
totalHeight: 549,
minPanelWidth: 52,
maxPanelWidth: 423,
speed: 1500
});
$('.accordion2').hSlides({
totalWidth: 305,
totalHeight: 200,
minPanelWidth: 27,
maxPanelWidth: 200,
activeClass: 'active',
speed: 1500
});
$('.accordion3').hSlides({
totalWidth: 730,
totalHeight: 140,
minPanelWidth: 77,
maxPanelWidth: 425,
midPanelWidth: 150,
easing: 'easeOutBounce',
sensitivity: 1,
interval: 50,
timeout: 100,
onEnter: enterFunction,
onLeave: leaveFunction
});
$('.accordion4').hSlides({
totalWidth: 730,
totalHeight: 140,
minPanelWidth: 77,
maxPanelWidth: 425,
panelPositioning: 'bottom',
eventHandler: 'hover',
panelSelector: 'span',
activeClass: 'active_click'
});
}
);
PAGE
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Widget3.aspx.cs" Inherits="JqueryWidget_Widget3" MasterPageFile="~/MasterPageEntry.master" %>
<asp:content id="Content1" contentplaceholderid="ContentPlaceHolder1" runat="Server">
Please tell me that how this will be working.
adilkhan
|
|
|
|
|
When a number eg:10 is entered in textbox & clicking ADD button, then output should have 10 rows in gridview. And next time when if i enter 5 it should display 5 Rows in gridview as dynamically adding rows in gridview.
|
|
|
|
|
private DataTable BindEmptyRows(int noOfRows, DataTable dt)
{
for (int i = 0; i < noOfRows; i++)
{
DataRow dr = dt.NewRow();
dr["SLNO"] = dt.Rows.Count + 1;
dr["ID"] = 0;
dr["STRING"] = string.Empty;
dt.Rows.Add(dr);
}
return dt;
}
|
|
|
|
|
Instead of displaying & initializing text or string i need to display TextBox in all dynamically generated rows.
|
|
|
|
|
Google for ITemplate
This is what you need
|
|
|
|
|
I am a beginner programmer working in ASP.NET for the first time and I am having trouble finding good examples of authentication methods.
I would be very appreciative of anyone who could provide me with examples of the best ways to implement authentication or links to tutorials that may point me in the right direction.
Cheers,
ViridianNZ
|
|
|
|