Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 42215

a couple of confusing questions i would like alil help with. thanks

$
0
0
I have a few questions i would very much like to clarify if someone could please help me understand it. Thanks

This is used to defined variables within a url

session state

query string

cookies

viewstate




I sincerely think it should be sessionstate but for some reason i keep going back and forth between query string and that.




Which of the following is the correct way to retrieve an integer value from ViewState?
Answer

1) myValue = ViewState("myValue")

2) myValue = View("myValue")

3) myValue = CType(ViewState("myValue"), Integer)

4) myValue = CType(View("myValue"), Integer)

i'm stucked on 3, considering how viewstate stores an integar.







Which method should be called on a control in order to bind data to a control after the data source is set?
Answer

DataBind

BindData

DataSet

SetData

for this one i have Binddata

out of 300 question, these 3 are the only one that is throwing me off. Any help would be much appreciated. thanks

Viewing all articles
Browse latest Browse all 42215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>