|
Noone to help me out???? Im really struggling...
|
|
|
|
|
http://aspalliance.com/1327_Debugging_DLL_Projects_in_Visual_Studio_2005.all
http://social.msdn.microsoft.com/forums/en-US/vsdebug/thread/c18ac6df-b5bd-4dd7-a043-de214b687247
|
|
|
|
|
I have a DataTable filled with Columns and Rows in ASP.NET. I would like to save my Datatable inside my Database(Sql Server 2005).
|
|
|
|
|
|
so what is the problem? Cheers!!
Brij
|
|
|
|
|
I mean is it any way to save the datatable in sql server at a single turn
|
|
|
|
|
U have to try coding.. Hope u know the term "CODING".. After u code and incase you get any exception come back there are lots of ppl out here 2 help u... Until and unless u post ur Exceptions or codes u wil never get help..
Regards,
Tash
|
|
|
|
|
|
how selected index of gridview/table is call in javascript on client-side?
|
|
|
|
|
http://forums.asp.net/t/1054215.aspx
|
|
|
|
|
Can you elaborate a bit more? Cheers!!
Brij
|
|
|
|
|
sallam 2 all;
i hav 2 grids when i select n move gv1's record to gv2 selected row is moved thru btn, bt the problem is that when i want to move another selectedrow from gv1 to gv2 the previous moved record is removed n new selected row is appeared.
i'm working in javascript.
Now ,the requirement is that write grid's selected index on client-side in javascript. how it is done, i hav no idea about it.
My code is as follows
var gridview=document.getElementById("<%= gvPracticeFacility.ClientID %>");
var gridview1=document.getElementById("<%= gvPracticesAssignedFacilities.ClientID %>");
var tr = document.createElement("tr");
var cell1 = document.createElement("td");
var celln = document.createElement("td");
var cell2 = document.createElement("td");
var cell3 = document.createElement("td");
var cell4 = document.createElement("td");
var cell5 = document.createElement("td");
var cell6 = document.createElement("td");
var cell7 = document.createElement("td");
var i =parseInt(document.getElementById("<%= hdnfldSelectedRow.ClientID %>").value);
cell1.innerHTML = gridview.rows[i].childNodes[0].innerHTML;
cell2.innerHTML = gridview.rows[i].childNodes[1].innerHTML;
cell3.innerHTML = gridview.rows[i].childNodes[2].innerHTML;
cell4.innerHTML = gridview.rows[i].childNodes[3].innerHTML;
cell5.innerHTML = gridview.rows[i].childNodes[4].innerHTML;
cell6.innerHTML = gridview.rows[i].childNodes[5].innerHTML;
cell7.innerHTML = gridview.rows[i].childNodes[6].innerHTML;
tr.appendChild(cell1);
tr.appendChild(cell2);
tr.appendChild(cell3);
tr.appendChild(cell4);
tr.appendChild(cell5);
tr.appendChild(cell6);
tr.appendChild(cell7);
gridview1.firstChild.appendChild(tr);
how i persist it in client-side?
if i use Viewstate then where n hiow i use viewstate?
plz tell me where i'm wrong.......!
Thanx in Advance......!
|
|
|
|
|
Use some hidden variable to store the selected index,it'll persist acreoss postback.and if there is no postback then you can use a global variable in javascript. Cheers!!
Brij
|
|
|
|
|
Hi
I m using Login Control.
Now When I use Administrator login it goes to default.aspx page and I am showing all links of the form. When I click on perticular link(Client.aspx) of the form it showing form details. Now I logout and login with different user. Instead of going to default.aspx page it showing previous page(Client.aspx) as administrator login & open that link.
In the browsers address bar it showing that link of that page. that means my browser not clearing the even if I already written code to go to default page.
How can I clear it?
Thanks
sjs
|
|
|
|
|
clear cache
private void Page_Load(object sender, System.EventArgs e)
{
Response.Cache.SetExpires(DateTime.UtcNow.AddMinutes(-1));
Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.Cache.SetNoStore();
}
|
|
|
|
|
Thanks for Reply.
But Its not working with the given code.It still going to other page.
Thanks
sjs
|
|
|
|
|
|
|
Hi All,
I am new to architecture, may I know about the use of DTO layer.
Please guide me, want to know more about Layers(DAL,BLL...)..where to start?
Thanks in advance..Ramkumar
("When you build bridges you can keep crossing them. ")
http://ramkumarishere.blogspot.com
|
|
|
|
|
|
Hi,
Use n-tire architecture.
First you have to create Data Access Layer(DAL), in this layer you keep your data separately.
In Business Layer Access, you should keep your business logic like as defination of methods, declarations of variables etc. you can also declare properties.
After this you will create User Interface/Presentation Logic. In this layer you create your user interface(forms) and connect with BAL using objects.Farogh Haider
Web developer
|
|
|
|
|
Hi guyz..
I was wondering if its possible to run 2 or more dot net web application at a time. If its possible how can we achieve it... bcoz as of now when an web application is running im not able to execute another application if i try to do so i get an alert box displaying --> another application is already running, not possible to debug.. blah.. blah.. blah..(dont remeber the exact msg)...
Thanx in advance
Regards,
Tash
|
|
|
|
|
I assume you mean to debug more than one website at a time. As far as I know the ASP.NET debugger can be associated with only one website at a time. I've not tried across versions, but trying to debug say 2 websites running on VS 2005 won't work. May be try debugging one with VS 2005 and other one on VS 2008.
HTH!
|
|
|
|
|
Hi,
so the final answer u mean is its not possible with the same version... Hmm gotta investigate on it.. because one of my fren said me that it is possible.. im not sure if hes wrong.. will surely let u know if i get any positive info about it...
Thanx & regards,
Tash
|
|
|
|
|
What I actually meant was that when I tried I was not able to do so using VS 2005, it didn't happen. I was not trying to make a conclusive statement, but just sharing my opinion. So, there are all chances that your friend is correct.
BTW, I forgot to add yesterday, If you try to execute 2 web application from the same instance of VS IDE it works. I've started debugging a web service and then stepped through a website that consumes the service from the same IDE without any problems. So, may be from the same instance of the IDE may be it is possible, from two instances of the same version of IDE may be it is not.
Again this is not a conclusive statement, just clues to the puzzle.
|
|
|
|