|
Thanks..
That was great...
It served my purpose
Thank you very much
|
|
|
|
|
Hello all,
I have developed a website and it is live currently. Site is working properly from last two month. But from last 4 to 5 days in one of the page in my site i am getting following error and data will not get displayed on page. I am binding data to datalist control> Everything is running from last two month. When i run the application on local i m not facing any problem. Can anybody know about following error. Why this is coming. Is there is any updation in framework 2.0 from microsoft which is installed on my web hosting server and because of this my code is having some problem. It goes in exception while binding the data to datalist.
The error is as follow
System.Data.Common.DataRecordInternal.get_Item(System.String)
Please help me to solve this the detailed error is as follow..
In need some information about this error.
<cosystem.data.common.datarecordinternal.get_item(system.string)reply() at="" system.reflection.methodbase.performsecuritycheck(object="" obj,="" runtimemethodhandle="" method,="" intptr="" parent,="" uint32="" invocationflags)<br="" mode="hold"> at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.VisualBasic.CompilerServices.Symbols.Container.InvokeMethod(Method TargetProcedure, Object[] Arguments, Boolean[] CopyBack, BindingFlags Flags)
at Microsoft.VisualBasic.CompilerServices.NewLateBinding.CallMethod(Container BaseReference, String MethodName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, BindingFlags InvocationFlags, Boolean ReportErrors, ResolutionFailure& Failure)
at Microsoft.VisualBasic.CompilerServices.NewLateBinding.InternalLateIndexGet(Object Instance, Object[] Arguments, String[] ArgumentNames, Boolean ReportErrors, ResolutionFailure& Failure)
at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateIndexGet(Object Instance, Object[] Arguments, String[] ArgumentNames)
at ASP.forum_problemdetail_aspx.__DataBinding__control20(Object sender, EventArgs e) in d:\hosting\phatmath\Forum\ProblemDetail.aspx:line 234
at System.Web.UI.Control.OnDataBinding(EventArgs e)
at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
at System.Web.UI.Control.DataBind()
at System.Web.UI.Control.DataBindChildren()
at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
at System.Web.UI.Control.DataBind()
at System.Web.UI.WebControls.DataList.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem)
at System.Web.UI.WebControls.DataList.CreateControlHierarchy(Boolean useDataSource)
at System.Web.UI.WebControls.BaseDataList.OnDataBinding(EventArgs e)
at System.Web.UI.WebControls.BaseDataList.DataBind()
at Student_ProblemDetail.reply()
People Laugh on me Because i am Different but i Laugh on them
Because they all are same.
|
|
|
|
|
Check you can connect from web server to database
Check that all the addres info for the servers are correct
|
|
|
|
|
Yes i can connect to database. All the interfaces excluding is running fine.Data on all pages will get retrieved and displayed properly.
Thanks
Rahul
People Laugh on me Because i am Different but i Laugh on them
Because they all are same.
|
|
|
|
|
Dear All
I have a dropdownlist called ddlProduct (it will be fill by productName from product table)
I have two button called btnADD, btnFinish
First time : when you click the btnAdd then will fill a grid view called gvProduct (without adding data into database)
Second time: when you click the btnAdd then it will fill a grid view called gvProduct (without adding data into database)
trird time...........
.
.
.
Last Time
Now I will click btnFinish
when i click btnFinish then it will insert all data into OrderDetails (database table)
The project I want to do is simillar to OrderPlacement like Customer can select Product name from the DropDownList when customer click Add button
then it will shows on the right panel (customer will add more that 5 product) what he added into his basket including price
When he click submit then all data will be added into database and order will be placed
Any instructions will be really helpful
Thanks in advace
Sarfaraj
Sarfarj Ahmed
|
|
|
|
|
Sarfaraj Ahmed wrote: Any instructions will be really helpful :
www.google.co.uk
|
|
|
|
|
thanks, could u please tell me wot should i put on google search engine
Sarfarj Ahmed
|
|
|
|
|
Hi,
How to display images dynamically? am displaying Radio buttons dynamically.My requirement is beside each radio button I want to show image. Am reading data from Xml file and make it in Dataset then using DataView am reading one by one. pls see the code what I have written:
DataSet dsPaymentMethod = new DataSet();
dsPaymentMethod.ReadXml(strFilePath);
DataView dvForDisplay = dsPaymentMethods.Tables[0].DefaultView;
for (int i = 0; i < dvForDisplay.Count; i++)
{
rdb = new HtmlInputRadioButton();
img = new Bitmap(5, 5);
rdb.ID = dvForDisplay[i]["RadioButtonId"].ToString();
rdb.Value = dvForDisplay[i]["PaymentGateway"].ToString();
img = System.Drawing.Image.FromFile(@"D:\VSSNew\SourceCode\Telefonica.MSNOut\Telefonica.MSNOut.UI\images\logos\cards\visa.gif");
panelInternational.Controls.Add(rdb);
}
I have written above code. but it only showing Radio buttons not images. How can I display images? Is there any server side contorl equal to this html ;
Thanks
|
|
|
|
|
set text property of radio button to html code like " "
|
|
|
|
|
|
Hi,
Using MS.Net 1.1, I am developing a form to display fields into DataList.
Datalist has itemtemplate and Requirefiled validator and textbox & label.
Each field has associated with control e.g.Textbox with in Datalist.
There two enviroment ,Development and Testging.
In Testing Enviroment,Datalist displays fileds sometimes in currect order while othertimes in reverse of previous like First time-
Name <textbox>>
Sname <textbox>
Age <textbox>
While other time
Age <textbox>
Sname <textbox>
Name <textbox>
I am not using paging or sorting.with Repeat Direction=Horiz and Repeatcolumn =1
In Development enviroment it is fine.
Where could be the problem?
Thanks.
AshwinGupta
|
|
|
|
|
I would use an order by, you must want them in some sort of order
The order by clause should sort your problem anyway
|
|
|
|
|
i want use paypal concept.but i didnot knoe how to use using Encore.PayPal.API.if know the code replay to me.
|
|
|
|
|
|
hi,
I have see some examples on CodeProject and other sites.I have found AutosuggestBox but its paid.
I need to fetch the field value from database and need to show under a textbox div.
and want to select the values by using arrows keys(up and down) like a gooogle suggest.
if any one have already through with this problem please suggest me the solution.
Thanks
Amit Agarwal
|
|
|
|
|
|
|
Hello Friend!
I want to call a web service from java script.
the web service exits in different solution i.e., java script and web service are in different project/solution.
the following code i use
<asp:scriptmanager runat="server" id="scriptManagerId">
<scripts>
<asp:scriptreference path="CallWebServiceMethods.js">
<services>
<asp:servicereference path="http://localhost/AjaxJavaScriptWebService/WebService.asmx ">
.
.
.
Server Time
the script file i.e.,CallWebServiceMethods.js
function GetTime()
{
WebService.GetServerTime(SucceededCallback);
}
when i execute the program a java script error occurs-
'WebService' is undefined.
if web service is in same solution, then it executes correctly
please help me
modified on Thursday, April 24, 2008 6:10 AM
|
|
|
|
|
|
thank you
the code is working, but if the web method returns any dataset then how can i bind the dataset to data grid
|
|
|
|
|
Hi Friends,
I am using update panal for the dropdown list and a text box to avoid postback occuring. when "Others" is been selected from the dropdownlist the textbox will be visible. Once the textbox is visible i want to set focus to the textbox where in i am not able to do as it comes inside update panel. can u plz help me ASAP...
Ashwini
|
|
|
|
|
|
no that doesn work when textbox is inside updatepanel
Ashwini
|
|
|
|
|
find the control (textBox) in the update panel and then set the focus for it
.....
|
|
|
|
|
How to find the control? plz help me ASAP
Ashwini
|
|
|
|