|
I gave you an answer in your previous post and it is working in my case.
<#Container.ItemIndex + 1 + DataGrid1.CurrentPageIndex*DataGrid1.PageSize %>
What error are you getting in this code?
have you set PazeSize property?
Can you post your code behind code?
please don't forget to vote on the post that helped you.
|
|
|
|
|
Hi all,
i am new to ASP.net and i ma developing a website using C#.
i hve lot of 3 listboxes in default.aspx say course name , students name and sudent total marks.
i will selcct course name in first list box, then the second list box show student name accoding to the course selction.then i hve the option to select student name in the second list box then it will show the total marks obtaind by the student in the third list box and These records are displaying frm an MS Acces DB abd all it works fine.But i hve to add new records in all these list boxes . ie: to DB.Suppose i hve to add a new student name , first i will select the course list box first then student name list box then.the problem arise here.When i add the new record, the record will inserted without any problem.
But the either the list box selction disappears(i hve to select again again for insertion)or the added record didn't appear in the list box eventhoug it added to the DB.i hve tried two ways .
First using the Response .Redirect() .then the first case happens no the second.
i hve tried another way usin Javascript.then the second case happens not the the first. but i need to dispaly the newly added record in the list box immiedialtel aftere inserion and keep the list selection i hve made before inserting...
pls help me..
thanks in advance..
Manikkuttan
|
|
|
|
|
Hi,
I want to assign data from database to checklistbox.
data contains ","
e.g.
str = "one,two,three"
Now I want to assign str to checklistbox and show them as selected items.
Thanks
|
|
|
|
|
Hello Friends,
Following is the runtime error that I have come across.
D:\Web up\Default2.aspx: ASP.NET runtime error: Could not load file or assembly 'System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\web.config line 59)
I am not able to run any of my applications due to this above mentioned runtime error.
Can anyone of you help me to resolve this problem?
Waiting for a reply....
Gaurav...
|
|
|
|
|
Hi,
Check the version of System.EnterpriseServices assembly in the global cache.
You need to add the respective version to the GAC.
If your version of the file is missing then copy it from
"windows\Microsoft.NET\Framework\v2.0<ur version="" goes="" here="">\System.EnterpriseServices.dll"
to the "windows\assembly\" folder.
Hope this helps,
|
|
|
|
|
Hi,
i am checking the validation for "Name" field, it should accept both character and alphanumeric.
for example:John, John23423 and it should not accept 23John or 1John.
i am using RegularExpressionValidator and ValidationExpression="^[a-zA-Z ]+$".The above validationExpression is valid for character, that is John, Mike not for John23.
Please help me which accepted the John123 format, that First field must be character.
Thanks in Advance.
<div class="ForumMod">modified on Thursday, July 17, 2008 4:04 AM</div>
|
|
|
|
|
Hi All,
I am using a file upload control in my application where I am inserting and editing the data. In edit mode I am retrieving values from the database and displaying in the respective control. So I want to display my file name I have stored in database in the file upload control. For this pupose which property of the file control should I use?
Rock Star
|
|
|
|
|
Rock Star. wrote: So I want to display my file name I have stored in database in the file upload control. For this pupose which property of the file control should I use?
Do you want to set value in FileUpload control that is retrieved from database?
if yes then it is not possible.
please don't forget to vote on the post that helped you.
|
|
|
|
|
Hi i have to run one stored procedure dynamically on each monday...,
I know its possible in window service...,
but i dont have any idea about window service...,
Plz help me
Thanks & Regards,
NeW OnE,
please don't forget to vote on the post
|
|
|
|
|
New one wrote: but i dont have any idea about window service...,
You can start with this[^]
Apurva Kaushal
|
|
|
|
|
how to store,retrieve xml file to database by using .net.
plz guide me
|
|
|
|
|
Hey Developers
We have a high traffice website and need to redirect User to respective city according to her IP. Wat wud b the efficient way(Web Service, Updated IP Database...) to accomplish this?
If there is some free solution available in the town then it would be realy very great
Thanks for your time!
|
|
|
|
|
Hi,
I developed a website and installed on my localhost it is running good...
Late I need some changes and accordingly I did and now I want to apply those changes to the localhost website.....how to update?????///
Thanking yoy
McMilan.
|
|
|
|
|
Hi how to compare two datatable first row & first cell only?
Thanks & Regards,
NeW OnE,
please don't forget to vote on the post
|
|
|
|
|
Are you looking for this:
if(DataTable1.Rows[0][0] == DataTable2.Rows[0][0])
Apurva Kaushal
|
|
|
|
|
Ya That one only...,
But i am getting probs in logic...,
I have 4 datatable may be later in runtime it will come more than that...,
Now each datatble having first row and first cell is MID...,
Now i want to check all the datatables first row first cell...,
If its same values, then those datatables have to come in one folder..,
Else it have to create another folder and those datatble have to come in that folder...,
Example like this my datatble is there:
First Datatable
MID Name Year
1 E1 2000
1 E1 2002
Second Datatable:
MID Name Year
1 E2 2001
1 E2 2000
Third datatable:
MID Name Year
3 E3 2000
3 E3 2002
Fourth Datatable:
MID Name Year
4 E4 2001
4 E4 2000
Now see The datatable 1st and 2nd have to come in one folfer...,
Third have to come in one folder
Fourth have to come in one folder
How to do that
Thanks & Regards,
NeW OnE,
please don't forget to vote on the post
|
|
|
|
|
New one wrote: Now see The datatable 1st and 2nd have to come in one folfer...,
Why you want to store a datatable in a folder? The comparison part is quite simple as I mentioned and once you have put the condition then you can do what you want inside that.
Apurva Kaushal
|
|
|
|
|
Hi Guys
Does anyone know of a good (easy to use) free utility I could use to generate PKCS#10 certificate requests? I hate using what IIS has to offer... and the trial version of Crypto4 is not sufficient. Any help is much appreciated.
Thanks!!!
Green Grape
|
|
|
|
|
Why is Image element not showing remote URL ?
<img src="http://www.ohtoy.com/thumb/thumb.php?src=http://www.ohtoy.com/catalog/images/unicorn.jpg&w=100&h=100&bg=FFFFFF&q=95&far=1"> </img>
r00d0034@yahoo.com
|
|
|
|
|
imran_rafique wrote: http://www.ohtoy.com/thumb/thumb.php?src=http://www.ohtoy.com/catalog/images/unicorn.jpg&w=100&h=100&bg=FFFFFF&q=95&far=1"
This path is also not displaying any images
|
|
|
|
|
Could not get your point ? What you want to say?
r00d0034@yahoo.com
|
|
|
|
|
|
What is your point in asking this question? Is this a ASP.NET question?
Sounds like you posted in a wrong forum...
|
|
|
|
|
Hi ,
I am using a CreateUserWizard control. In this control i've added a new TextBox naming 'TextBox1'. Now I am not able to get this newly added control on my .CS file.
Please give me Solution.
Thanks in advance
d'kng
|
|
|
|
|
can you show your html code for userwizard?
EVEN THE WORD IMPOSSIBLE SAYS I M POSSIBLE.
|
|
|
|