|
I added a dataset to my website.
I gave the method names as Fill() and Get() in the dataset.
In the web form I tried to access the Tableadapter by creating an object.
But cant do it. Can anybody please help me out...
sda_cst
|
|
|
|
|
|
Do check that 'TableAdapter' & its associated methods from your ClassView , whether it is created properly (in your NameSpace, if specified).
Regards,
Jay
|
|
|
|
|
hello to all
i am working on ASP.NET 2
i want to maintain the scroll position between postbacks to the server
(i can scroll to top of my page when i set smartNavigation is true in web.config, but microsoft says its an obselete property, so i can't use in ASP.NET 2)
thanks in adv.
mohan
Mohan G
|
|
|
|
|
|
Let say i have 20 checkbox at one webpage, how i code while i click one button , all the button is uncheck ? thank. because i dun want write the unchecked code one by one. thanks.
Best regards,
Chee ken
|
|
|
|
|
You could recurse through the Controls collection, and search for checkboxes to uncheck.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Can you tell me how to code it? i use asp.net(VB). thanks.
Best regards,
Chee ken
|
|
|
|
|
You can use javascript to loop through all the check boxes and uncheck them.
Best Regards,
Apurva Kaushal
|
|
|
|
|
The page has a Controls collection. You can use for each to iterate over each control, then you need to recurse through all the controls in the controls collection of those controls. Check if it's a checkbox using the 'is' keyword, then if it is, uncheck it.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
i can code it already , thanks for you all !
Best regards,
Chee ken
|
|
|
|
|
I have an edit web page, and i need to reset the page when the user click the reset button , because is the edit record page, so the original record must be show on the text box , checkbox and other control, must be show for the user if they click the reset button. So, how i do it ?
Thanks.
Best regards,
Chee ken
|
|
|
|
|
You can call all the methods to get the data again from the database or alternatively you can also redirect to the same page that will also serve the purpose.
Best Regards,
Apurva Kaushal
|
|
|
|
|
i get the url of the page and then redirect to it , and it run already, thanks for you help !
Best regards,
Chee ken
|
|
|
|
|
always welcome..
Best Regards,
Apurva Kaushal
|
|
|
|
|
Hello,
I have a Web.sitemap file where I added in each node the parameter "footer" which I set to true or false.
I am creating a SiteMap datasource but I would like it to have only the nodes where "footer" is set to "true".
I have no idea how to create this filter.
Could someone, please, help me?
Thanks,
Miguel
|
|
|
|
|
Because you add a custom property footer to the SiteMapNode, so you may need to create your own custom site map provider, and you can do your filter when building the sitemap nodes in the provider.
|
|
|
|
|
Hello,
How to create a CSS StyleSheet at runtime?
And after I create it should I added it to an existing CSS file? How would I use it in an Asp.Net control?
Thanks,
Miguel
|
|
|
|
|
The stylesheet css is a text file, you can dynamically create at runtime or edit the current file, and I guess you know how to do this. To apply the new style classes, you need to link to the file and programmatically set the cssclass for the control, you can also think of changing the style of the control using the skinID property.
|
|
|
|
|
Hi,
Is there anybody knows how to kill a session in server side?
Thanks
|
|
|
|
|
|
Session.Abandon() just kill the current session, but I want to kill the session with the spical ID.
Thanks.
|
|
|
|
|
I think you'd have to keep track of all your sessions at the Application level in order to do that.
|
|
|
|
|
Well Rather killing ..If you want to kill a specific Session..then u can remove that session by Session.Remove("Name of Session")
I hope it satisfies u...
KHATRI
|
|
|
|
|
That deletes a session item from the current session. From what I understood, he wants to abandon a specific session (not the current session, but some other user's session).
|
|
|
|