|
mahichandu wrote: Could AnyOne Answer To MY Question?
The more descriptive your question, the better chance you have, provided someone knows an answer to your question.
mahichandu wrote: I am using 2 reorderlist Controls.
Are you talking about asp.net AJAX reorder control?
mahichandu wrote: My Module is by selecting year & State from listbox Dropdownlist, Import the data from database to the table1(Reorderlist1)
Ok, no issue here, right?
mahichandu wrote: W.R.To State And Year.I have to move that data to another table2(Reorderlist2).
Are you moving the data from table1 to table2? Why can't you load table2 in the first place?
mahichandu wrote: I have to add checkbox in Table 1 & 2.By selecting Checkboxes i have to move the data from one table to another table using reordering.
Are you trying to copy individual items or all at once?
Does this[^] helps?
|
|
|
|
|
Yes am using Ajax XOntrol Reorder List..
and am copying indivisual items from one table to another table.
Could anyone send me the code..
I din't get u load table2 in first place???
after checking records in table 1 to move into table 2 ..in bettween the table am going to add one button.
After selecting records in table 1 by clicking tht button the data should moved to table 2.
** Anyother way to move data?
Mahi
|
|
|
|
|
Hi,
I have a table named "Customers" which has 6 columns with 15 rows. I want to
show all athe records in Gridview using linq quieries. I am using this query
but it is not giving me all the records. How can I show all the records in
Gridview.
var type = (from p in entities.Customers select p)
this.Gridview1.DataSource = type;
this.GridView1.DataBind();
|
|
|
|
|
//use like this
var type = from p in entities.Customers
select p;
this.Gridview1.DataSource = type;
this.GridView1.DataBind();
Padmanabhan
|
|
|
|
|
Hi
I have webservice which retrieves the users data from sql server. If one of the user uploads a doc with a small rectangle in the data retrived from database, my webservice is failing. Could any one please tell me, how can remove those Unicode characters before returning results.
Thanks in advance,
--
http://ashakthi.blogspot.com
http://kids-articles.blogspot.com
|
|
|
|
|
You'll either need to fix the webservice to work fully with unicode or you'll need to convert the string retrieved from the database into an encoding your webservice can work with.
Take a look at the various encoding classes under System.Text.
10110011001111101010101000001000001101001010001010100000100000101000001000111100010110001011001011
|
|
|
|
|
Hi,
We are migrating an ASP application to ASP.Net 2.0. As It takes long time to develop complete .Net application, We want to add .Net pages what ever we develop into existing ASP application. Here I confused, like how to do it. Do we need to add .net pages to ASP application or ASP pages to .Net application. We are using Master Pages and AJAX controls, update panels in my .Net application, We are using div menu in asp application. I tried to add .net pages to existing asp application, its giving lot of errors like master page not exits and update panel not identified etc.
Please help me in resolving this.
Thanks,
Satheesh M
|
|
|
|
|
You're going to rewrite the entire application, that's about all there is to it. I would start a new project, and then migrate one page at a time. Well, in fact, it would be better to not migrate at all, b/c you will fail to use ASP.NET properly if you're focused on the minutae of each asp page. I'd just plan the whole thing again, as an ASP.NET app, and write it.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
Yes, you are rite. But my client wants to go page by page. Yes I started a new project, added one MasterPage and Content page called Statement.aspx. Now I want to add this Statement.aspx to in existing ASP application Menu (Div Menu). I changed the menu link to navigate to Statement.aspx and I copied the Statement.aspx and Statement.aspx.vb files to ASP application directory. It asked me for Master file, than I copied Master page and the required dlls also. Its giving me error "Object reference not set to an instance of an object. " in the statment "Private connString As String = ConfigurationManager.AppSettings("sqlConn").ToString".
Thanks,
Satheesh M
|
|
|
|
|
Your client is an idiot. It's not wrong to politely tell them so.
medasatheesh wrote: "Object reference not set to an instance of an object. " in the statment "Private connString As String = ConfigurationManager.AppSettings("sqlConn").ToString".
you're in way over your depth. Tell your client you have no idea what you're doing, and a complete rewrite is the only way you're likely to cope with this task.
Short version, you cannot just copy aspx files into an asp project, you need the web.config, etc. It still will plain not work, you won't be sharing session data for a start. It's a mess.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
i am trying to add checkbox column to gridview and pick the rows which were selected ,
while doing this i am not able to get the rows selected,
could some one say what could be the problem in the code
the code i am working on is
added a new check box column to gridview as
<asp:templatefield>
<itemtemplate>
<asp:checkbox id="chkassignpaper" runat="server">;
;
;
to retrieve the rows selected i am using the code
CheckBox cbCelda = new CheckBox();
int i = 0;
while (i < grdViewpapers.Rows.Count)
{
cbCelda = (CheckBox)grdViewpapers.Rows[i].FindControl("chkassignpaper");
if (cbCelda.Checked)
{
Response.Write("hi" + i);
}
i++;
}
can some one say what could be the problem in accessing rows.....
Thanks
srini
|
|
|
|
|
What error messages are you getting?
Have you stepped through your code?
Have you populated the gridview with data?
|
|
|
|
|
May be change your code like this
int i = 0;
while (i < grdViewpapers.Rows.Count)
{
CheckBox cbCelda = (CheckBox)grdViewpapers.Rows[i].FindControl("chkassignpaper");
if(cbCelda != null)
{
if (cbCelda.Checked)
{
Response.Write("hi" + i);
}
}
i++;
}
|
|
|
|
|
Hi,
Thanks for the quick response, i got the problem solved.
Thanks
Mukkanti
|
|
|
|
|
|
Hi,
I am new to web development; I've created the a web site in asp.net2.0 with SQL Server 2000. I've published the website in the webserver.But when i type the url(domain name) in the browser i get the following error message:
Server Error in '/' Application.
Plz help
|
|
|
|
|
Subin Alex wrote: Plz help
Maite, you atleast need to provide with error message you are getting.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Look into the Event Viewer in the server whether any error message relating to your site is recorded.
|
|
|
|
|
Hi Freinds
I am using CalendarExtendar Control of AjaxControlToolKit.
now i need to disable all dates which is greater then today's date.
is this possible? if yes let me know.
please reply if u have other way to hide future date in calendar control
thanks
Regards
Keyur Satyadev
|
|
|
|
|
Hope this will help you
<pre>
<head runat="server">
<title>Calendar Extender</title>
<script type="text/javascript">
function checkDate(sender,args)
{
if (sender._selectedDate > new Date())
{
alert("You cannot select a day greater than today!");
sender._selectedDate = new Date();
// set the date back to the current date
sender._textbox.set_Value(sender._selectedDate.format(sender._format))
}
}
</script>
</head>
Call the code:
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server" />
<div>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<cc1:CalendarExtender ID="CalendarExtender1"
runat="server" OnClientDateSelectionChanged="checkDate" TargetControlID="TextBox1" />
</div>
</form>
</pre>
|
|
|
|
|
|
it is not working , what parameters do i give whole calling the java script function in the extender control :
<cc1:calendarextender id="cReqDateFrom" runat="server" targetcontrolid="tb_From"
="" format="dd-MMM-yyyy" onclientdateselectionchanged="checkDate">
for the check Date Function what Arguments do I give while calling , as my java script function is not letting the calendar control work .
function checkDate(sender, args) {
alert('WHAT');
if (sender._selectedDate <; new Date()) {
alert("You cannot select a day earlier than today!");
sender._selectedDate = new Date();
// set the date back to the current date
sender._textbox.set_Value(sender._selectedDate.format(sender._format))
}
}
Fad .
|
|
|
|
|
Hi all,
How to make a website or a webpage with audio record and playback it with minimum requirements like record, play, pause and stop..
please anyone can suggest, if there is any tool or dll is available
i would appreciate if anybody can help me with the code that already running successfully..
Thanks in advance.
Vittal
|
|
|
|
|
Here [^]you go
i wonder, why everyone wants to play music today...there is another similar post just 4-5 messages down.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
//Preview is the folder name and FRENCH.AVI is my video file name...
<embed src="Preview/FRENCH.AVI" style="HEIGHT: 331px; LEFT: 83px; TOP: 171px; WIDTH: 538px" />
Padmanabhan
|
|
|
|